Hello. I need some help with understanding the concept with the Logger.
Every 2 seconds NSTimer calls the method sayOuch: on the target object called logger which in turn simply logs “Ouch!” to the console.
To make things run faster, @selector allows a lookup of the numerical representation of sayOuch:
in the Logger Class, I’m not understanding this line:
- Why does this method need the NSTimer argument?
- What’s the deal with the *)t portion? What about )*t? Where is the t pointer being used?