Iterates through the cells in the receiver, sending the specified selector to an object for each cell.
Original signature is '- (void)sendAction:(SEL)aSelector to:(id)anObject forAllCells:(BOOL)flag'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Parameters
- aSelector (IntPtr)
- The selector to send to the object for each cell. This must represent a method that takes a single argument: the id of the current cell in the iteration. aSelector’s return value must be a BOOL. If aSelector returns NO for any cell, sendAction:to:forAllCells: terminates immediately, without sending the message for the remaining cells. If it returns YES, sendAction:to:forAllCells: proceeds to the next cell.
- anObject (Id)
- The object that is sent the selector for each cell in the matrix.
- flag (Boolean)
- YES if the method should iterate through all cells in the matrix; NO if it should iterate through just the selected cells in the matrix.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)