ObjC: Having my application launch a network volume upon launch
Just starting out with ObjC and Xcode.
I would like my application to connect/mount an AFP network volume upon
launch (the credentials are already saved to the keychain of the
computer). I realize that I need to place this code here:
(void)applicationDidFinishLaunching:(NSNotification *)aNotification {
XXX
}
Except Im not quite sure what needs to go here?!
I have learned that FSMountVolume is now deprecated, and it wants to see
NSURL, except Im not sure how to implement this - I'm so new that I am
having a hard time understanding how to read and implement the Xcode
documentation...
Does anyone know of a quick and dirty way to do this?
Thanks in advance for your time!
Dev
No comments:
Post a Comment