Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

skunkworker

macrumors regular
Original poster
Sep 9, 2007
182
20
Hello, I have a editor that I am working on, previously it was singleton shared instance based, but now that I am wanting to have multiple windows open at a time, I need to convert it over to NSDocument.
The document has multiple views all in the same window, and those views need to some how get data from the document regarding certain variables. Whats the best way of doing this?
 
I would suggest reading the docs on NSDocument and NSDocumentController to get a feel for how they work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.