Prashant
Prashant

Reputation: 2192

Basic HTML editor in Mac

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.

Upvotes: 0

Views: 826

Answers (1)

edc1591
edc1591

Reputation: 10182

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.

Upvotes: 1

Related Questions