summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/PlatformEffect.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/PlatformEffect.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/PlatformEffect.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.iOS/PlatformEffect.cs b/Xamarin.Forms.Platform.iOS/PlatformEffect.cs
index 8fb4f97..6a1ca49 100644
--- a/Xamarin.Forms.Platform.iOS/PlatformEffect.cs
+++ b/Xamarin.Forms.Platform.iOS/PlatformEffect.cs
@@ -1,6 +1,11 @@
-´╗┐using UIKit;
-
+´╗┐#if __MOBILE__
+using UIKit;
namespace Xamarin.Forms.Platform.iOS
+#else
+using UIView = AppKit.NSView;
+
+namespace Xamarin.Forms.Platform.MacOS
+#endif
{
public abstract class PlatformEffect : PlatformEffect<UIView, UIView>
{