Re: Displaying Strings in custom formats
Re: Displaying Strings in custom formats
- Subject: Re: Displaying Strings in custom formats
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Sep 2009 08:11:54 -0700
If you generate HTML you can get better control over formatting using
CSS.
Or you can build the formatted text directly using NSAttributedString,
although this can be a pain.
--Jens {via iPhone}
On Sep 22, 2009, at 7:56 AM, Arun <email@hidden> wrote:
Hi All,
I have a set of lines and needs to display in following format.
================================================
*This is the list which has a*
- the string quality
- the another quality
- the another quality
Now this will explain *some meaning* text in a paragraph with a link
say
www.google.com.
================================================
So what is the better approch?
I have thought of a approches.
1. To read the entire strings from RTF file and dump onto NSTextView.
This i tried and worked fine. Only thing is when the mouse was taken
over
the link, the hand cutsor did not appear. Also it has a drawback
that i
can't configure the colour of link in RTF.
Is there any better approch?
Thanks
Arun KA
_______________________________________________
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
_______________________________________________
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