CGFloat and 64 Bit
CGFloat and 64 Bit
- Subject: CGFloat and 64 Bit
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 8 Feb 2009 18:52:52 +0700
When I build a Cocoa Project with 32/64 bit, this line gets a warning:
NSSize a = NSMakeSize( 11.2, 22.4);
which went away using:
NSSize a = NSMakeSize( (CGFloat)11.2, (CGFloat)22.4);
Is this the only and correct way to use NSMakeSize() ? Looks kind of
ugly.
A somehow related question:
How does one find out, in which mode (32 vs. 64 bit) an app is running?
Both from inside of an app and from outside (I expected to see
something in Activity Monitor -> Info but did not find any indication).
How does one force a 32/64 bit app to run in 32 or 64 bit?
Probably some line in Info.plist like "prefers 64 bit = YES" but I
cannot find anything in the documentation.
Kind regards,
Gerriet.
_______________________________________________
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