diff options
author | Samantha Houts <samantha@teamredwall.com> | 2016-04-11 18:05:28 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-11 18:05:28 -0700 |
commit | 90d8976cfdadc1582e366c0b6f6611d6fe83f5ff (patch) | |
tree | e2ebd71214c4855ec5862d9c2c13f3a90051ae31 /Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs | |
parent | df2427091536ed8065e50f7bffebbc5707971803 (diff) | |
download | xamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.tar.gz xamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.tar.bz2 xamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.zip |
[iOS] Resolve Warning 0108 (#64)
[iOS] Resolve warning 0114
`Selected` is overridable, but current behavior is to hide it, so we're
going to add the `new` keyword.
[iOS] Resolve warning 0618
[iOS] Resolve warning 0414, 0649, 0169
[iOS] Resolve warning 0105
Update dispose to override base dispose (#67)
Add an optional extended description…
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs b/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs index fa76b982..f0e8522b 100644 --- a/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs +++ b/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs @@ -22,13 +22,11 @@ namespace Xamarin.Forms.Platform.iOS { internal class GlobalCloseContextGestureRecognizer : UIGestureRecognizer { - List<UIButton> _buttons; UIScrollView _scrollView; - public GlobalCloseContextGestureRecognizer(UIScrollView scrollView, List<UIButton> buttons, NSAction activated) : base(activated) + public GlobalCloseContextGestureRecognizer(UIScrollView scrollView, NSAction activated) : base(activated) { _scrollView = scrollView; - _buttons = buttons; ShouldReceiveTouch = OnShouldReceiveTouch; } @@ -57,7 +55,6 @@ namespace Xamarin.Forms.Platform.iOS if (disposing) { - _buttons = null; _scrollView = null; } } |