• 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: Another basic CoreData question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another basic CoreData question


  • Subject: Re: Another basic CoreData question
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 9 Jul 2010 13:27:17 -0700

On 2010 Jul 09, at 07:19, Keary Suska wrote:

> On Jul 9, 2010, at 6:12 AM, Jerry Krinock wrote:
>
>> An interesting question is how this happens in the DepartmentAndEmployees sample code.  When I create a document with an employee, save the file and dump it with sqlite3, it appears that the Employee is related to the Department.  But I looked at that code for a few minutes yesterday and can't see how it happened.  The only time that an Employee is set to a Department or vice versa is in the -paste method, but that doesn't run.  Does anyone know?
>
> Any actions on the employee array controller are manipulating the employees relationship of department, so it is handled automagically by CD. Do you mean other than that?

No wonder I didn't find it.  I only searched the code.  As you noted, Employees' array controller's Content Set is bound to Department Controller.

Foiled again by hidden settings in Interface Builder!  Sometimes I think I should stop using Interface Builder and do everything in code until Apple extends Xcode's Project Find to include xib files._______________________________________________

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

References: 
 >Another basic CoreData question (From: email@hidden)
 >Re: Another basic CoreData question (From: Noah Desch <email@hidden>)
 >Re: Another basic CoreData question (From: Jerry Krinock <email@hidden>)
 >Re: Another basic CoreData question (From: Keary Suska <email@hidden>)

  • Prev by Date: trapping each iteration of run loop?
  • Next by Date: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • Previous by thread: Re: Another basic CoreData question
  • Next by thread: Re: Another basic CoreData question
  • Index(es):
    • Date
    • Thread