• 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
CoreData, Two Nibs and Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData, Two Nibs and Bindings


  • Subject: CoreData, Two Nibs and Bindings
  • From: Matt Ronge <email@hidden>
  • Date: Wed, 14 Dec 2005 03:29:00 -0600

I've got two nibs right now, one of them contains a preferences window and the other contains the main application window. In my main window, I have bindings connected to the ManagedObjectContext which populate the main window with accounts.

In my preference window you can edit the accounts that exist, so I have a seperate array controller in this nib. In my file owner I have a managedobjectcontext which passes a copy of the managedobjectcontext from the main nib controller. I've hooked up my account controller in the preferences nib to the managedobjectcontext in the file owner.

However, the two don't array controllers don't seem to be in sync even though they are attached to the same managedobjectcontext.

If I add something in the preferences window, it won't show up in the main window. Weirder yet, when the main window shows nothing, the preference window has a row with blank content.

Any thoughts on what I'm doing wrong?

Thanks,
--
Matt Ronge
www.theronge.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: CoreData, Two Nibs and Bindings
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Ignore hide messages sent to my application?
  • Next by Date: Re: CoreData, Two Nibs and Bindings
  • Previous by thread: -dataWithContentsOfFile returning a NSData object, but no file exists?
  • Next by thread: Re: CoreData, Two Nibs and Bindings
  • Index(es):
    • Date
    • Thread