tags:

views:

46

answers:

1

In my cocoa app, how can I load/scale my .icns file? In this case, I want to load up my 16x16 image.

+1  A: 

Load it as an NSImage (+imageNamed:), grab one of its NSImageReps (-representations), then call setSize:NSMakeSize(16,16) on it.

Dave DeLong