Okay, so it seems that the method Apple recommends for displaying rich text on the iPhone is through using a UIWebView. This is fine and all, except I'd like users to be able to intuitively be able to write and edit rich text.
I'm really at a loss for how I'd go about that. Like...
let's say I set up a UIWebView... and in that I had just a string with some text with a few words bolded.
And then I set up a UIButton for bolding.
What exactly should the button do? Somehow I'd need to figure out what text the user has selected in the UIWebView... and somehow I'll need to figure out how to send a method to bold to the UIWebView...
Wait...
am I going to have to learn how to use JavaScript or something? I was really hoping I wouldn't have to learn an entire new language in addition to Obj-C...
If I have to learn JavaScript, can someone point me in the direction of a few lessons.
And if not, can someone suggest a better method.
I'm really at a loss for how I'd go about that. Like...
let's say I set up a UIWebView... and in that I had just a string with some text with a few words bolded.
And then I set up a UIButton for bolding.
What exactly should the button do? Somehow I'd need to figure out what text the user has selected in the UIWebView... and somehow I'll need to figure out how to send a method to bold to the UIWebView...
Wait...
am I going to have to learn how to use JavaScript or something? I was really hoping I wouldn't have to learn an entire new language in addition to Obj-C...
If I have to learn JavaScript, can someone point me in the direction of a few lessons.
And if not, can someone suggest a better method.