|
| 1 | +using System; |
| 2 | +using CoreGraphics; |
| 3 | +using Foundation; |
| 4 | +using ObjCRuntime; |
| 5 | +using System.Drawing; |
| 6 | +using UIKit; |
| 7 | + |
| 8 | +namespace SWRevealViewControllerMaui { |
| 9 | + |
| 10 | + [BaseType (typeof (UIViewController))] |
| 11 | + public partial interface SWRevealViewController |
| 12 | + { |
| 13 | + [Export ("initWithRearViewController:frontViewController:")] |
| 14 | + IntPtr Constructor (UIViewController rearViewController, UIViewController frontViewController); |
| 15 | + |
| 16 | + [Export ("rearViewController", ArgumentSemantic.Retain)] |
| 17 | + UIViewController RearViewController { get; set; } |
| 18 | + |
| 19 | + [Export ("setRearViewController:animated:")] |
| 20 | + void SetRearViewController (UIViewController rearViewController, bool animated); |
| 21 | + |
| 22 | + [Export ("rightViewController", ArgumentSemantic.Retain)] |
| 23 | + UIViewController RightViewController { get; set; } |
| 24 | + |
| 25 | + [Export ("setRightViewController:animated:")] |
| 26 | + void SetRightViewController (UIViewController rightViewController, bool animated); |
| 27 | + |
| 28 | + [Export ("frontViewController", ArgumentSemantic.Retain)] |
| 29 | + UIViewController FrontViewController { get; set; } |
| 30 | + |
| 31 | + [Export ("setFrontViewController:animated:")] |
| 32 | + void SetFrontViewController (UIViewController frontViewController, bool animated); |
| 33 | + |
| 34 | + [Export ("pushFrontViewController:animated:")] |
| 35 | + void PushFrontViewController (UIViewController frontViewController, bool animated); |
| 36 | + |
| 37 | + [Export ("frontViewPosition")] |
| 38 | + FrontViewPosition FrontViewPosition { get; set; } |
| 39 | + |
| 40 | + [Export ("setFrontViewPosition:animated:")] |
| 41 | + void SetFrontViewPosition (FrontViewPosition frontViewPosition, bool animated); |
| 42 | + |
| 43 | + [Export ("revealToggleAnimated:")] |
| 44 | + void RevealToggleAnimated (bool animated); |
| 45 | + |
| 46 | + [Export ("rightRevealToggleAnimated:")] |
| 47 | + void RightRevealToggleAnimated (bool animated); |
| 48 | + |
| 49 | + [Export ("revealToggle:")] |
| 50 | + void RevealToggle (NSObject sender); |
| 51 | + |
| 52 | + [Export ("rightRevealToggle:")] |
| 53 | + void RightRevealToggle (NSObject sender); |
| 54 | + |
| 55 | + [Export ("panGestureRecognizer")] |
| 56 | + UIPanGestureRecognizer PanGestureRecognizer { get; } |
| 57 | + |
| 58 | + [Export ("tapGestureRecognizer")] |
| 59 | + UITapGestureRecognizer TapGestureRecognizer { get; } |
| 60 | + |
| 61 | + [Export ("rearViewRevealWidth")] |
| 62 | + float RearViewRevealWidth { get; set; } |
| 63 | + |
| 64 | + [Export ("rightViewRevealWidth")] |
| 65 | + float RightViewRevealWidth { get; set; } |
| 66 | + |
| 67 | + [Export ("rearViewRevealOverdraw")] |
| 68 | + float RearViewRevealOverdraw { get; set; } |
| 69 | + |
| 70 | + [Export ("rightViewRevealOverdraw")] |
| 71 | + float RightViewRevealOverdraw { get; set; } |
| 72 | + |
| 73 | + [Export ("rearViewRevealDisplacement")] |
| 74 | + float RearViewRevealDisplacement { get; set; } |
| 75 | + |
| 76 | + [Export ("rightViewRevealDisplacement")] |
| 77 | + float RightViewRevealDisplacement { get; set; } |
| 78 | + |
| 79 | + [Export ("draggableBorderWidth")] |
| 80 | + float DraggableBorderWidth { get; set; } |
| 81 | + |
| 82 | + [Export ("bounceBackOnOverdraw")] |
| 83 | + bool BounceBackOnOverdraw { get; set; } |
| 84 | + |
| 85 | + [Export ("bounceBackOnLeftOverdraw")] |
| 86 | + bool BounceBackOnLeftOverdraw { get; set; } |
| 87 | + |
| 88 | + [Export ("stableDragOnOverdraw")] |
| 89 | + bool StableDragOnOverdraw { get; set; } |
| 90 | + |
| 91 | + [Export ("stableDragOnLeftOverdraw")] |
| 92 | + bool StableDragOnLeftOverdraw { get; set; } |
| 93 | + |
| 94 | + [Export ("presentFrontViewHierarchically")] |
| 95 | + bool PresentFrontViewHierarchically { get; set; } |
| 96 | + |
| 97 | + [Export ("quickFlickVelocity")] |
| 98 | + float QuickFlickVelocity { get; set; } |
| 99 | + |
| 100 | + [Export ("toggleAnimationDuration")] |
| 101 | + double ToggleAnimationDuration { get; set; } |
| 102 | + |
| 103 | + [Export ("replaceViewAnimationDuration")] |
| 104 | + double ReplaceViewAnimationDuration { get; set; } |
| 105 | + |
| 106 | + [Export ("frontViewShadowRadius")] |
| 107 | + float FrontViewShadowRadius { get; set; } |
| 108 | + |
| 109 | + [Export ("frontViewShadowOffset", ArgumentSemantic.Assign)] |
| 110 | + SizeF FrontViewShadowOffset { get; set; } |
| 111 | + |
| 112 | + [Export ("frontViewShadowOpacity")] |
| 113 | + float FrontViewShadowOpacity { get; set; } |
| 114 | + |
| 115 | + [Export ("delegate", ArgumentSemantic.Assign)] |
| 116 | + SWRevealViewControllerDelegate Delegate { get; set; } |
| 117 | + } |
| 118 | + |
| 119 | + [Model, BaseType (typeof (NSObject))] |
| 120 | + public partial interface SWRevealViewControllerDelegate |
| 121 | + { |
| 122 | + [Export ("revealController:willMoveToPosition:")] |
| 123 | + void WillMoveToPosition (SWRevealViewController revealController, FrontViewPosition position); |
| 124 | + |
| 125 | + [Export ("revealController:didMoveToPosition:")] |
| 126 | + void DidMoveToPosition (SWRevealViewController revealController, FrontViewPosition position); |
| 127 | + |
| 128 | + [Export ("revealController:animateToPosition:")] |
| 129 | + void AnimateToPosition (SWRevealViewController revealController, FrontViewPosition position); |
| 130 | + |
| 131 | + [Export ("revealControllerPanGestureShouldBegin:")] |
| 132 | + bool PanGestureShouldBegin (SWRevealViewController revealController); |
| 133 | + |
| 134 | + [Export ("revealControllerTapGestureShouldBegin:")] |
| 135 | + bool TapGestureShouldBegin (SWRevealViewController revealController); |
| 136 | + |
| 137 | + [Export ("revealControllerPanGestureBegan:")] |
| 138 | + void PanGestureBegan (SWRevealViewController revealController); |
| 139 | + |
| 140 | + [Export ("revealControllerPanGestureEnded:")] |
| 141 | + void PanGestureEnded (SWRevealViewController revealController); |
| 142 | + |
| 143 | + [Export ("revealController:panGestureBeganFromLocation:progress:")] |
| 144 | + void PanGestureBeganFromLocation (SWRevealViewController revealController, float location, float progress); |
| 145 | + |
| 146 | + [Export ("revealController:panGestureMovedToLocation:progress:")] |
| 147 | + void PanGestureMovedToLocation (SWRevealViewController revealController, float location, float progress); |
| 148 | + |
| 149 | + [Export ("revealController:panGestureEndedToLocation:progress:")] |
| 150 | + void PanGestureEndedToLocation (SWRevealViewController revealController, float location, float progress); |
| 151 | + |
| 152 | + [Export ("revealController:willAddViewController:forOperation:animated:")] |
| 153 | + void WillAddViewController (SWRevealViewController revealController, UIViewController viewController, SWRevealControllerOperation operation, bool animated); |
| 154 | + |
| 155 | + [Export ("revealController:didAddViewController:forOperation:animated:")] |
| 156 | + void DidAddViewController (SWRevealViewController revealController, UIViewController viewController, SWRevealControllerOperation operation, bool animated); |
| 157 | + |
| 158 | + [Export ("revealController:animationControllerForOperation:fromViewController:toViewController:")] |
| 159 | + UIViewControllerAnimatedTransitioning AnimationControllerForOperation (SWRevealViewController revealController, SWRevealControllerOperation operation, UIViewController fromVC, UIViewController toVC); |
| 160 | + } |
| 161 | + |
| 162 | + [Category, BaseType (typeof (UIViewController))] |
| 163 | + public partial interface SWRevealViewController_UIViewController |
| 164 | + { |
| 165 | + [Export ("revealViewController")] |
| 166 | + SWRevealViewController RevealViewController (); |
| 167 | + } |
| 168 | + |
| 169 | + public delegate void SegueCallback(SWRevealViewControllerSegueSetController segue, UIViewController svc, UIViewController dvc); |
| 170 | + |
| 171 | + [BaseType (typeof (UIStoryboardSegue))] |
| 172 | + public partial interface SWRevealViewControllerSegueSetController |
| 173 | + { |
| 174 | + [Export ("performBlock", ArgumentSemantic.Retain)] |
| 175 | + SegueCallback PerformDelegate { get; set; } |
| 176 | + } |
| 177 | + |
| 178 | +} |
0 commit comments