Rich text in NSLabel

Discussion in 'Mac Programming' started by FredT, Jun 5, 2009.

  1. FredT macrumors newbie

    Mar 28, 2008

    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.

  2. kpua macrumors 6502

    Jul 25, 2006
    Take a look at NSAttributedString (both the Foundation and AppKit Additions reference) and NSTextField (there is no NSLabel class).

Share This Page