1

I'm searching for a library which implements something like Xcode 4's HUD which displays when a build is finished and such things.

Can someone give me a link or some hints how to implement it?

To clarify it, I'm searching for something like MBProgressHUD

Please don't suggest Growl, it's not appropriate for my utilisation.


To clarify it: I'm searching for a Mac OS X (Cocoa/Quartz) library, not for iOS.

jsadfeew
  • 2,247
  • 1
  • 18
  • 25
  • 1
    How isn't it? The Bezel display that comes with Growl is very similar in appearance to the “Build Finished”/“Build Failed” pop-up. What are you looking to do with this in your application that rules out Growl? – Peter Hosey Mar 19 '11 at 00:38
  • Here is similar question (answered): http://stackoverflow.com/questions/5542147/how-to-create-transparent-notification-window – Ibadinov Aug 08 '11 at 17:52

2 Answers2

1

I don't know of any libraries, but it would be fairly straightforward to do it yourself. Create a borderless, non-opaque, floating window and set your own custom NSView subclass as its content view.

You can then use Cocoa's excellent drawing classes to draw the thing. For example [NSBezierPath bezierPathWithRoundedRect] will make a rounded rectangle very easily, then you can fill it with a transparent grey and composite some text and an image with shadows and so on, in a few lines of code.

It's a bit of work, but maybe not as much as you might think.

Nick Moore
  • 15,547
  • 6
  • 61
  • 83
  • `Cocoa With Love` has a tutorial on creating custom shaped windows. So 0.5f alpha and bezier path of rect with rounded corners should do the trick. – Eimantas Mar 19 '11 at 10:38
-1

ATMHud may fit your needs (source).

Piotr Byzia
  • 3,363
  • 7
  • 42
  • 62