• 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: "No Selection" in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "No Selection" in Core Data


  • Subject: Re: "No Selection" in Core Data
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 25 Jun 2005 18:54:56 -0700


On Jun 25, 2005, at 12:43 PM, J Tichenor wrote:

I'm sure it has something to do with not properly instancing the Budget Entity when the program launches -- I guess my assumption as a programmer is that the Budget entity should automatically instance when the program starts as it must exist
It's not clear what this means. If you haven't set default values in the model, and you haven't done anything else to set property values, then property values are nil or 0.
Well I have set default values, but that doesn't seem to create the instance of Budget.

No, it won't. It's a relationship, not an attribute. You have to explicitly create an instance.

mmalc


_______________________________________________ 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
References: 
 >"No Selection" in Core Data (From: J Tichenor <email@hidden>)
 >Re: "No Selection" in Core Data (From: mmalcolm crawford <email@hidden>)
 >Re: "No Selection" in Core Data (From: J Tichenor <email@hidden>)

  • Prev by Date: Re: Class clusters - infinite loop?
  • Next by Date: How to create CIImage from CGContextRef ?
  • Previous by thread: Re: "No Selection" in Core Data
  • Next by thread: Re: "No Selection" in Core Data
  • Index(es):
    • Date
    • Thread