• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Data not retained in document based core data app with cocoa bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data not retained in document based core data app with cocoa bindings


  • Subject: Re: Data not retained in document based core data app with cocoa bindings
  • From: Richard Charles <email@hidden>
  • Date: Sat, 10 Oct 2015 23:50:38 -0600

> On Oct 10, 2015, at 12:34 PM, Devarshi Kulshreshtha <email@hidden> wrote:
>
> I am sure that I am missing something over here, looking for guidance.

As instructed by Jerry delete the Document from your storyboard.

Courtesy of Apple and Mike Swan bind the array controller parameters managed object context to the view controller with a model key path of

self.view.window.windowController.document.managedObjectContext

http://stackoverflow.com/questions/28184218/what-is-the-new-way-of-binding-an-nsarraycontroller-to-the-managed-object-contex

Save the document as an xml file. Open with TextEdit and verify that the model data has been saved to disk. The data will be identified with something like id="z103".

Unfortunately when you reopen the document the model data does not display in the table view, so there are more issues to be addressed.

--Richard Charles


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Data not retained in document based core data app with cocoa bindings
      • From: Devarshi Kulshreshtha <email@hidden>
References: 
 >Data not retained in document based core data app with cocoa bindings (From: Devarshi Kulshreshtha <email@hidden>)

  • Prev by Date: Re: Data not retained in document based core data app with cocoa bindings
  • Next by Date: Re: Data not retained in document based core data app with cocoa bindings
  • Previous by thread: Re: Data not retained in document based core data app with cocoa bindings
  • Next by thread: Re: Data not retained in document based core data app with cocoa bindings
  • Index(es):
    • Date
    • Thread