Re: Vertically Centered Colon
Re: Vertically Centered Colon
- Subject: Re: Vertically Centered Colon
- From: "Eric E. Dolecki" <email@hidden>
- Date: Mon, 28 Nov 2016 15:13:48 +0000
You could probably use an attributed string and add an attribute for the
last colon: NSBaselineOffsetAttributeName
On Mon, Nov 28, 2016 at 10:02 AM Gerriet M. Denkmann <email@hidden>
wrote:
> iOS 10.1.1
>
> WWDC 2015,Session 804: Introducing the New System Fonts tells (at about
> 23:23) about Vertically Centered Colons.
> But I do not understand, how to turn this on.
>
> It works automatically (in SF) with colons surrounded by digits.
>
> But in my case I have “21:37:44” where ““21:37” is bold and “:44” is thin.
> And the ‘:’ in front of “44” is not surrounded by digits. So I want to turn
> this feature on explicitly.
>
> How to do this?
>
> Gerriet.
>
>
> _______________________________________________
>
> 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
_______________________________________________
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