Skip to content

Instantly share code, notes, and snippets.

@Clancey
Created September 3, 2014 19:21
Show Gist options
  • Save Clancey/cbb6505b1c8b314aa8fb to your computer and use it in GitHub Desktop.
Save Clancey/cbb6505b1c8b314aa8fb to your computer and use it in GitHub Desktop.
#if UNIFIEDAPI
using UIKit;
using CoreLocation;
using CoreGraphics;
#else
using MonoTouch.UIKit;
using System.Drawing;
using MonoTouch.CoreLocation;
#endif
#if !UNIFIEDAPI
// Type Mappings Unified to monotouch.dll
using CGRect = global::System.Drawing.RectangleF;
using CGSize = global::System.Drawing.SizeF;
using CGPoint = global::System.Drawing.PointF;
using nfloat = global::System.Single;
using nint = global::System.Int32;
using nuint = global::System.UInt32;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment