Yes, I set up a master/detail view and IB automatically set up the add button...
Enabled:(threeAttributesEntityArrayController.selection) which is described as a multiple-value binding that determines if the NSButton is enabled in the user interface. You wrote: "...master-detail view going on, where you can choose which entity you want to work with on the main window, and then play with its properties on a sheet..." How does this work? Thanks Rick Tschudin PS What I am tryin to do is get an attribute of an entity to appear in 2 separate tableview displays 1. in a document window 2. in a Panel of the document window. I want to make changes in the Panel and have the changes appear in the document window when the panel is closed? --- On Tue, 8/26/08, Kyle Sluder <[EMAIL PROTECTED]> wrote: > From: Kyle Sluder <[EMAIL PROTECTED]> > Subject: Re: Core Data Entity object > To: [EMAIL PROTECTED] > Cc: "Cocoa-dev List" <cocoa-dev@lists.apple.com> > Date: Tuesday, August 26, 2008, 5:55 AM > On Tue, Aug 26, 2008 at 8:43 AM, R T > <[EMAIL PROTECTED]> wrote: > > Actually, there is a choice in the IB Library, under > 'Objects & Controllers" in "Core > Data" called "Core Data Entity" which is used > to assist development of model-driven interface using Cocoa > Bindings. The entity is a NSManagedObject with 3 attributes, > 2 floats & 1 binary data. It has a parent entity and I > want an attribute to appear in both. Both are in > MyDocument.xcdatamodel. The Parent opens correctly on the > MyDocument.xib. This entity with the 3 attributes opens in > the Panel that opens from MyDocument Window, but the add > & remove buttons are not highlighted. Any Ideas? > > Ah. That's doesn't create an entity, as I'm > sure you already knew, > but rather it creates a boilerplate interface for an > entity. > > How are the controls on the sheet bound? This is the > really important > point. It sounds like you have some sort of master-detail > view going > on, where you can choose which entity you want to work with > on the > main window, and then play with its properties on a sheet? > > --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]