简体   繁体   中英

CoreData - TableView init with Objects?

It is easy to create tableView with some data already using NSMutableArray and initWithObjects method.

However, is it possible to do the same when using core data?

ie let's say that entity is called MyEntity and Attributes are name and value.

table cell has identifiew myCell.

why don't you just ask your model some Data that you'd put into an NSArray ? It's as easy as that !

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