Re: How to get a condensed San Francisco UIFont?
Re: How to get a condensed San Francisco UIFont?
- Subject: Re: How to get a condensed San Francisco UIFont?
- From: Jens Alfke <email@hidden>
- Date: Wed, 07 Oct 2015 16:27:06 -0700
> On Oct 7, 2015, at 4:01 PM, David Hoerl <email@hidden> wrote:
>
> then add a "condensed" attribute:
> let fd2 = fd1.fontDescriptorByAddingAttributes[ the magic sauce ]
I haven’t used this API, but from looking at the header, I would try:
let fd2 = fd1.fontDescriptorWithSymbolicTraits(.Condensed)
—Jens
_______________________________________________
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