CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
|
A simple extension of UIButton, intended to facilitate the transfer of a single value to the click handling method. More...
#import <ValueButton.h>
Public Member Functions | |
(id) | - initWithValue: |
Initializer for ValueButton that sets the button value to be the specified object. | |
Properties | |
id | buttonValue |
The value property for this button, eg. |
A simple extension of UIButton, intended to facilitate the transfer of a single value to the click handling method.
Basically allows the click handling method to know what button was clicked. Created by Antti V J Niemela, tkol on 6/17/11. Copyright 2011 University of Helsinki. All rights reserved.
Definition at line 12 of file ValueButton.h.
- (id) initWithValue: | (id) | value |
Initializer for ValueButton that sets the button value to be the specified object.
value | The value for this ValueButton |
Definition at line 17 of file ValueButton.m.
- (id) buttonValue [read, write, retain] |
The value property for this button, eg.
an NSString or NSIndexPath describing what cell was clicked. Whatever you want, basically.
Definition at line 13 of file ValueButton.h.