> On Oct 7, 2015, at 4:01 PM, David Hoerl <dho...@mac.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to