Home » Interview » Technology

If I call performSelector:withObject:afterDelay: – is the object retained?

Correct Answer: Yes the object is retained It creates a timer that calls a selector on the current threads run loop It may not be 100% precise time-wise as it attempts to dequeue the message from the run loop and perform the selector

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion