简体   繁体   中英

pass CoreData ObjectId as a parameter in objective-c?

Can I pass ObjectId as a parameter in my iPad app?

I'd like to pass [MyObject objectID] as my parameter and look up the object based on this in Core Data.

是的,尽管接收对象需要一个NSManagedObjectContext才能再次查找该对象,但是您当然可以做到这一点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM