Instance Method make Objects Perform Selector: with Object:
message to each object in the array, starting with the first object and continuing through the array to the last object.
iOS 2.0+ macOS 10.0+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Declaration - ( ) void makeObjectsPerformSelector:( ) SEL aSelector withObject:( ) id argument;
A selector that identifies the message to send to the objects in the array. The method must take a single argument of type id, and must not have the side effect of modifying the receiving array.
The object to send as the argument to each invocation of the
a Selector Discussion
This method raises an
NSInvalid Argument Exception
NULL See Also Sending Messages to Elements - make Objects Perform Selector:
Sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object.
- enumerate Objects Using Block:
Executes a given block using each object in the array, starting with the first object and continuing through the array to the last object.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software