MBProgressHUD binding for MonoTouch
C#
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MonoDevelop Project
.DS_Store
AlexTouch.MBProgressHUD.dll
README.markdown

README.markdown

AlexTouch.MBProgressHUD

This is a MonoTouch Binding for Matej Bukovinski's MBProgressHUD Objective-C library

see more on https://github.com/jdg/MBProgressHUD

Adding AlexTouch.MBProgressHUD to your project

Just add AlexTouch.MBProgressHUD.dll to your project references in MonoDevelop.

  1. Add using AlexTouch.MBProgressHUD; to your c# file

Usage

You can create your hud using c# like this

		var hud = new MBProgressHUD(this.View);
		hud.Mode = MBProgressHUDMode.Determinate;
		hud.LabelText = "Loading...";
		hud.DetailsLabelText = "Some Description here";
		this.View.AddSubview(hud);
		hud.Show(true);

Also you can know when the hud was hidden using the following event

		hud.WasHidden += delegate
		{
			Console.WriteLine("Hud hidden");
		};