0

I am new to Cocoa. I need to build a basic HTML editor in Cocoa. The user will basically will be formatting text etc but he/she does not know that the text will be saved as HTML. Should I be using NSText View or should I be using WebView. Also if there any tutorials are available for building basic HTML editor.

Prashant
  • 2,190
  • 4
  • 33
  • 64

1 Answers1

1

I would use an NSTextView. You can save the text as an NSAttributedString and read from the html file into an NSAttributedString. Here's some info on that to get you started.

edc1591
  • 10,146
  • 6
  • 40
  • 63