site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com How do you set a managed object context outlet in a nib file? --Richard _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... Apple's documentation seems to indicate that if you have an object in a nib with a managed object context outlet, that you can somehow set the outlet. The Core Data Programming Guide states "If you are setting the reference to the context in a nib file, make sure the appropriate outlet or binding is set correctly." http://developer.apple.com/mac/library/documentation/cocoa/conceptual/CoreDa... /apple_ref/doc/uid/TP40002320-SW23 Suppose that I have a custom view with a managed object context outlet and I want to bind it or set it in the nib to the managed object context of the File's Owner which is a subclass of NSPersistantDoument. How would you do this? This email sent to site_archiver@lists.apple.com
participants (1)
-
Richard Somers