Skip to content

Commit 7a71ce2

Browse files
author
Michael Teper
committed
Added ReactiveUI_Mac64 project, updated usings
1 parent 132113c commit 7a71ce2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+304
-122
lines changed

CommonAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Reflection;
1+
using System.Reflection;
22

33
[assembly: AssemblyVersion("6.3.1")]
44
[assembly: AssemblyFileVersion("6.3.1")]

ReactiveUI.Tests/ReactiveUI.Tests_Android.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,4 @@
142142
<Name>ReactiveUI_Android</Name>
143143
</ProjectReference>
144144
</ItemGroup>
145-
<ItemGroup>
146-
<Folder Include="Android\" />
147-
</ItemGroup>
148145
</Project>

ReactiveUI/AutoPersistHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using ReactiveUI;
1+
using ReactiveUI;
22
using System;
33
using System.Collections.Generic;
44
using System.Collections.Specialized;

ReactiveUI/BindingTypeConverters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Diagnostics.Contracts;
33
using System.Linq;
44
using System.Reflection;

ReactiveUI/Cocoa/AppKitAutoSuspendHelper.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
using System;
1+
using System;
22
using System.Reactive;
33
using System.Reactive.Concurrency;
44
using System.Reactive.Subjects;
55
using System.Reactive.Linq;
6-
using MonoMac.Foundation;
7-
using MonoMac.AppKit;
86
using System.Reactive.Disposables;
97
using Splat;
108

9+
#if UNIFIED
10+
using AppKit;
11+
using Foundation;
12+
#else
13+
using MonoMac.AppKit;
14+
using MonoMac.Foundation;
15+
#endif
16+
1117
namespace ReactiveUI
1218
{
1319
public class AutoSuspendHelper : IEnableLogger

ReactiveUI/Cocoa/AutoLayoutViewModelViewHost.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#if UNIFIED && UIKIT
1+
#if UNIFIED && UIKIT
22
using NSView = UIKit.UIView;
3+
#elif UNIFIED && COCOA
4+
using AppKit;
35
#elif UIKIT
46
using NSView = MonoTouch.UIKit.UIView;
57
#else

ReactiveUI/Cocoa/CocoaDefaultPropertyBinding.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
using System;
22
using System.Linq;
33

4-
#if UNIFIED
4+
#if UNIFIED && UIKIT
55
using UIKit;
6+
#elif UNIFIED && COCOA
7+
using AppKit;
68
#elif UIKIT
79
using MonoTouch.UIKit;
810
#else

ReactiveUI/Cocoa/KVOObservableForProperty.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
using System;
22
using System.Linq;
33
using System.Linq.Expressions;
4-
using System.Reactive;
54
using System.Reactive.Disposables;
65
using System.Reactive.Linq;
76
using System.Reflection;
8-
using ReactiveUI;
97
using System.Runtime.InteropServices;
8+
using ReactiveUI;
109
using Splat;
1110

12-
#if UNIFIED
13-
using Foundation;
11+
#if UNIFIED && UIKIT
1412
using UIKit;
13+
using Foundation;
14+
#elif UNIFIED && COCOA
15+
using Foundation;
1516
#elif UIKIT
1617
using MonoTouch.UIKit;
1718
using MonoTouch.Foundation;
1819
#else
19-
using MonoMac.AppKit;
2020
using MonoMac.Foundation;
2121
#endif
2222

ReactiveUI/Cocoa/NSRunloopScheduler.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
using System;
2-
using System.Linq;
3-
using System.Collections.Generic;
4-
using System.Reactive;
52
using System.Reactive.Concurrency;
63
using System.Reactive.Disposables;
74

85
#if UNIFIED
9-
using UIKit;
10-
using Foundation;
116
using CoreFoundation;
7+
using Foundation;
128
using NSAction = System.Action;
139
#elif UIKIT
1410
using MonoTouch.UIKit;
1511
using MonoTouch.Foundation;
1612
using MonoTouch.CoreFoundation;
1713
#else
18-
using MonoMac.AppKit;
1914
using MonoMac.Foundation;
2015
using MonoMac.CoreFoundation;
2116
#endif
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace ReactiveUI
42
{
53
/// <summary>
@@ -9,7 +7,7 @@ public class PlatformOperations : IPlatformOperations
97
{
108
public string GetOrientation()
119
{
12-
#if UNIFIED
10+
#if UNIFIED && UIKIT
1311
return UIKit.UIDevice.CurrentDevice.Orientation.ToString();
1412
#elif UIKIT
1513
return MonoTouch.UIKit.UIDevice.CurrentDevice.Orientation.ToString();
@@ -19,4 +17,3 @@ public string GetOrientation()
1917
}
2018
}
2119
}
22-

0 commit comments

Comments
 (0)