Re: error accessing timer's userInfo
Re: error accessing timer's userInfo
- Subject: Re: error accessing timer's userInfo
- From: Graham Cox <email@hidden>
- Date: Sun, 24 Jan 2010 11:48:19 +1100
On 24/01/2010, at 11:33 AM, Chunk 1978 wrote:
> NSUInteger soundID = [[timer userInfo] integerForKey:@"soundID"];
> float targetVolume = [[timer userInfo] floatForKey:@"targetVolume"];
> float duration = [[timer userInfo] floatForKey:@"duration"];
Check the docs for NSDictionary. As you'll see, it does not implement any of these methods. You are confusing it with NSUserDefaults/NSCoder.
--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