Re: NSTimer with userInfo
Re: NSTimer with userInfo
- Subject: Re: NSTimer with userInfo
- From: Graham Cox <email@hidden>
- Date: Wed, 13 May 2009 00:49:25 +1000
On 13/05/2009, at 12:42 AM, I. Savant wrote:
Now, all I might need to do is to somehow package up the tableView
and the
indexPath and stuff that into something and declare that as the
userInfo?
And what might that look like?
It would look like my previous response suggested. Use those
collection classes (NSDictionary, NSArray, etc.). In your case, I'd
use a dictionary with your table as the key "table", the index path as
key "indexPath", etc.
Normally the object receiving the timer callbacks is a controller that
already knows about those objects, or has direct ways to get them. If
not, you may have a design problem...
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden