I'm developing an iPhone 3.1.3 application and I have the following header file:
#import <UIKit/UIKit.h>
@interface VoiceTest01ViewController : UIViewController {
IBOutlet UITextView *volumeTextView;
BOOL isListening;
NSTimer *soundTimer;
}
@property (nonatomic, retain) IBOutlet UITextView *volumeTextView;
@property (nonatomic, retain) NSTimer *soundTimer;
- (IBAction)btnStartClicked:(id)sender;
@end
And .m file is:
#import "VoiceTest01ViewController.h"
@implementation VoiceTest01ViewController
@synthesize volumeTextView;
@synthesize soundTimer;
...
How can I set isListening up to false at start?