Hi all,
I have a document based app which I want to add open and save to, it's just a little text editor so it's nothing major.
The problem is that I'm using a custom NSWindowController class to handle my interface, an instance of which is my `Files Owner'. I can connect to an NSTextView outlet in this class but not in the NSDocument class .
How then do I implement the saving functions so that they write the data from my textView? Can they be implemented in the NSWindowController or is there a way to access the textView? I was thinking maybe I could implement a setter and getter for it...
Thanks in advance for any help,
Mark.
I have a document based app which I want to add open and save to, it's just a little text editor so it's nothing major.
The problem is that I'm using a custom NSWindowController class to handle my interface, an instance of which is my `Files Owner'. I can connect to an NSTextView outlet in this class but not in the NSDocument class .
How then do I implement the saving functions so that they write the data from my textView? Can they be implemented in the NSWindowController or is there a way to access the textView? I was thinking maybe I could implement a setter and getter for it...
Thanks in advance for any help,
Mark.