I'm trying to sub class the uibutton class and add some extra metheds to it.

If I ceate a class as follows

```
cTest *mTest=[cTest buttonWithType:UIButtonTypeRoundedRect];

```

and call any methed, one i created or allready there, example `[cTest setTitle:@"test" forState: UIControlStateNormal];` crashes. 

my cTest class:

```
#import <Foundation/Foundation.h>

@interface cTest : UIButton { 
    int i;
}

-(void) aTest;

@end

```

code to test the class:

```
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
    [super viewDidLoad];

// this works fine
    UIButton *mBut=[UIButton buttonWithType:UIButtonTypeRoundedRect];
    [mBut setTitle:@"test" forState: UIControlStateNormal];   

// this does NOT  
    cTest *mTest=[cTest buttonWithType:UIButtonTypeRoundedRect];
    [cTest setTitle:@"test" forState: UIControlStateNormal];
    [mTest aTest]; // crashes here does not call my function
}

```

Ted