• 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: Dictionary not returning objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dictionary not returning objects


  • Subject: Re: Dictionary not returning objects
  • From: Seth Willits <email@hidden>
  • Date: Sun, 15 Apr 2012 11:06:55 -0700

On Apr 15, 2012, at 11:01 AM, Markus Spoettl wrote:

>  [NSDictionary dictionaryWithObjectsAndKeys:
>      kUnitsKey, [NSNumber numberWithDouble:units],
>      kValueKey, [NSNumber numberWithDouble:value],
>      kIsMetricKey, [NSNumber numberWithBool:isMetric],
>      nil];


You have key and object reversed.


--
Seth Willits



_______________________________________________

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: 
 >Dictionary not returning objects (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Dictionary not returning objects
  • Next by Date: activating Delete menu item through binding
  • Previous by thread: Re: Dictionary not returning objects
  • Next by thread: activating Delete menu item through binding
  • Index(es):
    • Date
    • Thread