2
檢索時,我注意到,這條線是造成問題錯誤試圖從核心數據
NSManagedObject *newContact = [NSEntityDescription insertNewObjectForEntityForName:@"Contacts" inManagedObjectContext:context];
錯誤:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NSEntityDescription", referenced from:
objc-class-ref in LoginViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我選中了行並按下CTRL + K給它們編碼外觀:) – 2011-12-24 17:26:19