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/Platform.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/Platform.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Platform.cs | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Platform.cs b/Xamarin.Forms.Platform.iOS/Platform.cs index 0293e75f..3022fa0e 100644 --- a/Xamarin.Forms.Platform.iOS/Platform.cs +++ b/Xamarin.Forms.Platform.iOS/Platform.cs @@ -5,32 +5,28 @@ using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; + #if __UNIFIED__ using CoreGraphics; using Foundation; using ObjCRuntime; using UIKit; +using RectangleF = CoreGraphics.CGRect; +using SizeF = CoreGraphics.CGSize; +using PointF = CoreGraphics.CGPoint; + #else using MonoTouch; using MonoTouch.CoreAnimation; using MonoTouch.CoreFoundation; using MonoTouch.CoreGraphics; using MonoTouch.UIKit; -using System.Drawing; -using MonoTouch.CoreAnimation; using MonoTouch.Foundation; using MonoTouch.ObjCRuntime; -using MonoTouch.UIKit; -#endif -#if __UNIFIED__ -using RectangleF = CoreGraphics.CGRect; -using SizeF = CoreGraphics.CGSize; -using PointF = CoreGraphics.CGPoint; -#else -using nfloat=System.Single; -using nint=System.Int32; -using nuint=System.UInt32; +using nfloat = System.Single; +using nint = System.Int32; +using nuint = System.UInt32; #endif namespace Xamarin.Forms.Platform.iOS |