• 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: J Tichenor <email@hidden>
  • Date: Sun, 26 Jun 2005 00:12:21 -0700


The template code is just a starting point. What you probably want to do is check the contents of the persistent store after adding it to your application's coordinator. Then if it contains no Budget instances, create an initial one and configure it as appropriate. Where exactly you would do this depends on what type of application you're building (document-based or other) but the way you would do so is the same.



For a document-based example, see:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/04_Department/chapter_5_section_1.html>


mmalc

Hi guys and thanks. Much clearer. This reference is exactly the place I found myself today and am working through the tutorial and will apply lessons learned.


Yes, the differences between instances/composition of objects and entities and their relationships. And where the objects are instanced -- have to be programmatically or user controlled, I'm learning. And slowly learning how to programmatically instance objects within the Core data model... Thx!

J



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40lehopictures.com


This email sent to email@hidden



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

  • Prev by Date: Problem subclassing NSXMLElement
  • Next by Date: Date validation
  • Previous by thread: Re: "No Selection" in Core Data
  • Next by thread: Printing multiple columns
  • Index(es):
    • Date
    • Thread