• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get a condensed San Francisco UIFont?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [SOLVED] How to get a condensed San Francisco UIFont?
      • From: David Hoerl <email@hidden>
References: 
 >How to get a condensed San Francisco UIFont? (From: David Hoerl <email@hidden>)

  • Prev by Date: How to get a condensed San Francisco UIFont?
  • Next by Date: Re: How to get a condensed San Francisco UIFont?
  • Previous by thread: How to get a condensed San Francisco UIFont?
  • Next by thread: Re: [SOLVED] How to get a condensed San Francisco UIFont?
  • Index(es):
    • Date
    • Thread