When I\'m creating an NSThread I pass it a number that I want the process to be aware of. I can understand how to set the number but I cannot figure out how to read the numb
You're specifying your selector wrong:
@selector(startTimerThread) // we are missing ':' at the end
It should have :
at the end, like so:
@selector(startTimerThread:)
This indicates it's a selector which takes one parameter.
Then take in the parameter in your startTimerThread
method:
-(void) startTimerThread:(NSNumber *)myNumber {
// ... etc