On 6 Aug 2009, at 13:32, Mahaboob wrote:
I subclassed the UIButton class like:
@interface MoveButton : UIButton {
BOOL canMove;
}
@property(readwrite) BOOL canMove;
@end
@implementation MoveButton
@synthesize canMove;
My main class contains a number of UIButton outlets.
How can I use this
On 06/08/2009, at 10:32 PM, Mahaboob wrote:
I subclassed the UIButton class like:
@interface MoveButton : UIButton {
BOOL canMove;
}
@property(readwrite) BOOL canMove;
@end
@implementation MoveButton
@synthesize canMove;
My main class contains a number of UIButton outlets.
How can I use
:49 PM, "Graham Cox" wrote:
>
> On 06/08/2009, at 10:11 PM, Mahaboob wrote:
>
>> Is it possible to use accessor methods in category?
>> I need to add one for UIButton class.
>> How can I do it?
>
>
> You can add any methods in a category. What y
On 06/08/2009, at 10:11 PM, Mahaboob wrote:
Is it possible to use accessor methods in category?
I need to add one for UIButton class.
How can I do it?
You can add any methods in a category. What you can't add are
additional ivars, so if the base class doesn't have the iva
Is it possible to use accessor methods in category?
I need to add one for UIButton class.
How can I do it?
Thanks in advance
Mahaboob.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to