• 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: Calling a method on objects in an NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling a method on objects in an NSArray


  • Subject: Re: Calling a method on objects in an NSArray
  • From: Don Rainwater <email@hidden>
  • Date: Thu, 13 May 2004 14:28:01 -0400

Send the array one of these:

- (void)makeObjectsPerformSelector:(SEL)aSelector
or
- (void)makeObjectsPerformSelector:(SEL)aSelector withObject:(id)anObject


On May 13, 2004, at 12:23 PM, David Piasecki wrote:

Is it possible, as in some other languages, to call a method on all objects in an array via one line of code (no loops)?


----
Don Rainwater
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Calling a method on objects in an NSArray (From: "David Piasecki" <email@hidden>)

  • Prev by Date: Re: Is there a regular expression class for Objective C?
  • Next by Date: Re: Cocoa or C++ Database API
  • Previous by thread: Re: Calling a method on objects in an NSArray
  • Next by thread: Re: Calling a method on objects in an NSArray
  • Index(es):
    • Date
    • Thread