Drag And Drop Killed By loadNibNamed
SD <macosxdevlist-LS+HbC+WUqxt2bImrQXijVaTQe2KTcn/@public.gmane.org> Thu, 1 Dec 2011 02:25:57 -0800
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <p06240800cafd04fa2f06@[172.16.32.166]> |
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:@"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.