views:

33

answers:

1
A: 

Your -initWithCoder: have to call [super initWithCoder:coder].

Also, for consistency, both -initWithCoder: and -initWithFrame: should call the code that installs the timer.

KennyTM
still not working. I have called [super initWithCode:coder and also added timer = ... in initWithFrame method.
coure06
thanks got it working. Create project again from scratch and applied your answer.
coure06