• 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 Question 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Question 1


  • Subject: Re: Core Data Question 1
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sun, 24 Aug 2008 21:11:34 -0400

On Sun, Aug 24, 2008 at 6:05 PM, R T <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: Core Data Question 1 (From: R T <email@hidden>)

  • Prev by Date: Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50
  • Next by Date: CFBoolean
  • Previous by thread: Re: Core Data Question 1
  • Next by thread: Application crashing ( Maybe I'm over releasing object? )
  • Index(es):
    • Date
    • Thread