# SVProgressHUD for Xamarin.iOS

> [SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD) is a clean and easy-to-use HUD meant to display the progress of an ongoing task on iOS and tvOS. 

This binding is for getting it worked on Xamarin.iOS with fully access to all methods.

Update latest native library version [**2.1**](https://github.com/SVProgressHUD/SVProgressHUD)

## Nuget
* `Install-Package SVProgressHUD`
* <https://www.nuget.org/packages/SVProgressHUD>

## Build
* `make`
* Output: `build/SVProgressHUD.dll`

## Usage
* `SVProgressHUD.Show();`
* `SVProgressHUD.Dismiss();`
* `using SVProgressHUDBinding`
* Full documentation: <https://github.com/SVProgressHUD/SVProgressHUD>

# SVProgressHUD for Xamarin.iOS

> [SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD) is a clean and easy-to-use HUD meant to display the progress of an ongoing task on iOS and tvOS. 

This binding is for getting it worked on Xamarin.iOS with fully access to all methods.

Update latest native library version [**2.1**](https://github.com/SVProgressHUD/SVProgressHUD)

## Nuget
* `Install-Package SVProgressHUD`
* <https://www.nuget.org/packages/SVProgressHUD>

## Build
* `make`
* Output: `build/SVProgressHUD.dll`

## Sample Code
```
using System;
using SVProgressHUDBinding;
using UIKit;

namespace DemoHUD
{
	public partial class ViewController : UIViewController
	{
		protected ViewController(IntPtr handle) : base(handle)
		{
			// Note: this .ctor should not contain any initialization logic.
		}

		partial void BtnToggle_TouchUpInside(UIButton sender)
		{
			if (!SVProgressHUD.IsVisible)
			{
				//Show loading indicator
				SVProgressHUD.Show();
			}	else
			{
				//Hide loading indicator
				SVProgressHUD.Dismiss();
			}
		}
	}
}
```
* Full documentation: <https://github.com/SVProgressHUD/SVProgressHUD>

Update Sample Code, use inside UIViewController
Update Sample Code, use inside UIViewController