Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSNumber vs. CGFloat



I note that CFNumber does appear to have a type for CGFloat values (kCFNumberCGFloatType) but the "basic" NSNumber header does not have an "+ (NSNumber *) numberWithCGFloat: (CGFloat)" method.  

Since CFNumber and NSNumber are toll free bridged, I suppose I can add that mechanism myself with a category, but I was curious to know if such a category already exists somewhere in the headers other than in the NSValue.h file and I'm just missing it.

Scott

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.