Re: Getting data from NSOutlineView [solved, kind of...]
Re: Getting data from NSOutlineView [solved, kind of...]
- Subject: Re: Getting data from NSOutlineView [solved, kind of...]
- From: goessly <email@hidden>
- Date: Fri, 16 Dec 2005 12:44:12 +0100
Is it possible that there is no way to access the actual data
managed by Core Data, except within the limited possibilities
provided by bindings? After checking several related topics I'm a
at a complete loss here.
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdFetching.html>
Thanks for the link! Yet I don't quite get how to use those
fetchRequests... for starters: since I'm working from within another
class, [self ...] won't work, will it? So I'll have to get the
managedObjectContext from my NSTreeController, right?
Another problem: I don't want the _sum_ of managed objects to be
queried for certain matches, I need _certain_ properties for each
entry of my treecontroller, traversed top-down in-order.
Like: Is the first Object a parent-node? Give me its value for he key
"title". Get first Child. Is it a leaf-node? Well, instead of title
hand me the value for the key "priority". And so on. How would I do
this using fetch-requests?
Thanks again in advance for any suggestions!
Regards,
goessly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden