• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting iPod icon, was Getting the network Machine Icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Getting the network Machine Icon (From: Sandro Noel <email@hidden>)
 >Getting iPod icon, was Getting the network Machine Icon (From: Dave <email@hidden>)

  • Prev by Date: Draw NSView over QTMovieView
  • Next by Date: Need click on button in table to NOT activate app
  • Previous by thread: Getting iPod icon, was Getting the network Machine Icon
  • Next by thread: Re: Getting iPod icon, was Getting the network Machine Icon
  • Index(es):
    • Date
    • Thread