• 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: Getting a handle on inf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a handle on inf


  • Subject: Re: Getting a handle on inf
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 26 Oct 2009 11:31:48 -0700

On Mon, Oct 26, 2009 at 11:26 AM, Ian Piper <email@hidden> wrote:
> STAssertEquals("inf", [newTemperatureInC stringValue], @"Expecting inf; we
> got %s", [newTemperatureInC stringValue]);

-stringValue returns an NSString, you used a %s specifier rather than %@.

--Kyle Sluder
_______________________________________________

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: 
 >Getting a handle on inf (From: Ian Piper <email@hidden>)

  • Prev by Date: Re: Custom NSScroller
  • Next by Date: Re: Custom NSScroller
  • Previous by thread: Getting a handle on inf
  • Next by thread: Re: Getting a handle on inf
  • Index(es):
    • Date
    • Thread