Re: Weird CGFloat issue
Re: Weird CGFloat issue
- Subject: Re: Weird CGFloat issue
- From: Raffael Cavallaro <email@hidden>
- Date: Sun, 18 Apr 2010 14:16:23 -0400
On Apr 18, 2010, at 1:26 PM, Gideon King wrote:
>
> CGFloat newMin = 150.0f;
> CGFloat newMax = 0.0f;
> [mapContentSubview setMinDimension:newMin andMaxDimension:newMax];
>
> The method is defined as:
>
> - (void)setMinDimension:(CGFloat)newMinDimension andMaxDimension:(CGFloat)newMaxDimension;
Are you taking account of the fact that CGFloat is different on 32 and 64 bit platforms?
typedef float CGFloat;// 32-bit
typedef double CGFloat;// 64-bit
warmest regards,
Ralph
Raffael Cavallaro
email@hidden
_______________________________________________
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