diff options
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs b/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs index 4e6601ef..e819519a 100644 --- a/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs +++ b/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs @@ -2,7 +2,12 @@ using System; using System.ComponentModel; using Foundation; +#if __MOBILE__ namespace Xamarin.Forms.Platform.iOS +#else + +namespace Xamarin.Forms.Platform.MacOS +#endif { class NativeViewPropertyListener : NSObject, INotifyPropertyChanged { @@ -23,4 +28,4 @@ namespace Xamarin.Forms.Platform.iOS base.ObserveValue(keyPath, ofObject, change, context); } } -} +}
\ No newline at end of file |