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

Re: Core Data Entity object


  • Subject: Re: Core Data Entity object
  • From: R T <email@hidden>
  • Date: Thu, 28 Aug 2008 07:01:05 -0700 (PDT)

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@hidden> wrote:

> From: Kyle Sluder <email@hidden>
> Subject: Re: Core Data Entity object
> To: email@hidden
> Cc: "Cocoa-dev List" <email@hidden>
> Date: Tuesday, August 26, 2008, 5:55 AM
> On Tue, Aug 26, 2008 at 8:43 AM, R T
> <email@hidden> 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 (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 Entity object (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Creating Interface
  • Next by Date: Re: CFBundleIconFile: heiß or hot?
  • Previous by thread: Re: Core Data Entity object
  • Next by thread: Re: Core Data Entity object
  • Index(es):
    • Date
    • Thread