NSWorkspace
NSWorkspace
- Subject: NSWorkspace
- From: Gilbert Mackall <email@hidden>
- Date: Mon, 12 May 2003 19:50:36 -0400
I am trying to use NSWorkspace to detect and identify iPods. Using the
statement below, I can get an array containing all mounted removable
devices. However, NSWorkspace does not appear to be able to give a
description of the removable devices it detects. Is there a standard
way of detecting iPods if they are already mounted before your app
loads?
NSArray *temp = [[NSWorkspace sharedWorkspace] mountedRemovableMedia];
[sView setString:[temp description]];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.