MonoTouch Port of MBProgressHUD
C#
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits behind detroitpro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MbProgressHud.cs
README

README

Okay, so there's a built-in Progress HUD that looks cool. But it's not documented. So I found one at:
http://github.com/jdg/MBProgressHUD and decided to port it to monotouch.

To use: (I recommend keeping a reference to the object elsewhere in your code, so you can dispose of it properly)

1	var hud = new MBProgressHUD (this.View.Window);
2	hud.Mode = MBProgressHUDMode.Indeterminate;
3	hud.TitleText = "Loading";
4	hud.DetailText = "We'll be back shortly...";
5	this.View.Window.AddSubview(hud);
6	    hud.Show (true);

That's all! It's pretty snazzy, IMO. But the credit all goes to someone who isn't me. Anyhow, here's the source. Note that it's designed to sort of attach to a background process, and that part isn't quite done. However, the Show(animated) and Hide(animated) work just fine. That's enough for me.