Re: core data nsarraycontroller for all entities
Re: core data nsarraycontroller for all entities
- Subject: Re: core data nsarraycontroller for all entities
- From: Sean Kline <email@hidden>
- Date: Fri, 21 Aug 2009 07:14:12 -0400
It sounds like this tutorial is doing what you want:
http://themikeswan.wordpress.com/2009/05/22/7/
Regards,
- S
On Fri, Aug 21, 2009 at 5:12 AM, Martin Hewitson <email@hidden
> wrote:
> Dear all,
>
> I'd like to have an NSArrrayController 'collect' all the values of a
> particular attribute from all entities in the managed object array. More
> specifically, I have core-data document based app with a simple model
> containing two entities: an Entry and a Category. The Entry entity has a
> relationship (to-many) called categories which links to the Category entity.
> What I'm aiming for is a pop-up menu on each document that contains all
> categories from all entries in the document (preferably with only unique
> entries). I was hoping to do this in IB with an array controller, but I
> haven't managed to figure out the bindings necessary for that so far.
>
> Does anyone have any suggestions?
>
> Cheers,
>
> Martin
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Martin Hewitson
> Albert-Einstein-Institut
> Max-Planck-Institut fuer
> Gravitationsphysik und Universitaet Hannover
> Callinstr. 38, 30167 Hannover, Germany
> Tel: +49-511-762-17121, Fax: +49-511-762-5861
> E-Mail: email@hidden
> WWW: http://www.aei.mpg.de/~hewitson
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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