iconara Registered Jan 11, 2002 #1 I want to be able to drop a file onto my cocoa-app and get a event telling me theUserDroppedAFileOrFolderOnThisAppid)sender how? theo
I want to be able to drop a file onto my cocoa-app and get a event telling me theUserDroppedAFileOrFolderOnThisAppid)sender how? theo
G Ghoser777 Registered Jan 12, 2002 #2 In your application delegate, override this method: Code: public boolean applicaiontOpenFile(NSApplication app, String fileName) HTH, F-bacher
In your application delegate, override this method: Code: public boolean applicaiontOpenFile(NSApplication app, String fileName) HTH, F-bacher
iconara Registered Jan 13, 2002 #3 I assume that in ObjC (as opposed to Java) that would be -(BOOL) applicationOpenFileNSApplication *)file fileNameNSString *)filename am I correct?
I assume that in ObjC (as opposed to Java) that would be -(BOOL) applicationOpenFileNSApplication *)file fileNameNSString *)filename am I correct?
G Ghoser777 Registered Jan 13, 2002 #4 Looks right, but I'd check the NSApplication docs in the delegate section near the bottom to make sure. F-bacher
Looks right, but I'd check the NSApplication docs in the delegate section near the bottom to make sure. F-bacher