• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error accessing timer's userInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >error accessing timer's userInfo (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: error accessing timer's userInfo
  • Next by Date: Re: Unexpected PDFKit behavior in -[PDFPage string]
  • Previous by thread: Re: error accessing timer's userInfo
  • Next by thread: Playlists, Smart Lists and Filters
  • Index(es):
    • Date
    • Thread