David, I put together some helper classes for building NSAttributed strings in specific formats on iOS.
One of the things it handles properly is superscripting. The options for superscripting are to scale the superscripted text and shift above the baseline based on a percentage of the original font's size or to move it a fixed amount. If you or anyone else would like, I'd be happy to share. Email me offline if you'd like me to send. Cheers, Alex Zavatone On Feb 17, 2016, at 9:37 AM, David Hoerl wrote: > >>> Is there a mechanism to do this? Even a gray solid underline that visually >>> aligns the items works too (background image?) >>> >> >> >> Serach the documentation for NSUnderlinePatternDot >> >> —Graham > > Thanks, > > What I had wanted was to place the underline style in the white space between > two items that are tab separated. > > I did find this past weekend that simply applying the style to the tab > character (the style you mention) resulted in the effect I was hoping for. In > hindsight I guess it seems quite rational now. > > Note that patterns also require the specification of a line style (single, > double, etc) - so you must or them together. > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to z...@mac.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com