|Jul 21, 2013, 04:09 AM||#1|
how to display Entity in table in separated xib
i have an app consisted of two xib.Main and one which has a sheet.
In the main i have textfields and a button.The values form the textfields i store in the file when the button is clicked.
Now i want to display the stored in to the file objects in a tableview in the sheet's xib.
What i do is:
1.Drag a ArrayController in the sheet's xib.
2.Conect the managedObjectContext to File's owner (model key path set to: managedObjectContext)
3.In atribute inspector i set the ArrayController to Entity(in my case Contragents) and tick the Prepare content
4.I select the table and in Table Content bund it to ArrayController (Contoller key: arrangedObjects)
5.Than for every field of the table i set value bind to Array controller(Controller key: arrangedObjects) and model key path set the model's fields.
Unfortunately nothing is displayed in the table.
|arraycontroller, core data, managedobjectcontext, tableview|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How do I tell my app to display the next few table view cells?||moonman239||iPhone/iPad Programming||4||Mar 15, 2014 08:16 PM|
|iBookstore - legal entity name = publisher name?||RichardRi||Mac Applications and Mac App Store||0||Oct 22, 2013 01:56 AM|
|How to navigate from one xib to an uitableview(without xib)||fypj2013||iPhone/iPad Programming||3||Mar 16, 2013 07:23 AM|
|Sent and Trashed Mail separated||scouser75||iCloud and Apple Services||0||Oct 5, 2012 04:52 AM|
|Edge of iPad is separated, help?||desistyle||iPad||9||Aug 31, 2012 01:44 PM|
All times are GMT -5. The time now is 07:55 AM.