dave

The only one i found was the one for he ipod touch,

enjoy.

//-----------------------------------------------------------------------------
// returns the default iPod Touch icon.
+ (NSImage *) getDefaultiPodTouchIcon{
        
        IconRef iconRef;
OSErr err = GetIconRef (kOnSystemDisk, kSystemIconsCreator, 'ipdt', &iconRef);
        if (!err){
NSImage *image =[[[NSImage alloc] initWithIconRef:iconRef] autorelease];
                ReleaseIconRef(iconRef);
                return image;
        }
        else
                return nil;
}

Sandro Noel.

On 20-Jan-09, at 9:38 AM, Dave wrote:

Hi All,

I would like to something similar which is to display the Icons of iPods. I can get the .icns files for the iPhone and iPod Touch from:

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/

But where to locate the icons for iPods?

Thanks a lot
All the Best
Dave

On 11 Jan 2009, at 19:31, Sandro Noel wrote:

Greetings

I'm looking for a way to programatically get the machine icon from my servers, just like finder does in the finder. for every type of mac it has a different icon, and for windows computers, it;s the nice crash screen icon.

I would like my application to represent the network hosts as finder does.

I looked over the internet but could not find how finder does it.
I did however find the icons in /System/Library/CoreServices/ CoreTypes.bundle/Contents/Resources/

Any suggestions on where to look??

Thank you in advance.
Sandro Noel.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com

This email sent to d...@looktowindward.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/sandro.noel%40mac.com

This email sent to sandro.n...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to