Posts Tagged: Magical Record

Magical Records: Edit, Add, and Delete Records

This entry is part 5 of 5 in the series Magical Record and NSFetchedResultsController: Core Data Made EasyFirst, we need some buttons to let us perform some actions on the table. Edit your view controller as follows:

Now we need to setup methods for the two buttons. First, lets wire up the¬†addTestRecord method we… Read more »

Magical Record: Simple Core Data

This entry is part 3 of 5 in the series Magical Record and NSFetchedResultsController: Core Data Made EasyInstallation Personally I hate adding libraries by simply dragging and copying files into my code. The mixing between my own code and external libraries can quickly become confusing and difficult to¬†disentangle. My favourite way to add libraries is… Read more »

UITableViewController and NSFetchedResultsController

This entry is part 2 of 5 in the series Magical Record and NSFetchedResultsController: Core Data Made EasyNSFetchedResultsController takes a lot of the work out of managing the display of data returned from a Core Data fetch request. The basic mechanism is to create a fetch request detailing what you are looking for, how to… Read more »

Magical Record and NSFetchedResultsController: Core Data made easy

This entry is part 1 of 5 in the series Magical Record and NSFetchedResultsController: Core Data Made EasyI was pretty happy after building my first iOS app that made extensive use of the Core Data framework. However, in the back of my mind I was sure there was a better way than the ton of… Read more »