Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whats wrong with my code?



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.


References: 
 >Whats wrong with my code? (From: Luke Sands <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.