• 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
Getting a file's icon > 32x32 (I want 128x128)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting a file's icon > 32x32 (I want 128x128)


  • Subject: Getting a file's icon > 32x32 (I want 128x128)
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Tue, 29 Jan 2002 08:13:09 -0200

>Date: Mon, 28 Jan 2002 15:21:43 -0800
>From: Brant Vasilieff <email@hidden>
>
>Both NSFileWrapper's icon method and NSWorkspace's iconForFile: return
>an image that is only 32x32.
>
> _image = [[fileWrapper icon] retain];
>or
> _image = [[[NSWorkspace sharedWorkspace] iconForFile:inPath] retain];
>
>I'd like to be able to get the 128x128 versions of the file's icon.
>This is very puzzling.

_image = [[[NSWorkspace sharedWorkspace] iconForFile:inPath] retain];
[_image setSize:NSMakeSize(128,128)];

--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)


  • Prev by Date: Re: How ATTRACTIVE is CoCoa development?
  • Next by Date: Re: theoretical idea - would this work?
  • Previous by thread: Re: Getting a file's icon > 32x32 (I want 128x128)
  • Next by thread: Re: Limitations on Carbon plugins in Cocoa app?
  • Index(es):
    • Date
    • Thread