Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nonbreaking spaces in alerts



Use option-space to make the non-breaking spaces. You can't use @"blah" for this, since it's no longer ASCII, but you can load it as a localized string or use stringWithUTF8String or something like that.


On Oct 18, 2005, at 8:33 AM, Paul J. Lucas wrote:

    If I want to display an NSString in an NSAlert, but, for a
    certain phrase, e.g., "Mac OS X", I want the spaces to be
    non-breaking spaces, how do I do that?

- Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jstiles% 40blizzard.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Nonbreaking spaces in alerts (From: "Paul J. Lucas" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.