Re: CoreData-App with NSTableView / NSOutlineView like iPhoto - Problem (newbie)
Re: CoreData-App with NSTableView / NSOutlineView like iPhoto - Problem (newbie)
- Subject: Re: CoreData-App with NSTableView / NSOutlineView like iPhoto - Problem (newbie)
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 26 Dec 2006 05:01:40 -0800
On Dec 26, 2006, at 4:49 AM, email@hidden wrote:
Hello,
I'm trying to build a simple CoreData-App that let's you add and
remove entries in an NSTableView (a flightbook with several fields
like flightnum, date, weather, ...). That worked pretty well without
writing a single row of code. I was amazed...
Now I wanted to add an NSOutlineView at the left side, that let's me
show subgroups of the big bunch of flight entries (like in iPhoto,
e.g. all flights of 2005, 2004 or 2003). You should be able to
create folders in the NSOutlineView (e.g. "flights to usa" or
something like that); when a user selects this folder it should work
like an album in iPhoto or a playlist in iTunes so not the whole
flight library is shown.
How can I achieve this - I thought it should be easy using coredata
and bindings, but i have no clue how (I'm really a newbie to this
and have only read the Hillegass book until now...)
Read up on predicates and fetch requests.
-jcr
John C. Randolph,
VP, Engineering
Stealth Imaging, Inc. <email@hidden>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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