Get Started
641

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

  • Show Answer
  • Workspace

Answer :
Explanation :

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.

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today