Re: Non-breaking hyphen in UILabel?
Re: Non-breaking hyphen in UILabel?
- Subject: Re: Non-breaking hyphen in UILabel?
- From: Rick Mann <email@hidden>
- Date: Fri, 24 Jan 2014 12:43:32 -0800
I didn't mean to suggest it was using Unicode. I meant that several apps treated option-dash and option-space and option-return as non-breaking (the latter referring to page breaks).
Sent from my iPhone
On Jan 24, 2014, at 12:27, Jens Alfke <email@hidden> wrote:
>
> On Jan 24, 2014, at 12:06 PM, Rick Mann <email@hidden> wrote:
>
>>> I see there is such a thing as a nonbreak hyphen (U+2011) but the traditional Mac keyboard never emitted it. Opt-minus is an en dash (U+2013). For visual effect, it may serve your intention, but it does not parse the same.
>>
>> Must be what apps like Word and others did prior to OS X.
>
> Naw. There was almost no usage of Unicode in the classic OS*. Nor was there a decent built-in text layout framework**; any app needing more than totally bare-bones text editing had to do everything itself. Word has always had its own cross-platform editing engine.
>
> (OK, this is off-topic, but today's the 30th anniversary of the Mac, so it's nice to reflect on how far we've come even since 2000!)
>
> —Jens
>
> * In the late '90s there was ATSUI, but I don't think it got much use other than by Web browsers and the JVM.
> ** QuickDraw GX had some single-line-layout APIs but they were much lower-level than NSLayoutManager, plus no one used GX.
_______________________________________________
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