예제 #1
0
 public static MBProgressHUD ShowHUDAddedTo(global::UIKit.UIView view, bool animated)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     return(Runtime.GetNSObject <MBProgressHUD> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr_bool(class_ptr, Selector.GetHandle("showHUDAddedTo:animated:"), view.Handle, animated)));
 }
예제 #2
0
 public static EAIntroPage PageWithCustomView(global::UIKit.UIView customV)
 {
     if (customV == null)
     {
         throw new ArgumentNullException("customV");
     }
     return(Runtime.GetNSObject <EAIntroPage> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("pageWithCustomView:"), customV.Handle)));
 }
예제 #3
0
 public static MBProgressHUD HUDForView(global::UIKit.UIView view)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     return(Runtime.GetNSObject <MBProgressHUD> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("HUDForView:"), view.Handle)));
 }
예제 #4
0
 public static bool HideHUDForView(global::UIKit.UIView view, bool animated)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     return(global::ApiDefinition.Messaging.bool_objc_msgSend_IntPtr_bool(class_ptr, Selector.GetHandle("hideHUDForView:animated:"), view.Handle, animated));
 }
예제 #5
0
 public static NSObject[] AllHUDsForView(global::UIKit.UIView view)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     return(NSArray.ArrayFromHandle <NSObject>(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("allHUDsForView:"), view.Handle)));
 }
예제 #6
0
 public static void SetRightInvalidView(this ICCCTextFieldDelegateProxy This, global::UIKit.UIView value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setRightInvalidView:"), value.Handle);
 }
예제 #7
0
 public virtual void ShowInView(global::UIKit.UIView view, global::System.nfloat duration, global::System.nuint initialPageIndex)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nfloat_nuint(this.Handle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr_nfloat_nuint(this.SuperHandle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
 }
예제 #8
0
 public virtual void ShowInView(global::UIKit.UIView view)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("showInView:"), view.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("showInView:"), view.Handle);
     }
 }
예제 #9
0
 public MBProgressHUD(global::UIKit.UIView view)
     : base(NSObjectFlag.Empty)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     IsDirectBinding = GetType().Assembly == global::ApiDefinition.Messaging.this_assembly;
     if (IsDirectBinding)
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("initWithView:"), view.Handle), "initWithView:");
     }
     else
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("initWithView:"), view.Handle), "initWithView:");
     }
 }