• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bind imageView data to NSArrayController objectAtIndex:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: bind imageView data to NSArrayController objectAtIndex:
      • From: "ad veloper" <email@hidden>
References: 
 >bind imageView data to NSArrayController objectAtIndex: (From: "ad veloper" <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: mmalc crawford <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: "Cathy Shive" <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: mmalc crawford <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: "ad veloper" <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: mmalc crawford <email@hidden>)
 >Re: bind imageView data to NSArrayController objectAtIndex: (From: "ad veloper" <email@hidden>)

  • Prev by Date: Re: bind imageView data to NSArrayController objectAtIndex:
  • Next by Date: Re: bind imageView data to NSArrayController objectAtIndex:
  • Previous by thread: Re: bind imageView data to NSArrayController objectAtIndex:
  • Next by thread: Re: bind imageView data to NSArrayController objectAtIndex:
  • Index(es):
    • Date
    • Thread