• 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: "Sean McBride" <email@hidden>
  • Date: Fri, 9 Jul 2010 15:31:19 -0400
  • Organization: Rogue Research Inc.

On Sat, 10 Jul 2010 05:22:46 +1200, email@hidden said:

>Thanks for the help guys. I have this working now, along with the double
>items. Is there any way to avoid/workaround this problem. Or rather
>another way to get a reference to the departments?

The workaround is to not fetch in awakeFromInsert. :(  Say you have a
'Create Employee' push button.  You can implement an action method for
it, and in there a new Employee Managed Object, fetch the Department,
and connect them.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: "Sean McBride" <email@hidden>)
 >Re: Another basic CoreData question (From: email@hidden)

  • Prev by Date: Detecting 'nop' clicks on an NSPopUpButton?
  • Next by Date: trapping each iteration of run loop?
  • Previous by thread: Re: Another basic CoreData question
  • Next by thread: NSXMLParser parses line feeds in attribute strings as spaces
  • Index(es):
    • Date
    • Thread