magicalpanda/MagicalRecord
magicalpanda/MagicalRecord has 10,689 GitHub stars and 1,757 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-14 00:31 UTC. Last push 2021-04-27.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Super Awesome Easy Fetching for Core Data!
학습README.md
Original
MagicalRecord
In software engineering, the active record pattern is a design pattern found in software that stores its data in relational databases. It was named by Martin Fowler in his book Patterns of Enterprise Application Architecture. The interface to such an object would include functions such as Insert, Update, and Delete, plus properties that correspond more-or-less directly to the columns in the underlying database table.
Active record is an approach to accessing data in a database. A database table or view is wrapped into a class; thus an object instance is tied to a single row in the table. After creation of an object, a new row is added to the table upon save. Any object loaded gets its information from the database; when an object is updated, the corresponding row in the table is also updated. The wrapper class implements accessor methods or properties for each column in the table or view.
MagicalRecord was inspired by the ease of Ruby on Rails' Active Record fetching. The goals of this code are:
- Clean up my Core Data related code
- Allow for clear, simple, one-line fetches
- Still allow the modification of the NSFetchRequest when request optimizations are needed
Status of the project
This project's activity has stopped, superseded by Core Data itself. Our latest versions available are:
- MagicalRecord 2.4.0, a stable version, available from tag '2.4.0' or
pod 'MagicalRecord', :git => 'https://github.com/magicalpanda/MagicalRecord'. - MagicalRecord 3.0.0, an experimental version, available in two flavors, one is branch
release/3.0and the other is branchmaintenance/3.0.
Documentation
- Installation
- Getting Started
- Working with Managed Object Contexts
- Creating Entities
- Deleting Entities
- Fetching Entities
- Saving Entities
- Importing Data
- Logging
Support
This project's activity has stopped. MagicalRecord is provided as-is, free of charge. For support, you have a few choices:
- Ask your support question on Stack Overflow, and tag your question with MagicalRecord.
- If you believe you have found a bug in MagicalRecord, please submit a support ticket on the GitHub Issues page for MagicalRecord or a pull request. Please do NOT ask general questions on the issue tracker. Support questions will be closed unanswered.
- For more personal or immediate support, MagicalPanda is available for hire to consult on your project.
관련 프로젝트 살펴보기
sindresorhus/awesome
😎 온갖 흥미로운 주제에 관한 Awesome 목록 [참고: 기존 풀 리퀘스트를 따라잡을 여유가 생길 때까지 풀 리퀘스트가 일시적으로 비활성화되어 있습니다]
536,587 스타EbookFoundation/free-programming-books
:books: 무료로 이용할 수 있는 프로그래밍 도서
401,569 스타nilbuild/developer-roadmap
개발자의 커리어 성장을 돕는 인터랙티브 로드맵, 가이드 및 기타 교육 콘텐츠.
371,976 스타vinta/awesome-python
“Python으로 X를 하고 싶은데, 어떤 도구를 써야 할까?”에 답하는 결정판 목록.
334,630 스타