Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Did NSWorkspace change with Tiger?

Did NSWorkspace change with Tiger?
Thread Tools
Dedicated MacNNer
Join Date: Dec 2003
Status: Offline
Reply With Quote
May 10, 2005, 05:47 AM
 
When using NSWorkspace I used to be able to invoke the method [[NSWorkspace sharedWorkspace] mountedRemovableMedia];

and it would return an NSArray* of all my removable drives installed (including my LaCie disk). Now with Tiger it returns nothing. If I use mountedLocalVolumePaths instead of mountedRemovableMedia it returns all mount points, including my removable disks (which is less than ideal, since I only want the removable media). Am I missing something, or has NSWorkspace been changed? If this is unintentional, I will submit a bug report to Apple.
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.

Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
     
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
May 10, 2005, 07:32 PM
 
It's not mentioned in the AppKit release notes, so I'm assuing it's a bug.
[Wevah setPostCount:[Wevah postCount] + 1];
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2