Permalink
Browse files

Add the suspension host to default registration

  • Loading branch information...
1 parent 0b827fc commit 4947103dc0e639835911981b89337c9d875cac16 @paulcbetts paulcbetts committed Mar 20, 2013
@@ -81,5 +81,9 @@
<Project>{9091337B-9E94-4DBD-801E-05E1FDA78FFC}</Project>
<Name>ReactiveUI.Routing_Monotouch</Name>
</ProjectReference>
+ <ProjectReference Include="..\ReactiveUI.Cocoa\ReactiveUI.Cocoa_Monotouch.csproj">
+ <Project>{9091337A-9E94-4DBD-801E-15E1FDA78FFC}</Project>
+ <Name>ReactiveUI.Cocoa_Monotouch</Name>
+ </ProjectReference>
</ItemGroup>
</Project>
@@ -16,6 +16,8 @@ public void Register()
#elif WINRT
RxApp.Register(typeof(WinRTSuspensionHost), typeof (ISuspensionHost));
RxApp.Register(typeof(WinRTAppDataDriver), typeof (ISuspensionDriver));
+#elif UIKIT
+ RxApp.Register(typeof(CocoaSuspensionHost), typeof(ISuspensionHost));
#endif
}
}

0 comments on commit 4947103

Please sign in to comment.