1 Dec 2011 11:25
Drag And Drop Killed By loadNibNamed
Hello all, hope you can help. My application loads a window from a nib and then displays it. This window has a Text View (NSTextView in NSScrollView). When the window is loaded from a nib using: [NSBundle loadNibNamed: <at> "nibfilename" owner:m]; dropping text (using drag and drop) on the NSTextView doesn't work. It doesn't seem to matter how I show the window once I load the nib. Have it show via "Visible At Launch", show using makeKeyAndOrderFront, show using beginSheet. If I copy the window into my main nib show it, then drag and drop works fine. Does anyone have any ideas why the drag and drop is getting killed when I use loadNibNamed. Thank you.
RSS Feed