Re: bind imageView data to NSArrayController objectAtIndex:
Re: bind imageView data to NSArrayController objectAtIndex:
- Subject: Re: bind imageView data to NSArrayController objectAtIndex:
- From: mmalc crawford <email@hidden>
- Date: Tue, 14 Aug 2007 12:07:53 -0700
On Aug 14, 2007, at 11:55 AM, ad veloper wrote:
Because it's the imageView that provides the selectionIndex
It's not clear what this means. How does the image view set the
selection index?
Employee's have an attribute called imageAsData, which at the moment
is a binary (NSData) attribute, this attribute is being used to
populate the imageViews.
So, drag and dropping on the imageView's populates, or replaces the
imageAsData attribute for that employee. A change in the company and
the imageViews reflect the new relationship and so on.
Does that make sense?
Yes, but it doesn't explain why you need to use objectAtIndex:.
Is it the case that you have a fixed number of image views and you
want the first one to display the image associated with the first
selected employee, the second with the second selected employee etc?
mmalc
_______________________________________________
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