• 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: Binding questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding questions


  • Subject: Re: Binding questions
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 10 Nov 2004 18:58:52 -0800


On Nov 10, 2004, at 6:33 PM, Tim Lucas wrote:

Attach it to an action that loops through your array of objects and sets the checked state on each.
You can do this in one line with KVC:
	[theArray setValue:aNumber forKey:@"<checkAttribute>"];
Again, great stuff! Wasn't aware KVC calls acted upon an entire collections of objects.

An omission in the documentation, perhaps...

I'm guessing this functionality is provided in NSArray (and NSMutableArray) in their setValue methods?

Correct.

mmalc
_______________________________________________
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


References: 
 >Binding questions (From: Eric Forget <email@hidden>)
 >Re: Binding questions (From: Scott Stevenson <email@hidden>)
 >Re: Binding questions (From: mmalcolm crawford <email@hidden>)
 >Re: Binding questions (From: Tim Lucas <email@hidden>)

  • Prev by Date: Re: Binding questions
  • Next by Date: printer info
  • Previous by thread: Re: Binding questions
  • Next by thread: Re: Binding questions
  • Index(es):
    • Date
    • Thread