MagicalRecord-Example-App
MagicalRecord-Example-App copied to clipboard
How did you use MagicalRecord method in AppDelegate without importing it ?
I have seen this below code in this sample project, you have only imported "#import "PersonTableViewController.h"" and then in didFinishLaunchingWithOptions method [MagicalRecord setupAutoMigratingCoreDataStack];
I don't understand how do we access MagicalRecord Class without importing it ?
kindly help
Hi,
sorry for the late reply. MagicalRecord is actually being pulled in in the MagcalRecord Example-Prefix.pch
pre-compile header file.
This way MagicalRecord is made available in every class automatically, without having to explicitly import it in every one.