public static Grid Grid(this UIView view) { var v = MaterialObjC.AssociatedObject(view.Handle, sGridKey.Handle, () => { return(new Grid(view).Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as Grid); }
public static PageTabBarItem PageTabBarItem(this UIViewController viewController) { var v = MaterialObjC.AssociatedObject(viewController.Handle, sPageTabBarItemKey.Handle, () => { return(new PageTabBarItem().Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as PageTabBarItem); }
public static Divider Divider(this UIView view) { var v = MaterialObjC.AssociatedObject(view.Handle, sDividerKey.Handle, () => { return(new Divider(view).Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as Divider); }
public static Layout Layout(this UIView view) { var v = MaterialObjC.AssociatedObject(view.Handle, sLayoutKey.Handle, () => { return(new Layout(view).Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as Layout); }
public static NavigationItem NavigationItem(this UINavigationItem view) { var v = MaterialObjC.AssociatedObject(view.Handle, sMaterialAssociatedObjectNavigationItemKey.Handle, () => { return(new NavigationItem().Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as NavigationItem); }
internal static MaterialLayer MaterialLayer(this CALayer layer) { var v = MaterialObjC.AssociatedObject(layer.Handle, sMaterialLayerKey.Handle, () => { return(new MaterialLayer(layer).Handle); }); return(ObjCRuntime.Runtime.GetNSObject(v) as MaterialLayer); }
public static void SetPageTabBarItem(this CALayer layer, PageTabBarItem value) { MaterialObjC.MaterialAssociatedObject(layer.Handle, sPageTabBarItemKey.Handle, value.Handle); }
public static void SetDivider(this UIView view, Divider value) { MaterialObjC.MaterialAssociatedObject(view.Handle, sDividerKey.Handle, value.Handle); }
public static void SetNavigationItem(this UINavigationItem view, NavigationItem value) { MaterialObjC.MaterialAssociatedObject(view.Handle, sMaterialAssociatedObjectNavigationItemKey.Handle, value.Handle); }
internal static void SetMaterialLayer(this CALayer layer, MaterialLayer value) { MaterialObjC.MaterialAssociatedObject(layer.Handle, sMaterialLayerKey.Handle, value.Handle); }