4

I'm writing a status bar application for OS X and I want to use an animated 'loading' gif as the icon when waiting to download a file.

Passing the gif in an NSImage to the setImage: method of the NSStatusItem set the status bar icon as the first frame of the image, but was not animated. I put the NSImage in an NSImageView and passed that to the setView: method but then the status item didn't show up at all.

How can I do this?

Rob Lourens
  • 15,081
  • 5
  • 76
  • 91

1 Answers1

3

you might wanna use the NSProgressIndicator of spinner style and use setView to it. I'm having the same problem as you.

han
  • 531
  • 5
  • 18