Accessing objects two ways in an object hierarchy
Accessing objects two ways in an object hierarchy
- Subject: Accessing objects two ways in an object hierarchy
- From: Per Ohlson <email@hidden>
- Date: Mon, 5 Jan 2009 09:15:12 +0100
I have a relationship similar to the following model in my program:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Art/object_graph.gif
To access the objects corresponding to the collection of "employees"
from the "department", I just iterate through the collection and fetch
the object.
But what is the best way to access the "department" from an "employee"?
_______________________________________________
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