On 2006-07-27 10:31, Cameron Hayne said:
>> NSSize size = [self bounds].size;
>> NSLog(@"%i", size.height);
>
>The width & height are floats, not integers.
And incase you wonder why gcc did not warn you about this (assuming you
are even using -Wformat), the warning only works for printf/scanf not
NSLog or any other function. :(
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden