How do I see if something is getting touched?
Posted
by Nathan
on Stack Overflow
See other posts from Stack Overflow
or by Nathan
Published on 2010-06-08T17:04:22Z
Indexed on
2010/06/09
20:22 UTC
Read the original article
Hit count: 261
objective-c
Is there some way in objective C to see if an instance is being touched such as:
- (void)viewDidLoad {
[super viewDidLoad];
if (recordButton.touched = YES) {
NSLog (@"record button got touched");
}
}
Can't they just make these things easy?
Could someone help?
© Stack Overflow or respective owner