Browse files

Add an iOS test app

  • Loading branch information...
1 parent b9ed714 commit e0710459db3894d1007a251ca09e37123227821c @paulcbetts paulcbetts committed Mar 8, 2013
View
228 ReactiveUI_Monotouch.sln
@@ -9,30 +9,256 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactiveUI.Routing_Monotouc
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactiveUI.Cocoa_Monotouch", "ReactiveUI.Cocoa\ReactiveUI.Cocoa_Monotouch.csproj", "{9091337A-9E94-4DBD-801E-15E1FDA78FFC}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iOSPlayground", "iOSPlayground\iOSPlayground.csproj", "{420CF325-38B9-4B30-8978-D519EC40B6A8}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
+ Debug|iPhoneSimulator = Debug|iPhoneSimulator
+ Release|iPhoneSimulator = Release|iPhoneSimulator
+ Debug|iPhone = Debug|iPhone
+ Release|iPhone = Release|iPhone
+ Ad-Hoc|iPhone = Ad-Hoc|iPhone
+ AppStore|iPhone = AppStore|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.AppStore|iPhone.Build.0 = AppStore|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|iPhone.ActiveCfg = Debug|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|iPhone.Build.0 = Debug|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|iPhone.ActiveCfg = Release|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|iPhone.Build.0 = Release|iPhone
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+ {420CF325-38B9-4B30-8978-D519EC40B6A8}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.Build.0 = Debug|Any CPU
{9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.Build.0 = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.AppStore|iPhone.Build.0 = Debug|Any CPU
{9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|iPhone.Build.0 = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {9091337A-9E94-4DBD-801E-15E1FDA78FFC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.Build.0 = Debug|Any CPU
{9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.Build.0 = Release|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {9091337B-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.AppStore|iPhone.Build.0 = Debug|Any CPU
{9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhone.Build.0 = Release|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {9891337A-9E94-4DBD-801E-05E1FDA78FFC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = ReactiveUI\ReactiveUI_Monotouch.csproj
+ StartupItem = iOSPlayground\iOSPlayground.csproj
+ Policies = $0
+ $0.TextStylePolicy = $1
+ $1.inheritsSet = VisualStudio
+ $1.inheritsScope = text/plain
+ $1.scope = text/plain
+ $0.TextStylePolicy = $2
+ $2.inheritsSet = null
+ $2.scope = text/x-csharp
+ $0.CSharpFormattingPolicy = $3
+ $3.IndentSwitchBody = True
+ $3.AnonymousMethodBraceStyle = NextLine
+ $3.PropertyBraceStyle = NextLine
+ $3.PropertyGetBraceStyle = NextLine
+ $3.PropertySetBraceStyle = NextLine
+ $3.EventBraceStyle = NextLine
+ $3.EventAddBraceStyle = NextLine
+ $3.EventRemoveBraceStyle = NextLine
+ $3.StatementBraceStyle = NextLine
+ $3.ArrayInitializerBraceStyle = NextLine
+ $3.BeforeMethodDeclarationParentheses = False
+ $3.BeforeMethodCallParentheses = False
+ $3.BeforeConstructorDeclarationParentheses = False
+ $3.BeforeDelegateDeclarationParentheses = False
+ $3.NewParentheses = False
+ $3.inheritsSet = Mono
+ $3.inheritsScope = text/x-csharp
+ $3.scope = text/x-csharp
+ $0.StandardHeader = $4
+ $4.Text =
+ $4.IncludeInNewFiles = True
+ $0.NameConventionPolicy = $5
+ $5.Rules = $6
+ $6.NamingRule = $7
+ $7.Name = Namespaces
+ $7.AffectedEntity = Namespace
+ $7.VisibilityMask = VisibilityMask
+ $7.NamingStyle = PascalCase
+ $7.IncludeInstanceMembers = True
+ $7.IncludeStaticEntities = True
+ $6.NamingRule = $8
+ $8.Name = Types
+ $8.AffectedEntity = Class, Struct, Enum, Delegate
+ $8.VisibilityMask = Public
+ $8.NamingStyle = PascalCase
+ $8.IncludeInstanceMembers = True
+ $8.IncludeStaticEntities = True
+ $6.NamingRule = $9
+ $9.Name = Interfaces
+ $9.RequiredPrefixes = $10
+ $10.String = I
+ $9.AffectedEntity = Interface
+ $9.VisibilityMask = Public
+ $9.NamingStyle = PascalCase
+ $9.IncludeInstanceMembers = True
+ $9.IncludeStaticEntities = True
+ $6.NamingRule = $11
+ $11.Name = Attributes
+ $11.RequiredSuffixes = $12
+ $12.String = Attribute
+ $11.AffectedEntity = CustomAttributes
+ $11.VisibilityMask = Public
+ $11.NamingStyle = PascalCase
+ $11.IncludeInstanceMembers = True
+ $11.IncludeStaticEntities = True
+ $6.NamingRule = $13
+ $13.Name = Event Arguments
+ $13.RequiredSuffixes = $14
+ $14.String = EventArgs
+ $13.AffectedEntity = CustomEventArgs
+ $13.VisibilityMask = Public
+ $13.NamingStyle = PascalCase
+ $13.IncludeInstanceMembers = True
+ $13.IncludeStaticEntities = True
+ $6.NamingRule = $15
+ $15.Name = Exceptions
+ $15.RequiredSuffixes = $16
+ $16.String = Exception
+ $15.AffectedEntity = CustomExceptions
+ $15.VisibilityMask = VisibilityMask
+ $15.NamingStyle = PascalCase
+ $15.IncludeInstanceMembers = True
+ $15.IncludeStaticEntities = True
+ $6.NamingRule = $17
+ $17.Name = Methods
+ $17.AffectedEntity = Methods
+ $17.VisibilityMask = Protected, Public
+ $17.NamingStyle = PascalCase
+ $17.IncludeInstanceMembers = True
+ $17.IncludeStaticEntities = True
+ $6.NamingRule = $18
+ $18.Name = Static Readonly Fields
+ $18.AffectedEntity = ReadonlyField
+ $18.VisibilityMask = Protected, Public
+ $18.NamingStyle = PascalCase
+ $18.IncludeInstanceMembers = False
+ $18.IncludeStaticEntities = True
+ $6.NamingRule = $19
+ $19.Name = Fields
+ $19.AffectedEntity = Field
+ $19.VisibilityMask = Protected, Public
+ $19.NamingStyle = PascalCase
+ $19.IncludeInstanceMembers = True
+ $19.IncludeStaticEntities = True
+ $6.NamingRule = $20
+ $20.Name = ReadOnly Fields
+ $20.AffectedEntity = ReadonlyField
+ $20.VisibilityMask = Protected, Public
+ $20.NamingStyle = PascalCase
+ $20.IncludeInstanceMembers = True
+ $20.IncludeStaticEntities = False
+ $6.NamingRule = $21
+ $21.Name = Constant Fields
+ $21.AffectedEntity = ConstantField
+ $21.VisibilityMask = Protected, Public
+ $21.NamingStyle = PascalCase
+ $21.IncludeInstanceMembers = True
+ $21.IncludeStaticEntities = True
+ $6.NamingRule = $22
+ $22.Name = Properties
+ $22.AffectedEntity = Property
+ $22.VisibilityMask = Protected, Public
+ $22.NamingStyle = PascalCase
+ $22.IncludeInstanceMembers = True
+ $22.IncludeStaticEntities = True
+ $6.NamingRule = $23
+ $23.Name = Events
+ $23.AffectedEntity = Event
+ $23.VisibilityMask = Protected, Public
+ $23.NamingStyle = PascalCase
+ $23.IncludeInstanceMembers = True
+ $23.IncludeStaticEntities = True
+ $6.NamingRule = $24
+ $24.Name = Enum Members
+ $24.AffectedEntity = EnumMember
+ $24.VisibilityMask = VisibilityMask
+ $24.NamingStyle = PascalCase
+ $24.IncludeInstanceMembers = True
+ $24.IncludeStaticEntities = True
+ $6.NamingRule = $25
+ $25.Name = Parameters
+ $25.AffectedEntity = Parameter
+ $25.VisibilityMask = VisibilityMask
+ $25.NamingStyle = CamelCase
+ $25.IncludeInstanceMembers = True
+ $25.IncludeStaticEntities = True
+ $6.NamingRule = $26
+ $26.Name = Type Parameters
+ $26.RequiredPrefixes = $27
+ $27.String = T
+ $26.AffectedEntity = TypeParameter
+ $26.VisibilityMask = VisibilityMask
+ $26.NamingStyle = PascalCase
+ $26.IncludeInstanceMembers = True
+ $26.IncludeStaticEntities = True
EndGlobalSection
EndGlobal
View
43 iOSPlayground/AppDelegate.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace iOSPlayground
+{
+ // The UIApplicationDelegate for the application. This class is responsible for launching the
+ // User Interface of the application, as well as listening (and optionally responding) to
+ // application events from iOS.
+ [Register ("AppDelegate")]
+ public partial class AppDelegate : UIApplicationDelegate
+ {
+ // class-level declarations
+ UIWindow window;
+ iOSPlaygroundViewController viewController;
+
+ //
+ // This method is invoked when the application has loaded and is ready to run. In this
+ // method you should instantiate the window, load the UI into it and then make the window
+ // visible.
+ //
+ // You have 17 seconds to return from this method, or iOS will terminate your application.
+ //
+ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
+ {
+ (new ReactiveUI.Xaml.ServiceLocationRegistration()).Register();
+ (new ReactiveUI.Routing.ServiceLocationRegistration()).Register();
+ (new ReactiveUI.Cocoa.ServiceLocationRegistration()).Register();
+
+ window = new UIWindow(UIScreen.MainScreen.Bounds);
+
+ viewController = new iOSPlaygroundViewController();
+ window.RootViewController = viewController;
+ window.MakeKeyAndVisible();
+
+ return true;
+ }
+ }
+}
+
View
12 iOSPlayground/Info.plist
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
20 iOSPlayground/Main.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace iOSPlayground
+{
+ public class Application
+ {
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, "AppDelegate");
+ }
+ }
+}
View
141 iOSPlayground/iOSPlayground.csproj
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{420CF325-38B9-4B30-8978-D519EC40B6A8}</ProjectGuid>
+ <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>iOSPlayground</RootNamespace>
+ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
+ <AssemblyName>iOSPlayground</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>False</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <MtouchDebug>True</MtouchDebug>
+ <MtouchLink>None</MtouchLink>
+ <ConsolePause>False</ConsolePause>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <MtouchLink>None</MtouchLink>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>False</Optimize>
+ <OutputPath>bin\iPhone\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <MtouchDebug>True</MtouchDebug>
+ <ConsolePause>False</ConsolePause>
+ <IpaPackageName />
+ <MtouchI18n />
+ <MtouchArch>ARMv7</MtouchArch>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <OutputPath>bin\iPhone\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <OutputPath>bin\iPhone\Ad-Hoc</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <CodesignKey>iPhone Distribution</CodesignKey>
+ <BuildIpa>True</BuildIpa>
+ <CodesignProvision>Automatic:AdHoc</CodesignProvision>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <OutputPath>bin\iPhone\AppStore</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>False</ConsolePause>
+ <CodesignProvision>Automatic:AppStore</CodesignProvision>
+ <CodesignKey>iPhone Distribution</CodesignKey>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Core" />
+ <Reference Include="monotouch" />
+ <Reference Include="System.Reactive.Core">
+ <HintPath>..\ext\ios\System.Reactive.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Reactive.Debugger">
+ <HintPath>..\ext\ios\System.Reactive.Debugger.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Reactive.Experimental">
+ <HintPath>..\ext\ios\System.Reactive.Experimental.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Reactive.Interfaces">
+ <HintPath>..\ext\ios\System.Reactive.Interfaces.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Reactive.Linq">
+ <HintPath>..\ext\ios\System.Reactive.Linq.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Reactive.PlatformServices">
+ <HintPath>..\ext\ios\System.Reactive.PlatformServices.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Resources\" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Info.plist" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="AppDelegate.cs" />
+ <Compile Include="iOSPlaygroundViewController.cs" />
+ <Compile Include="iOSPlaygroundViewController.designer.cs">
+ <DependentUpon>iOSPlaygroundViewController.cs</DependentUpon>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <InterfaceDefinition Include="iOSPlaygroundViewController.xib" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <ProjectReference Include="..\ReactiveUI.Cocoa\ReactiveUI.Cocoa_Monotouch.csproj">
+ <Project>{9091337A-9E94-4DBD-801E-15E1FDA78FFC}</Project>
+ <Name>ReactiveUI.Cocoa_Monotouch</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\ReactiveUI.Routing\ReactiveUI.Routing_Monotouch.csproj">
+ <Project>{9091337B-9E94-4DBD-801E-05E1FDA78FFC}</Project>
+ <Name>ReactiveUI.Routing_Monotouch</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\ReactiveUI.Xaml\ReactiveUI.Xaml_Monotouch.csproj">
+ <Project>{9891337A-9E94-4DBD-801E-05E1FDA78FFC}</Project>
+ <Name>ReactiveUI.Xaml_Monotouch</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\ReactiveUI\ReactiveUI_Monotouch.csproj">
+ <Project>{9091337A-9E94-4DBD-801E-05E1FDA78FFC}</Project>
+ <Name>ReactiveUI_Monotouch</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
View
37 iOSPlayground/iOSPlaygroundViewController.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Drawing;
+using System.Reactive.Concurrency;
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+using ReactiveUI;
+
+namespace iOSPlayground
+{
+ public partial class iOSPlaygroundViewController : UIViewController
+ {
+ public iOSPlaygroundViewController() : base ("iOSPlaygroundViewController", null)
+ {
+ }
+
+ public override void DidReceiveMemoryWarning()
+ {
+ // Releases the view if it doesn't have a superview.
+ base.DidReceiveMemoryWarning();
+
+ // Release any cached data, images, etc that aren't in use.
+ }
+
+ public override void ViewDidLoad()
+ {
+ base.ViewDidLoad();
+ RxApp.DeferredScheduler.Schedule(() => Console.WriteLine("Bar"));
+ }
+
+ public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation)
+ {
+ // Return true for supported orientations
+ return (toInterfaceOrientation != UIInterfaceOrientation.PortraitUpsideDown);
+ }
+ }
+}
+
View
17 iOSPlayground/iOSPlaygroundViewController.designer.cs
@@ -0,0 +1,17 @@
+//
+// This file has been generated automatically by MonoDevelop to store outlets and
+// actions made in the Xcode designer. If it is removed, they will be lost.
+// Manual changes to this file may not be handled correctly.
+//
+using MonoTouch.Foundation;
+
+namespace iOSPlayground
+{
+ [Register ("iOSPlaygroundViewController")]
+ partial class iOSPlaygroundViewController
+ {
+ void ReleaseDesignerOutlets()
+ {
+ }
+ }
+}
View
119 iOSPlayground/iOSPlaygroundViewController.xib
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1280</int>
+ <string key="IBDocument.SystemVersion">11C25</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1919</string>
+ <string key="IBDocument.AppKitVersion">1138.11</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">916</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0" />
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="843779117">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="774585933">
+ <reference key="NSNextResponder" />
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview" />
+ <reference key="NSWindow" />
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC43NQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics" />
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531" />
+ <reference key="destination" ref="774585933" />
+ </object>
+ <int key="connectionID">7</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0" />
+ <reference key="children" ref="1000" />
+ <nil key="parent" />
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531" />
+ <reference key="parent" ref="0" />
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="843779117" />
+ <reference key="parent" ref="0" />
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="774585933" />
+ <reference key="parent" ref="0" />
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">iOSPlaygroundViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties" />
+ <nil key="activeLocalization" />
+ <dictionary class="NSMutableDictionary" key="localizations" />
+ <nil key="sourceID" />
+ <int key="maxID">7</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">iOSPlaygroundViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">iOSPlaygroundViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">916</string>
+ </data>
+</archive>

0 comments on commit e071045

Please sign in to comment.