I have a spreadsheet view I added a UIButton
in each cell of spreadsheet I want to get the row
and column
value on click action of that button .
Asked
Active
Viewed 59 times
1
-
Using a table or collection view? – Wain Jul 04 '14 at 07:14
1 Answers
2
To handle this, Usually I create a subclass of UIButton and set property of NSInteger row and NSInteger column.
@interface TableButton : UIButton
@property (nonatomic, assign) NSInteger row;
@property (nonatomic, assign) NSInteger column;
@end

Ryan
- 4,799
- 1
- 29
- 56