Re: Getting iPod icon, was Getting the network Machine Icon
Re: Getting iPod icon, was Getting the network Machine Icon
- Subject: Re: Getting iPod icon, was Getting the network Machine Icon
- From: Sandro Noel <email@hidden>
- Date: Tue, 20 Jan 2009 13:20:58 -0500
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden