Skip to content

Instantly share code, notes, and snippets.

@migueldeicaza
Created January 31, 2015 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save migueldeicaza/a976eec5a00118883edf to your computer and use it in GitHub Desktop.
Save migueldeicaza/a976eec5a00118883edf to your computer and use it in GitHub Desktop.
public static class ExternalExtensions {
public static void ConfigureAccessory (this EAWiFiUnconfiguredAccessoryBrowser browser, EAWiFiUnconfiguredAccessory accessory, global::MonoTouch.UIKit.UIViewController viewController)
{
if (accessory == null)
throw new ArgumentNullException ("accessory");
if (viewController == null)
throw new ArgumentNullException ("viewController");
MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_IntPtr (browser.Handle, Selector.GetHandle ("configureAccessory:withConfigurationUIOnViewController:"), accessory.Handle, viewController.Handle);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment