If I call performSelector:withObject:afterDelay: – is the object retained?
If I call performSelector:withObject:afterDelay: – is the object retained?
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.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website