Re: drag and drop form NSViewController or NSView subclass

2009-12-07 Thread Gustavo Pizano
HEHEH ok.. I have realized that it can't be done through the NSViewController but its view... G. On Dec 7, 2009, at 2:38 PM, Gustavo Pizano wrote: > Hello. > > Sorry I have answered my own question, I can use the NSViewController, but to > register the types I must do it in the view of the c

Re: drag and drop form NSViewController or NSView subclass

2009-12-07 Thread Gustavo Pizano
Hello. Sorry I have answered my own question, I can use the NSViewController, but to register the types I must do it in the view of the controller, even if I do [[self view] registerForDraggedTypes: ] for the rest of the dragging destination methods it seems I can use the NSViewcontroller...

drag and drop form NSViewController or NSView subclass

2009-12-07 Thread Gustavo Pizano
Hello.. I implemented in the past drag and drop, but I did it from within the sub classes of NSView, Im wondering if I can do the same from within the NSViewControllers that control the view.. what implications it has? what you recommend best? Thanks Gustavo __