• 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: Core Data: How do I populate detail entities (tables) programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: How do I populate detail entities (tables) programmatically?


  • Subject: Re: Core Data: How do I populate detail entities (tables) programmatically?
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 11 Dec 2005 11:13:08 -0800


On Dec 11, 2005, at 10:53 AM, Frederick C. Lee wrote:

I know how to populate the master table (e.g., the Country entity). But how do I populate a dependent table (e.g., the City entity)?

See <http://developer.apple.com/documentation/Cocoa/Conceptual/ CoreData/Articles/cdUsingMOs.html> and <http://developer.apple.com/ documentation/Cocoa/Conceptual/CoreData/Articles/ cdRelationships.html#//apple_ref/doc/uid/TP40001857-SW3>.


- (void)addNewEntry {
[[managedObjectContext undoManager] disableUndoRegistration];

Why are you disabling undo registration?

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: 
 >Core Data: How do I populate detail entities (tables) programmatically? (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: troubles with a progress bar updating
  • Next by Date: Re: Setters, Getters and efficiency
  • Previous by thread: Core Data: How do I populate detail entities (tables) programmatically?
  • Next by thread: Unclear on -makeWindowControllers in doc-based app
  • Index(es):
    • Date
    • Thread