On Tue, May 12, 2009 at 10:21 AM, Eric E. Dolecki <edole...@gmail.com> wrote:


>        // What do I use for userInfo?
>
> [NSTimer scheduledTimerWithTimeInterval:0.3 target:self selector:@selector(
> onTimer) userInfo:nil repeats:NO];

  ... any object you want. A dictionary? A row number wrapped in an
NSNumber? A custom object?

  The documentation for the method you're using defines the "userInfo"
argument as type "id", which means "any object".

--
I.S.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to