On Sun, Aug 24, 2008 at 6:05 PM, R T <[EMAIL PROTECTED]> wrote: > So I think that the NSManagedObjectContext *moc is the property of the > document that the sheet needs. How can amtSheetWindowController be > initialized with this property? How can I bind amtSheetTableController in the > XIB file ?
Create a readonly MOC property (which I'll call managedObjectContext) and bind whatever controller is in your sheet's nib to File's Owner > document > managedObjectContext. --Kyle Sluder _______________________________________________ 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/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]