0

I created an outlet property for NSTextView in an window controller file. I then created a separate window xib file with a NSTextView in it. How do I link the view object in the xib file to the outlet in the window controller file?

Vishal Pawar
  • 4,324
  • 4
  • 28
  • 54
Standstill
  • 399
  • 4
  • 17

1 Answers1

1

Change the class of the file's owner in your xib file to be that of your window controller file, then the outlet will show up under the file's owner, and you can connect it from there.

rdelmar
  • 103,982
  • 12
  • 207
  • 218