Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

FredT

macrumors newbie
Original poster
Mar 28, 2008
18
0
Hi,

I need to display superscript text (exponents) in an NSLabel object. Is there any way I can do this? I've read about using RTF or HTML in NSLabel, but I'm new at Cocoa/Mac Programming and I can't seem to figure it out.

Thanks
 

kpua

macrumors 6502
Jul 25, 2006
294
0
Take a look at NSAttributedString (both the Foundation and AppKit Additions reference) and NSTextField (there is no NSLabel class).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.