oops, yes. typo (0x%X)

J.

On 2012-02-13, at 1:21 AM, Uli Kusterer wrote:

> On 13.02.2012, at 02:54, James Maxwell wrote:
>> NSLog(@"%@", [obj hash])
> 
> I hope this is a typo. %@ expects an object, while -hash returns an integer. 
> If you're lucky, this will crash, or just output garbage. Your compiler 
> should be warning you about that line.
> 
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> 
> 
> 

------------------------------------------------------
James B. Maxwell
Composer/Researcher/PhD Candidate






_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to