Custom class deallocated as soon as the app starts.
- by Tangrs
Heya,
I've added a class object to the nib file. All connections are made.
But for some reason, the object is deallocated as soon as it's created.
Here's the code:
control.h:
#import <Foundation/Foundation.h>
@interface control : NSObject
{
IBOutlet UILabel *PlayerScore;
}
-(IBAction) addPoint: sender;
-(void) dealloc;
@end
…