keighl / Rich

OS X application demonstrating custom rich-text controls
5 stars 1 forks source link

Quick Question #1

Open cliftonlabrum opened 6 years ago

cliftonlabrum commented 6 years ago

Hey, this has been super helpful. Thank you!

I have a question for you. Does any of this functionality require that it be inside an NSDocument? I'm trying to embed the NSTextView in an NSViewController and I'm wondering if that will work or not.

Thanks!

keighl commented 6 years ago

Hey @cliftonlabrum, glad this thing was useful for you! Should be totally fine. It's been a long time since I've looked at this, but off the top of my head the main thing you would change is where the undo-manager comes from, and obviously how you persist the data.