The documentation for this autoreleased method:
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds
target:(id)target selector:(SEL)aSelector userInfo:(id)userInfo
repeats:(BOOL)repeats
states: "If repeats is NO, the timer will be invalidated after it
fires."
If I call this autoreleased method, and set repeats to YES, does that
imply I do not need to retain the object if I want to invalidate it
later? In other words, is this autoreleased method autoreleased only
when repeats is NO, otherwise it is not autoreleased?
Just want to make sure I understand it correctly. Thanks in advance!
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]