I've been playing with Core Data and the syntax I use to access a Core Data attribute. In Mac OS X 10.4 I used syntax like:
[a valueForKeyPath @"b.selection.c"]
where b is a NSObjectController bound to a Core Data entity with Cocoa Bindings and c is an attribute of that entity. In Mac OS X 10.5 I'm able to define
@property (retain) NSObjectController *b;
and now I can use syntax like:
[a.b.selection valueForKey @"c"]
Is there any way to take the last step so that I can use syntax like:
a.b.selection.c
to access the same attribute? Do I have to subclass NSObjectController and NSManagedObject?
Thanks,
John
_______________________________________________

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]

Reply via email to