Re: Whats wrong with my code?
Re: Whats wrong with my code?
- Subject: Re: Whats wrong with my code?
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 30 Oct 2001 16:15:40 -0800
On Tuesday, October 30, 2001, at 03:55 PM, Luke Sands wrote:
Cocoa Experts!
Sorry to keep asking, simple I'm sure, questions but what the hells
wrong with my code.....
- (IBAction)myAction:(id)sender
{ NSString *path = @"/Volumes/Hannibal";
[[NSWorkspace sharedWorkspace]
unmountAndEjectDeviceAtPath:path];
}
@end
What happens when you try passing the /dev entry instead?
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.