Nevertheless, the default object inside UILabel.font seems to be a CTFont, so 
I'm very puzzled.

On Jul 15, 2013, at 18:41 , Nick Zitzmann <[email protected]> wrote:

> 
> On Jul 15, 2013, at 6:58 PM, Rick Mann <[email protected]> wrote:
> 
>> Are a UIFont and CTFont the same thing? Seems like it, in that my UILabel's 
>> default font property contains a CTFont. But if I try to access the 
>> fontName, I get an exception.
> 
> While the documentation does state that NSFont and CTFontRef are toll-free 
> bridged, I don't see any official documentation stating that UIFont and 
> CTFontRef are toll-free bridged, so I'm pretty sure the answer is no.
> 
> Nick Zitzmann
> <http://www.chronosnet.com/>
> 


-- 
Rick




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to