Re: Core Data: How do I populate detail entities (tables) programmatically?
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