Open Multiple Files
Open Multiple Files
- Subject: Open Multiple Files
- From: Richard Somers <email@hidden>
- Date: Wed, 29 Sep 2010 16:21:41 -0600
I need to know how many files the user is attempting to open.
The NSApplicationDelegate Protocol has this method.
- (void)application:(NSApplication *)sender openFiles:(NSArray
*)filenames
Just count the number of items in the array and then re-route the call
for continued processing. But re-routing the call using super will not
work because this is a delegate method. You can't send it back to
NSApp because it has no methods for opening files.
Does anyone know how this could be easily done?
--Richard Somers
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden