Re: Unrecognized selector -[UIFont fontName]?
Re: Unrecognized selector -[UIFont fontName]?
- Subject: Re: Unrecognized selector -[UIFont fontName]?
- From: Rick Mann <email@hidden>
- Date: Mon, 15 Jul 2013 18:48:23 -0700
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@hidden> wrote:
>
> On Jul 15, 2013, at 6:58 PM, Rick Mann <email@hidden> 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@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