Merge pull request #2 from 7sharp9/master

Partial work to provide View and Cell types
This commit is contained in:
Jason Imison 2017-06-26 21:27:58 +01:00 коммит произвёл GitHub
Родитель cae790593f 581c77f32c
Коммит 394ee847fc
60 изменённых файлов: 6497 добавлений и 5983 удалений

Двоичные данные
.paket/paket.exe Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -14,17 +14,21 @@ namespace ProviderImplementation.ProvidedTypes
open System
open System.Reflection
open System.Linq.Expressions
open Microsoft.FSharp.Quotations
open Microsoft.FSharp.Core.CompilerServices
/// Represents an erased provided parameter
type ProvidedParameter =
inherit ParameterInfo
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedParameter to create a provided parameter. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : parameterName: string * parameterType: Type * ?isOut:bool * ?optionalValue:obj -> ProvidedParameter
member IsParamArray : bool with get,set
member IsReflectedDefinition : bool with get,set
/// Represents a provided static parameter.
type ProvidedStaticParameter =
inherit ParameterInfo
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedStaticParameter to create a provided static parameter. Some argument names and values may need adjusting.", 8796)>]
new : parameterName: string * parameterType:Type * ?parameterDefaultValue:obj -> ProvidedStaticParameter
/// Add XML documentation information to this provided constructor
@ -38,9 +42,10 @@ type ProvidedConstructor =
inherit ConstructorInfo
/// Create a new provided constructor. It is not initially associated with any specific provided type definition.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedConstructor. Some argument names and values may need adjusting.", 8796)>]
new : parameters: ProvidedParameter list -> ProvidedConstructor
/// Add a 'System.Obsolete' attribute to this provided constructor
/// Add a 'Obsolete' attribute to this provided constructor
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
@ -53,13 +58,13 @@ type ProvidedConstructor =
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Set the quotation used to compute the implementation of invocations of this constructor.
member InvokeCode : (Quotations.Expr list -> Quotations.Expr) with set
member InvokeCode : (Expr list -> Expr) with set
/// FSharp.Data addition: this method is used by Debug.fs
member internal GetInvokeCodeInternal : bool -> (Quotations.Expr [] -> Quotations.Expr)
/// This method is used by Debug.fs
member internal GetInvokeCodeInternal : bool -> (Expr [] -> Expr)
/// Set the target and arguments of the base constructor call. Only used for generated types.
member BaseConstructorCall : (Quotations.Expr list -> ConstructorInfo * Quotations.Expr list) with set
member BaseConstructorCall : (Expr list -> ConstructorInfo * Expr list) with set
/// Set a flag indicating that the constructor acts like an F# implicit constructor, so the
/// parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the
@ -75,6 +80,7 @@ type ProvidedMethod =
inherit MethodInfo
/// Create a new provided method. It is not initially associated with any specific provided type definition.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedMethod to create a provided method. Some argument names and values may need adjusting.", 8796)>]
new : methodName:string * parameters: ProvidedParameter list * returnType: Type -> ProvidedMethod
/// Add XML documentation information to this provided method
@ -99,10 +105,10 @@ type ProvidedMethod =
member IsStaticMethod : bool with get, set
/// Set the quotation used to compute the implementation of invocations of this method.
member InvokeCode : (Quotations.Expr list -> Quotations.Expr) with set
member InvokeCode : (Expr list -> Expr) with set
/// FSharp.Data addition: this method is used by Debug.fs
member internal GetInvokeCodeInternal : bool -> (Quotations.Expr [] -> Quotations.Expr)
// this method is used by Debug.fs
member internal GetInvokeCodeInternal : bool -> (Expr [] -> Expr)
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
@ -117,10 +123,11 @@ type ProvidedMethod =
type ProvidedProperty =
inherit PropertyInfo
/// Create a new provided type. It is not initially associated with any specific provided type definition.
/// Create a new provided property. It is not initially associated with any specific provided type definition.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedProperty to create a provided property. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : propertyName: string * propertyType: Type * ?parameters:ProvidedParameter list -> ProvidedProperty
/// Add a 'System.Obsolete' attribute to this provided property
/// Add a 'Obsolete' attribute to this provided property
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
@ -134,14 +141,13 @@ type ProvidedProperty =
member AddXmlDocComputed : xmlDocFunction: (unit -> string) -> unit
/// Get or set a flag indicating if the property is static.
/// FSharp.Data addition: the getter is used by Debug.fs
member IsStatic : bool with get,set
/// Set the quotation used to compute the implementation of gets of this property.
member GetterCode : (Quotations.Expr list -> Quotations.Expr) with set
member GetterCode : (Expr list -> Expr) with set
/// Set the function used to compute the implementation of sets of this property.
member SetterCode : (Quotations.Expr list -> Quotations.Expr) with set
member SetterCode : (Expr list -> Expr) with set
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
@ -170,10 +176,10 @@ type ProvidedEvent =
member IsStatic : bool with set
/// Set the quotation used to compute the implementation of gets of this property.
member AdderCode : (Quotations.Expr list -> Quotations.Expr) with set
member AdderCode : (Expr list -> Expr) with set
/// Set the function used to compute the implementation of sets of this property.
member RemoverCode : (Quotations.Expr list -> Quotations.Expr) with set
member RemoverCode : (Expr list -> Expr) with set
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
@ -183,9 +189,10 @@ type ProvidedLiteralField =
inherit FieldInfo
/// Create a new provided field. It is not initially associated with any specific provided type definition.
new : fieldName: string * fieldType: Type * literalValue: obj -> ProvidedLiteralField
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedLiteralField. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : fieldName: string * fieldType: Type * literalValue: obj -> ProvidedLiteralField
/// Add a 'System.Obsolete' attribute to this provided field
/// Add a 'Obsolete' attribute to this provided field
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided field
@ -206,9 +213,10 @@ type ProvidedField =
inherit FieldInfo
/// Create a new provided field. It is not initially associated with any specific provided type definition.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedField. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : fieldName: string * fieldType: Type -> ProvidedField
/// Add a 'System.Obsolete' attribute to this provided field
/// Add a 'Obsolete' attribute to this provided field
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided field
@ -228,7 +236,7 @@ type ProvidedField =
/// Represents the type constructor in a provided symbol type.
[<NoComparison>]
type SymbolKind =
type ProvidedSymbolKind =
/// Indicates that the type constructor is for a single-dimensional array
| SDArray
/// Indicates that the type constructor is for a multi-dimensional array
@ -250,11 +258,16 @@ type ProvidedSymbolType =
inherit Type
/// Returns the kind of this symbolic type
member Kind : SymbolKind
member Kind : ProvidedSymbolKind
/// Return the provided types used as arguments of this symbolic type
member Args : list<Type>
/// For example, kg
member IsFSharpTypeAbbreviation: bool
/// For example, int<kg> or int<kilogram>
member IsFSharpUnitAnnotated : bool
/// Helpers to build symbolic provided types
[<Class>]
@ -266,6 +279,13 @@ type ProvidedTypeBuilder =
/// Like methodInfo.MakeGenericMethod, but will also work with unit-annotated types and provided types
static member MakeGenericMethod: genericMethodDefinition: MethodInfo * genericArguments: Type list -> MethodInfo
[<Class>]
/// Used internally for ProvidedTypesContext
type internal ZProvidedTypeBuilder =
new : convToTgt: (Type -> Type) -> ZProvidedTypeBuilder
member MakeGenericType: genericTypeDefinition: Type * genericArguments: Type list -> Type
member MakeGenericMethod: genericMethodDefinition: MethodInfo * genericArguments: Type list -> MethodInfo
/// Helps create erased provided unit-of-measure annotations.
[<Class>]
type ProvidedMeasureBuilder =
@ -301,11 +321,18 @@ type ProvidedTypeDefinition =
inherit Type
/// Create a new provided type definition in a namespace.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedTypeDefinition to create a provided type definition. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : assembly: Assembly * namespaceName: string * className: string * baseType: Type option -> ProvidedTypeDefinition
/// Create a new provided type definition, to be located as a nested type in some type definition.
// [<CompilerMessage("Please create a ProvidedTypesContext and use ctxt.ProvidedTypeDefinition to create a provided type definition. This will help allow your type provider to target portable profiles where that makes sense. Some argument names and values may need adjusting.", 8796)>]
new : className : string * baseType: Type option -> ProvidedTypeDefinition
internal new : assembly: Assembly * namespaceName: string * className: string * baseType: Type option * convToTgt: (Type -> Type) -> ProvidedTypeDefinition
internal new : className : string * baseType: Type option * convToTgt: (Type -> Type) -> ProvidedTypeDefinition
/// Add the given type as an implemented interface.
member AddInterfaceImplementation : interfaceType: Type -> unit
@ -315,7 +342,7 @@ type ProvidedTypeDefinition =
/// Specifies that the given method body implements the given method declaration.
member DefineMethodOverride : methodInfoBody: ProvidedMethod * methodInfoDeclaration: MethodInfo -> unit
/// Add a 'System.Obsolete' attribute to this provided type definition
/// Add a 'Obsolete' attribute to this provided type definition
member AddObsoleteAttribute : message: string * ?isError: bool -> unit
/// Add XML documentation information to this provided constructor
@ -356,8 +383,11 @@ type ProvidedTypeDefinition =
/// Add a set of members to a ProvidedTypeDefinition, delaying computation of the members until required by the compilation context.
member AddMembersDelayed : membersFunction:(unit -> list<#MemberInfo>) -> unit
#if NO_GENERATIVE
#else
/// Add the types of the generated assembly as generative types, where types in namespaces get hierarchically positioned as nested types.
member AddAssemblyTypesAsNestedTypesDelayed : assemblyFunction:(unit -> Assembly) -> unit
#endif
/// Define the static parameters available on a statically parameterized type
member DefineStaticParameters : parameters: ProvidedStaticParameter list * instantiationFunction: (string -> obj[] -> ProvidedTypeDefinition) -> unit
@ -365,7 +395,7 @@ type ProvidedTypeDefinition =
/// Add definition location information to the provided type definition.
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
/// Suppress System.Object entries in intellisense menus in instances of this provided type
/// Suppress Object entries in intellisense menus in instances of this provided type
member HideObjectMethods : bool with set
/// Disallows the use of the null literal.
@ -378,7 +408,7 @@ type ProvidedTypeDefinition =
[<Experimental("SuppressRelocation is a workaround and likely to be removed")>]
member SuppressRelocation : bool with get,set
/// FSharp.Data addition: this method is used by Debug.fs
// This method is used by Debug.fs
member MakeParametricType : name:string * args:obj[] -> ProvidedTypeDefinition
/// Add a custom attribute to the provided type definition.
@ -394,6 +424,8 @@ type ProvidedTypeDefinition =
/// Get or set a utility function to log the creation of root Provided Type. Used to debug caching/invalidation.
static member Logger : (string -> unit) option ref
#if NO_GENERATIVE
#else
/// A provided generated assembly
type ProvidedAssembly =
/// Create a provided generated assembly
@ -421,6 +453,8 @@ type ProvidedAssembly =
static member RegisterGenerated : fileName:string -> Assembly
#endif
#endif
/// A base type providing default implementations of type provider functionality when all provided
/// types are of type ProvidedTypeDefinition.
@ -450,8 +484,8 @@ type TypeProviderForNamespaces =
#if FX_NO_LOCAL_FILESYSTEM
#else
/// AssemblyResolve handler. Default implementation searches <assemblyname>.dll file in registered folders
abstract ResolveAssembly : System.ResolveEventArgs -> Assembly
default ResolveAssembly : System.ResolveEventArgs -> Assembly
abstract ResolveAssembly : ResolveEventArgs -> Assembly
default ResolveAssembly : ResolveEventArgs -> Assembly
/// Registers custom probing path that can be used for probing assemblies
member RegisterProbingFolder : folder: string -> unit
@ -465,3 +499,28 @@ type TypeProviderForNamespaces =
member Disposing : IEvent<EventHandler,EventArgs>
interface ITypeProvider
module internal UncheckedQuotations =
type Expr with
static member NewDelegateUnchecked : ty:Type * vs:Var list * body:Expr -> Expr
static member NewObjectUnchecked : cinfo:ConstructorInfo * args:Expr list -> Expr
static member NewArrayUnchecked : elementType:Type * elements:Expr list -> Expr
static member CallUnchecked : minfo:MethodInfo * args:Expr list -> Expr
static member CallUnchecked : obj:Expr * minfo:MethodInfo * args:Expr list -> Expr
static member ApplicationUnchecked : f:Expr * x:Expr -> Expr
static member PropertyGetUnchecked : pinfo:PropertyInfo * args:Expr list -> Expr
static member PropertyGetUnchecked : obj:Expr * pinfo:PropertyInfo * ?args:Expr list -> Expr
static member PropertySetUnchecked : pinfo:PropertyInfo * value:Expr * ?args:Expr list -> Expr
static member PropertySetUnchecked : obj:Expr * pinfo:PropertyInfo * value:Expr * args:Expr list -> Expr
static member FieldGetUnchecked : pinfo:FieldInfo -> Expr
static member FieldGetUnchecked : obj:Expr * pinfo:FieldInfo -> Expr
static member FieldSetUnchecked : pinfo:FieldInfo * value:Expr -> Expr
static member FieldSetUnchecked : obj:Expr * pinfo:FieldInfo * value:Expr -> Expr
static member TupleGetUnchecked : e:Expr * n:int -> Expr
static member LetUnchecked : v:Var * e:Expr * body:Expr -> Expr
type Shape
val ( |ShapeCombinationUnchecked|ShapeVarUnchecked|ShapeLambdaUnchecked| ) : e:Expr -> Choice<(Shape * Expr list),Var, (Var * Expr)>
val RebuildShapeCombinationUnchecked : Shape * args:Expr list -> Expr

Просмотреть файл

@ -0,0 +1 @@
1dab4f94411500794342f61f877feab772e5a754

10
paket.dependencies Normal file
Просмотреть файл

@ -0,0 +1,10 @@
source https://www.nuget.org/api/v2
nuget ExtCore 0.8.45 restriction: >= net45
nuget FSharp.TypeProviders.StarterPack 1.1.3.88
nuget Unquote 3.1.1
nuget Xamarin.Android.Support.v7.AppCompat 23.1.1.0 restriction: >= monoandroid6.0
nuget Xamarin.TestCloud.Agent 0.14.1 restriction: >= xamarinios
github fsprojects/FSharp.TypeProviders.StarterPack src/ProvidedTypes.fsi
github fsprojects/FSharp.TypeProviders.StarterPack src/ProvidedTypes.fs

13
paket.lock Normal file
Просмотреть файл

@ -0,0 +1,13 @@
NUGET
remote: https://www.nuget.org/api/v2
ExtCore (0.8.45) - restriction: >= net45
FSharp.TypeProviders.StarterPack (1.1.3.88)
Unquote (3.1.1)
Xamarin.Android.Support.v4 (23.1.1) - restriction: >= monoandroid6.0
Xamarin.Android.Support.v7.AppCompat (23.1.1) - restriction: >= monoandroid6.0
Xamarin.Android.Support.v4 (23.1.1)
Xamarin.TestCloud.Agent (0.14.1) - restriction: >= xamarinios
GITHUB
remote: fsprojects/FSharp.TypeProviders.StarterPack
src/ProvidedTypes.fs (1dab4f94411500794342f61f877feab772e5a754)
src/ProvidedTypes.fsi (1dab4f94411500794342f61f877feab772e5a754)

Просмотреть файл

Просмотреть файл

@ -1,127 +1,132 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "SingleViewUniversal", "unified\SingleViewUniversal\SingleViewUniversal.fsproj", "{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "singleview_tvOS", "unified\singleview_tvOS\singleview_tvOS.fsproj", "{00BF2AD3-867C-4A12-8AE6-907D4F02380F}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaApp", "CocoaApp\CocoaApp.fsproj", "{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}"
EndProject
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "WatchkitTest", "unified\WatchkitTest\WatchkitTest.fsproj", "{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "unified\fullTest\fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fsharp_masterdetail", "unified\MasterDetail\fsharp_masterdetail.fsproj", "{14BE2E7C-3220-4128-A8B2-45DCB985B844}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
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
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.AppStore|iPhone.Build.0 = AppStore|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhone.ActiveCfg = Debug|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhone.Build.0 = Debug|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhone.ActiveCfg = Release|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhone.Build.0 = Release|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhone.ActiveCfg = Debug|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhone.Build.0 = Debug|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhone.Build.0 = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.Build.0 = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.ActiveCfg = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.Build.0 = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.ActiveCfg = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.Build.0 = AppStore|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.ActiveCfg = Debug|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.Build.0 = Debug|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.ActiveCfg = Release|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.Build.0 = Release|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.Build.0 = AppStore|iPhone
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{EA864239-4932-4E63-A509-A88427DEE871}"
ProjectSection(SolutionItems) = preProject
..\paket.dependencies = ..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "SingleViewUniversal", "unified\SingleViewUniversal\SingleViewUniversal.fsproj", "{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "singleview_tvOS", "unified\singleview_tvOS\singleview_tvOS.fsproj", "{00BF2AD3-867C-4A12-8AE6-907D4F02380F}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaApp", "CocoaApp\CocoaApp.fsproj", "{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}"
EndProject
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "WatchkitTest", "unified\WatchkitTest\WatchkitTest.fsproj", "{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "unified\fullTest\fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fsharp_masterdetail", "unified\MasterDetail\fsharp_masterdetail.fsproj", "{14BE2E7C-3220-4128-A8B2-45DCB985B844}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
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
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.AppStore|iPhone.Build.0 = AppStore|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhone.ActiveCfg = Debug|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhone.Build.0 = Debug|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhone.ActiveCfg = Release|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhone.Build.0 = Release|iPhone
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}.Release|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|x86.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhone.ActiveCfg = Debug|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Debug|iPhone.Build.0 = Debug|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Release|iPhone.Build.0 = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.ActiveCfg = Release|iPhone
{00BF2AD3-867C-4A12-8AE6-907D4F02380F}.AppStore|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|x86.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|x86.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhoneSimulator.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Debug|iPhone.Build.0 = Debug|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Release|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.Build.0 = Debug|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.ActiveCfg = Release|iPhone
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.ActiveCfg = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.Build.0 = Debug|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.ActiveCfg = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.Build.0 = Release|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.Build.0 = AppStore|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.ActiveCfg = Debug|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.Build.0 = Debug|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.ActiveCfg = Release|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.Build.0 = Release|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.Build.0 = AppStore|iPhone
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal

Просмотреть файл

Просмотреть файл

@ -25,6 +25,6 @@
<key>UIMainStoryboardFile~ipad</key>
<string>MainStoryboard_iPad</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<string>9.3</string>
</dict>
</plist>

Просмотреть файл

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4451" systemVersion="13A461" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733.0"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--class Prefix:identifier View Controller-->
<!--Single View Universal View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="SingleViewUniversalViewController" sceneMemberID="viewController">
@ -15,36 +16,40 @@
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="5" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5">
<rect key="frame" x="138" y="974" width="141" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="iPad Button">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
</button>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" minimumFontSize="10" id="9" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="9">
<rect key="frame" x="663" y="974" width="42" height="21"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="13" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="13">
<rect key="frame" x="110" y="115" width="46" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="Button">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<connections>
<outlet property="button1iPad" destination="13" id="name-outlet-13"/>
<outlet property="ipadButtonOne" destination="5" id="name-outlet-5"/>
<outlet property="button1" destination="13" id="name-outlet-13"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="0.0" y="0.0"/>
</scene>
</scenes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
@ -53,6 +58,6 @@
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
<resources>
<image name="Default-568h.png" width="640" height="1136"/>
<image name="Default-568h.png" width="320" height="568"/>
</resources>
</document>

Просмотреть файл

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4451" systemVersion="13A461" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733.0"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--class Prefix:identifier View Controller-->
<!--Single View Universal View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="SingleViewUniversalViewController" sceneMemberID="viewController">
@ -13,46 +14,50 @@
<viewControllerLayoutGuide type="bottom" id="4"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="5" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5">
<rect key="frame" x="93" y="518" width="126" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="iPhone Button">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
</button>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" lineBreakMode="tailTruncation" minimumFontSize="10" id="9" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="9">
<rect key="frame" x="238" y="522" width="42" height="21"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="13" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO">
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="13">
<rect key="frame" x="39" y="53" width="46" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="Button">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<connections>
<outlet property="myButton" destination="13" id="name-outlet-13"/>
<outlet property="iPhoneButtonOne" destination="5" id="name-outlet-5"/>
<outlet property="button1" destination="13" id="name-outlet-13"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="0.0" y="0.0"/>
</scene>
</scenes>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
<simulatedScreenMetrics key="destination" type="retina47"/>
</simulatedMetricsContainer>
<resources>
<image name="Default-568h.png" width="640" height="1136"/>
<image name="Default-568h.png" width="320" height="568"/>
</resources>
</document>

Просмотреть файл

@ -18,7 +18,7 @@ type MyViewController (handle) =
override x.ViewDidLoad () =
base.ViewDidLoad ()
x.button1.TouchUpInside.Add(fun _ -> x.View.BackgroundColor <- UIColor.Blue)
x.myButton.TouchUpInside.Add(fun _ -> x.View.BackgroundColor <- UIColor.Blue)
// Perform any additional setup after loading the view, typically from a nib.

Просмотреть файл

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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>
@ -97,7 +97,7 @@
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
<None Include="packages.config" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
<Compile Include="ViewController.fs" />
@ -105,4 +105,15 @@
<Compile Include="Main.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == 'Xamarin.iOS'">
<ItemGroup>
<Reference Include="Calabash">
<HintPath>..\..\..\packages\Xamarin.TestCloud.Agent\lib\Xamarin.iOS10\Calabash.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.TestCloud.Agent" version="0.14.1" targetFramework="xamarinios10" />
</packages>

Просмотреть файл

@ -0,0 +1 @@
Xamarin.TestCloud.Agent

Просмотреть файл

@ -1,6 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{CA719849-C680-4F03-A1F7-C6390FD74148}"
ProjectSection(SolutionItems) = preProject
..\..\..\paket.dependencies = ..\..\..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
EndProject
Global

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,62 +1,88 @@
<?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)' == '' ">AnyCPU</Platform>
<ProjectGuid>{03D202B0-123E-4397-BCA9-36129CBA8518}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>DisposalIssue</RootNamespace>
<AssemblyName>DisposalIssue</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<Tailcalls>false</Tailcalls>
<PlatformTarget>
</PlatformTarget>
<Externalconsole>true</Externalconsole>
<CustomCommands>
<CustomCommands>
<Command type="Execute" command="&quot;/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/bin/XamarinStudio.exe&quot;" workingdir="/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop" />
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<PlatformTarget>
</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Tailcalls>true</Tailcalls>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Numerics" />
<Reference Include="System.Drawing" />
<Reference Include="Unquote">
<HintPath>..\packages\Unquote.2.2.2\lib\net40\Unquote.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="ProvidedTypes-head.fsi" />
<Compile Include="ProvidedTypes-head.fs" />
<Compile Include="Script.fsx" />
<Compile Include="TestProvider.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<?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)' == '' ">AnyCPU</Platform>
<ProjectGuid>{03D202B0-123E-4397-BCA9-36129CBA8518}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>DisposalIssue</RootNamespace>
<AssemblyName>DisposalIssue</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<Tailcalls>false</Tailcalls>
<PlatformTarget>
</PlatformTarget>
<Externalconsole>true</Externalconsole>
<CustomCommands>
<CustomCommands>
<Command type="Execute" command="&quot;/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/bin/XamarinStudio.exe&quot;" workingdir="/Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop" />
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<PlatformTarget>
</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Tailcalls>true</Tailcalls>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Numerics" />
<Reference Include="System.Drawing" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="ProvidedTypes-head.fsi" />
<Compile Include="ProvidedTypes-head.fs" />
<Compile Include="Script.fsx" />
<Compile Include="TestProvider.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />
<ItemGroup>
<None Include="paket.references" />
</ItemGroup>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.0.3')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\net40\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3' Or $(TargetFrameworkVersion) == 'v4.7')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\net45\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="($(TargetFrameworkIdentifier) == 'WindowsPhoneApp') Or ($(TargetFrameworkIdentifier) == '.NETCore') Or ($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v1.2' Or $(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v2.2' Or $(TargetFrameworkVersion) == 'v2.3' Or $(TargetFrameworkVersion) == 'v4.0.3' Or $(TargetFrameworkVersion) == 'v4.1' Or $(TargetFrameworkVersion) == 'v4.2' Or $(TargetFrameworkVersion) == 'v4.3' Or $(TargetFrameworkVersion) == 'v4.4' Or $(TargetFrameworkVersion) == 'v4.4W' Or $(TargetFrameworkVersion) == 'v5.0' Or $(TargetFrameworkVersion) == 'v5.1' Or $(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')) Or ($(TargetFrameworkIdentifier) == 'MonoTouch') Or ($(TargetFrameworkIdentifier) == 'Xamarin.iOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac') Or ($(TargetFrameworkIdentifier) == 'WindowsPhone' And ($(TargetFrameworkVersion) == 'v8.0' Or $(TargetFrameworkVersion) == 'v8.1')) Or ($(TargetFrameworkProfile) == 'Profile7') Or ($(TargetFrameworkProfile) == 'Profile31') Or ($(TargetFrameworkProfile) == 'Profile32') Or ($(TargetFrameworkProfile) == 'Profile44') Or ($(TargetFrameworkProfile) == 'Profile49') Or ($(TargetFrameworkProfile) == 'Profile78') Or ($(TargetFrameworkProfile) == 'Profile84') Or ($(TargetFrameworkProfile) == 'Profile111') Or ($(TargetFrameworkProfile) == 'Profile151') Or ($(TargetFrameworkProfile) == 'Profile157') Or ($(TargetFrameworkProfile) == 'Profile259')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\..\packages\Unquote\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Unquote" version="2.2.2" targetFramework="net40" />
</packages>

Просмотреть файл

@ -0,0 +1 @@
Unquote

Просмотреть файл

@ -1,20 +1,17 @@
namespace Xamarin.UIProvider.iOSRuntime
open System.Reflection
open Microsoft.FSharp.Core.CompilerServices
open System.Runtime.CompilerServices
[<assembly: AssemblyTitle("Xamarin.UIProvider.iOSRuntime")>]
[<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>]
[<assembly: AssemblyCompany("Xamarin")>]
[<assembly: AssemblyProduct("")>]
[<assembly: AssemblyCopyright("dave")>]
[<assembly: AssemblyCopyright("2017")>]
[<assembly: AssemblyTrademark("")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
[<assembly: AssemblyVersion("1.0.0.0")>]
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
//[<assembly: AssemblyDelaySign(false)>]
//[<assembly: AssemblyKeyFile("")>]
()

Просмотреть файл

@ -1,5 +0,0 @@
namespace global
open Microsoft.FSharp.Core.CompilerServices
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
()

Просмотреть файл

@ -46,7 +46,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Component1.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
</Project>

Просмотреть файл

Просмотреть файл

@ -1,6 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{3E91C654-B9C4-4920-8C70-9E6254AB131D}"
ProjectSection(SolutionItems) = preProject
..\..\paket.dependencies = ..\..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "DesignerTest", "DesignerTest\DesignerTest.fsproj", "{444D009C-7FF9-41A9-B92E-697A001F85C4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs_test", "cs_test\cs_test.csproj", "{22BC1B43-F146-466A-8116-9972A2420EC4}"

Просмотреть файл

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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>
@ -41,12 +41,6 @@
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Mono.Android" />
<Reference Include="Xamarin.Android.Support.v4">
<HintPath>..\packages\Xamarin.Android.Support.v4.23.1.1.0\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Support.v7.AppCompat">
<HintPath>..\packages\Xamarin.Android.Support.v7.AppCompat.23.1.1.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
@ -58,7 +52,7 @@
<None Include="Resources\AboutResources.txt" />
<None Include="Properties\AndroidManifest.xml" />
<None Include="Assets\AboutAssets.txt" />
<None Include="packages.config" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Main.axml" />
@ -74,4 +68,26 @@
<Folder Include="Resources\drawable\" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')">
<ItemGroup>
<Reference Include="Xamarin.Android.Support.v4">
<HintPath>..\..\..\packages\Xamarin.Android.Support.v4\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')">
<ItemGroup>
<Reference Include="Xamarin.Android.Support.v7.AppCompat">
<HintPath>..\..\..\packages\Xamarin.Android.Support.v7.AppCompat\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.Android.Support.v4" version="23.1.1.0" targetFramework="MonoAndroid60" />
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.1.1.0" targetFramework="MonoAndroid60" />
</packages>

Просмотреть файл

@ -0,0 +1 @@
Xamarin.Android.Support.v7.AppCompat

Просмотреть файл

@ -1,6 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{8076FAE0-3716-40F3-97DD-279AE3BC3226}"
ProjectSection(SolutionItems) = preProject
..\paket.dependencies = ..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.Android.UIPRovider", "Xamarin.Android.UIPRovider\Xamarin.Android.UIPRovider.fsproj", "{BDF5D89F-10DD-4232-9C5D-D1488FC3EDF8}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.Android.UIProvider.Runtime", "Xamarin.Android.UIProvider.Runtime\Xamarin.Android.UIProvider.Runtime.fsproj", "{3AAE14BD-F10D-44C0-A09C-685C95B52646}"

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -225,9 +225,6 @@ type ProvidedField =
member AddDefinitionLocation : line:int * column:int * filePath:string -> unit
member SetFieldAttributes : attributes : FieldAttributes -> unit
/// Add a custom attribute to the provided property definition.
member AddCustomAttribute : CustomAttributeData -> unit
/// Represents the type constructor in a provided symbol type.
[<NoComparison>]

Просмотреть файл

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@ -17,7 +17,8 @@
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<AndroidLinkMode>None</AndroidLinkMode>
<PlatformTarget></PlatformTarget>
<PlatformTarget>
</PlatformTarget>
<CustomCommands>
<CustomCommands>
<Command type="Execute" command="/Users/dave/code/xamarin/monodevelop/main/build/bin/MonoDevelop.exe --no-redirect" workingdir="/Users/dave/code/xamarin/monodevelop/main/build/bin/" />
@ -27,11 +28,13 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\build\Release</OutputPath>
<DefineConstants></DefineConstants>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<ConsolePause>false</ConsolePause>
<GenerateTailCalls>true</GenerateTailCalls>
<PlatformTarget></PlatformTarget>
<PlatformTarget>
</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Core" />
@ -44,19 +47,33 @@
<Reference Include="Java.Interop">
<HintPath>..\..\..\..\..\Library\Frameworks\Xamarin.Android.framework\Versions\6.1.99-76\lib\xbuild-frameworks\MonoAndroid\v1.0\Java.Interop.dll</HintPath>
</Reference>
<Reference Include="ExtCore">
<HintPath>..\packages\ExtCore.0.8.45\lib\net45\ExtCore.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="ProvidedTypes.fsi" />
<Compile Include="ProvidedTypes.fs" />
<Compile Include="DebugProvidedTypes.fs" />
<Compile Include="ProvidedTypes.fsi">
<Paket>True</Paket>
</Compile>
<Compile Include="ProvidedTypes.fs">
<Paket>True</Paket>
</Compile>
<Compile Include="DebugProvidedTypes.fs">
<Paket>True</Paket>
</Compile>
<Compile Include="ResourceGeneration.fs" />
<Compile Include="Provider.fs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="paket.references" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3' Or $(TargetFrameworkVersion) == 'v4.7')">
<ItemGroup>
<Reference Include="ExtCore">
<HintPath>..\..\packages\ExtCore\lib\net45\ExtCore.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Просмотреть файл

@ -1,6 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{D61A1AF4-6CA9-44F7-962D-6F855A57F620}"
ProjectSection(SolutionItems) = preProject
..\..\paket.dependencies = ..\..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.Android.UIPRovider", "Xamarin.Android.UIPRovider.fsproj", "{BDF5D89F-10DD-4232-9C5D-D1488FC3EDF8}"
EndProject
Global

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExtCore" version="0.8.45" targetFramework="net45" />
<package id="FSharp.TypeProviders.StarterPack" version="1.1.3.88" targetFramework="MonoAndroid60" />
</packages>

Просмотреть файл

@ -0,0 +1,2 @@
ExtCore
FSharp.TypeProviders.StarterPack

Просмотреть файл

Просмотреть файл

@ -1,20 +1,17 @@
namespace Xamarin.UIProvider.OSXRuntime
open System.Reflection
open Microsoft.FSharp.Core.CompilerServices
open System.Runtime.CompilerServices
[<assembly: AssemblyTitle("Xamarin.UIProvider.OSXRuntime")>]
[<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>]
[<assembly: AssemblyCompany("Xamarin")>]
[<assembly: AssemblyProduct("")>]
[<assembly: AssemblyCopyright("dave")>]
[<assembly: AssemblyCopyright("2017")>]
[<assembly: AssemblyTrademark("")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
[<assembly: AssemblyVersion("1.0.0.0")>]
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
//[<assembly: AssemblyDelaySign(false)>]
//[<assembly: AssemblyKeyFile("")>]
()

Просмотреть файл

@ -1,5 +0,0 @@
namespace global
open Microsoft.FSharp.Core.CompilerServices
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
()

Просмотреть файл

@ -56,7 +56,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Component1.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.FSharp.targets" />
</Project>

Просмотреть файл

Просмотреть файл

@ -1,19 +1,17 @@
namespace Xamarin.UIProvider.TVOSRuntime
open System.Reflection
open Microsoft.FSharp.Core.CompilerServices
open System.Runtime.CompilerServices
[<assembly: AssemblyTitle("Xamarin.UIProvider.TVOSRuntime")>]
[<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>]
[<assembly: AssemblyCompany("Xamarin")>]
[<assembly: AssemblyProduct("")>]
[<assembly: AssemblyCopyright("dave")>]
[<assembly: AssemblyCopyright("2017")>]
[<assembly: AssemblyTrademark("")>]
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
[<assembly: AssemblyVersion("1.0.0.0")>]
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
//[<assembly: AssemblyDelaySign(false)>]
//[<assembly: AssemblyKeyFile("")>]

Просмотреть файл

@ -1,5 +0,0 @@
namespace global
open Microsoft.FSharp.Core.CompilerServices
[<assembly:TypeProviderAssembly("Xamarin.UIProviders.DesignTime")>]
()

Просмотреть файл

@ -32,7 +32,6 @@
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Component1.fs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />

Просмотреть файл

Просмотреть файл

@ -1,106 +1,111 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProviders.DesignTime", "Xamarin.iOSProviders\Xamarin.UIProviders.DesignTime.fsproj", "{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.TVOSRuntime", "Xamarin.UIProvider.TVOSRuntime\Xamarin.UIProvider.TVOSRuntime.fsproj", "{4F84B7DD-A5E0-4BC3-9C9F-565988030202}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.iOSRuntime", "Xamarin.UIProvider.iOSRuntime\Xamarin.UIProvider.iOSRuntime.fsproj", "{90F944F1-593E-4960-B374-0F1367C1D0ED}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.OSXRuntime", "Xamarin.UIProvider.OSXRuntime\Xamarin.UIProvider.OSXRuntime.fsproj", "{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
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
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.AppStore|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhone.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.AppStore|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhone.Build.0 = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.AppStore|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhone.Build.0 = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhone.Build.0 = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.AppStore|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhone.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.AppStore|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhone.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.AppStore|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{5A197B75-5EEA-4726-8D3C-08A5BBC40008}"
ProjectSection(SolutionItems) = preProject
..\paket.dependencies = ..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProviders.DesignTime", "Xamarin.iOSProviders\Xamarin.UIProviders.DesignTime.fsproj", "{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.TVOSRuntime", "Xamarin.UIProvider.TVOSRuntime\Xamarin.UIProvider.TVOSRuntime.fsproj", "{4F84B7DD-A5E0-4BC3-9C9F-565988030202}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.iOSRuntime", "Xamarin.UIProvider.iOSRuntime\Xamarin.UIProvider.iOSRuntime.fsproj", "{90F944F1-593E-4960-B374-0F1367C1D0ED}"
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.UIProvider.OSXRuntime", "Xamarin.UIProvider.OSXRuntime\Xamarin.UIProvider.OSXRuntime.fsproj", "{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
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
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.AppStore|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhone.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhone.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhone.Build.0 = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.AppStore|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhone.Build.0 = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhone.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhone.Build.0 = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{6EBFDE55-9687-40A9-8C1A-6E204ECB117F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.AppStore|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhone.Build.0 = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhone.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhone.Build.0 = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B85F245B-3FB9-4253-8251-16F98F05B6EC}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|iPhone.Build.0 = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Release|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.AppStore|iPhone.Build.0 = Release|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F84B7DD-A5E0-4BC3-9C9F-565988030202}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|iPhone.Build.0 = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Release|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.AppStore|iPhone.Build.0 = Release|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90F944F1-593E-4960-B374-0F1367C1D0ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|iPhone.Build.0 = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Release|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.AppStore|iPhone.Build.0 = Release|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C2B961B-7314-487B-8C91-9C4A4B7A91D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal

Просмотреть файл

@ -1,14 +1,11 @@
namespace Xamarin.UIProviders.DesignTime
open System
open System.IO
open System.Reflection
open ProviderImplementation.ProvidedTypes
open Microsoft.FSharp.Core.CompilerServices
open Microsoft.FSharp.Quotations
open ProvidedTypes
open ExtCore.Control
open Swensen.Unquote
module Sanitise =
let cleanTrailing = String.trimEnd [|':'|]

Просмотреть файл

@ -1,9 +1,6 @@
namespace Xamarin.UIProviders.DesignTime
open System
open System.IO
open System.Xml
open System.Xml.Linq
open System.Linq
open ExtCore
open ExtCore.Control
open MonoTouch.Design
@ -19,35 +16,45 @@ module IOS =
let! destination = vc.FindById(ac.Destination) |> Option.ofObj
return {Selector=ac.Selector;ElementName= destination.Element.Name.LocalName}}
let createScene (scene : MonoTouch.Design.Scene) =
let vc = scene.ViewController
let outlets = vc.Outlets
let newOutlets =
outlets
|> Seq.choose (outletMap vc)
|> Seq.toList
let actions = maybe {
let! view = vc.View |> Option.ofObj
let! subviews = view.Subviews |> Option.ofObj
return subviews
|> Seq.collect (fun sv -> sv.Actions)
|> Seq.distinct
|> Seq.choose (actionMap vc)
|> Seq.toList } |> Option.fill List.empty
let newVc = {ViewController.XmlType = vc.Element.Name.LocalName
CustomClass = vc.CustomClass
Outlets = newOutlets
Actions = actions}
let view = Unchecked.defaultof<_>
let scene = {ViewController = newVc
View = view }
scene
let scenesFromXDoc (xdoc:XDocument) =
let idProvider = MonoTouch.Design.DefaultIdProvider()
let context = ModelObjectContext.Create(idProvider, Version(8,3,2), DeviceFamily.Undefined)
let scenes =
match Parser.Instance.Parse(xdoc.Root, DeviceFamily.Undefined) with
match Parser.Instance.Parse(xdoc.Root, DeviceFamily.Undefined, context) with
| :? Storyboard as sb -> sb.Scenes
| :? Xib as _xib -> failwith "Xib files are currently not supported"
| _ -> failwith "Could not parse file, no supported files were found"
scenes
|> Seq.map (fun scene ->
let vc = scene.ViewController
let outlets = vc.Outlets
let newOutlets =
outlets
|> Seq.choose (outletMap vc)
|> Seq.toList
let actions = maybe {
let! view = vc.View |> Option.ofObj
let! subviews = view.Subviews |> Option.ofObj
return subviews
|> Seq.collect (fun sv -> sv.Actions)
|> Seq.distinct
|> Seq.choose (actionMap vc)
|> Seq.toList } |> Option.fill List.empty
let newVc = {XmlType = vc.Element.Name.LocalName
CustomClass = vc.CustomClass
Outlets = newOutlets
Actions = actions}
let scene = {ViewController=newVc}
scene)
|> Seq.choose (fun scene ->
if String.IsNullOrWhiteSpace scene.CustomClass
then None
else Some (createScene scene))

Просмотреть файл

@ -70,7 +70,8 @@ module Mac =
|> Seq.collect (fun scene -> let vcElement = scene.Descendants(xn "viewController")
vcElement
|> Seq.choose (viewControllerMapping tryLookup)
|> Seq.map (fun vc -> {ViewController=vc}))
|> Seq.map (fun vc -> {ViewController=vc
View=[]}))
let scenesFromStoryBoardFileName (sb:string) =
let xdoc = XDocument.Load(new StreamReader(sb, true))

Просмотреть файл

@ -17,6 +17,12 @@ type ViewController = {
CustomClass : string
Outlets: Outlet List
Actions: Action List}
type View = {
XmlType: string
CustomClass : string
Outlets: Outlet List}
type Scene = {
ViewController : ViewController }
ViewController : ViewController
View : View }

Просмотреть файл

@ -1,7 +1,7 @@
#I "/Developer/MonoTouch/usr/lib/mono/2.1"
#r "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.dll"
#r "/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.Client.dll"
#r "packages/ExtCore.0.8.45/lib/net45/ExtCore.dll"
#r "../packages/ExtCore.0.8.45/lib/net45/ExtCore.dll"
#r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll"
#r "System.xml.Linq"
#load "ProvidedTypes.fs"
@ -16,7 +16,7 @@ open System.Net
open System.Linq
open ProviderImplementation
open ProviderImplementation.ProvidedTypes
open Xamarin.iOSProviders
open Xamarin.UIProviders
let (/) a b = Path.Combine(a, b)
let outputFolder = __SOURCE_DIRECTORY__ / "bin" / "Debug"
@ -24,7 +24,7 @@ let workingFolder = __SOURCE_DIRECTORY__ / "../../samples/StoryBoards/"
let assemblyName = "iOSDesignerTypeProvider.exe"
let runtimeAssembly = outputFolder / assemblyName
let config = [|box false;box true;box true |]
let generated = Debug.generate workingFolder runtimeAssembly (fun cfg -> new iOSDesignerProvider(cfg)) config
let generated = Debug.generate workingFolder runtimeAssembly (fun cfg -> new DesignTime.iOSDesignerProvider(cfg)) config
let output = Debug.prettyPrint false false 10 100 generated
printfn "%s" output

Просмотреть файл

@ -1,9 +1,6 @@
namespace Xamarin.UIProviders.DesignTime
open System
open System.Reflection
open System.IO
open System.Xml
open System.Xml.Linq
module internal MacMappings =
let rawmap =

Просмотреть файл

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@ -14,13 +14,9 @@
<OutputPath>..\Build\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<PlatformTarget></PlatformTarget>
<PlatformTarget>
</PlatformTarget>
<Externalconsole>true</Externalconsole>
<CustomCommands>
<CustomCommands>
<Command type="Execute" command="../../../monodevelop/main/build/bin/MonoDevelop.exe --no-redirect" workingdir="../../../monodevelop/main/build/" />
</CustomCommands>
</CustomCommands>
<Optimize>false</Optimize>
<Tailcalls>false</Tailcalls>
</PropertyGroup>
@ -30,10 +26,19 @@
<Optimize>true</Optimize>
<OutputPath>..\Build\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<PlatformTarget></PlatformTarget>
<PlatformTarget>
</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Tailcalls>true</Tailcalls>
<DefineConstants></DefineConstants>
<DefineConstants>
</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<StartAction>Program</StartAction>
<StartProgram>..\..\..\..\..\..\Applications\Visual Studio.app\Contents\Resources\lib\monodevelop\bin\VisualStudio.exe</StartProgram>
<StartArguments>--no-redirect</StartArguments>
<StartWorkingDirectory>..\..\..\..\..\..\Applications\Visual Studio.app\Contents\Resources\lib\monodevelop\bin\</StartWorkingDirectory>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@ -42,30 +47,33 @@
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="MonoTouch.Design">
<HintPath>\Applications\Xamarin Studio.app\Contents\Resources\lib\monodevelop\AddIns\MonoDevelop.IPhone\MonoTouch.Design.dll</HintPath>
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.dll</HintPath>
</Reference>
<Reference Include="MonoTouch.Design.Client">
<HintPath>\Applications\Xamarin Studio.app\Contents\Resources\lib\monodevelop\AddIns\MonoDevelop.IPhone\MonoTouch.Design.Client.dll</HintPath>
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoTouch.Design.Client.dll</HintPath>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="ExtCore">
<HintPath>..\packages\ExtCore.0.8.45\lib\net45\ExtCore.dll</HintPath>
</Reference>
<Reference Include="Unquote">
<HintPath>..\packages\Unquote.3.1.1\lib\net45\Unquote.dll</HintPath>
</Reference>
<Reference Include="MonoDevelop.MacDev">
<HintPath>..\..\..\md-addins\MonoDevelop.MacDev\build\MonoDevelop.MacDev.dll</HintPath>
<HintPath>/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.MacDev/MonoDevelop.MacDev.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Designer">
<HintPath>..\..\..\..\..\..\Applications\Visual Studio.app\Contents\Resources\lib\monodevelop\AddIns\Xamarin.Ide\Xamarin.Designer.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" />
<ItemGroup>
<Compile Include="..\..\paket-files\fsprojects\FSharp.TypeProviders.StarterPack\src\ProvidedTypes.fsi">
<Paket>True</Paket>
<Link>paket-files/ProvidedTypes.fsi</Link>
</Compile>
<Compile Include="..\..\paket-files\fsprojects\FSharp.TypeProviders.StarterPack\src\ProvidedTypes.fs">
<Paket>True</Paket>
<Link>paket-files/ProvidedTypes.fs</Link>
</Compile>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="ProvidedTypes.fsi" />
<Compile Include="ProvidedTypes.fs" />
<Compile Include="ProvidedTypesHelpers.fs" />
<Compile Include="Observable.fs" />
<Compile Include="IO.fs" />
<Compile Include="DebugProvidedTypes.fs" />
<Compile Include="RunTimeBindings.fs" />
<Compile Include="TypeMapper.fs" />
<Compile Include="Model.fs" />
@ -73,11 +81,48 @@
<Compile Include="IOSParsing.fs" />
<Compile Include="Designtime.fs" />
<Compile Include="iOSDesignerProvider.fs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" />
<ItemGroup>
<None Include="packages.config" />
<None Include="paket.references" />
<None Include="Script.fsx" />
<None Include="Debug.fs" />
</ItemGroup>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3' Or $(TargetFrameworkVersion) == 'v4.7')">
<ItemGroup>
<Reference Include="ExtCore">
<HintPath>..\..\packages\ExtCore\lib\net45\ExtCore.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.0.3')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\packages\Unquote\lib\net40\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3' Or $(TargetFrameworkVersion) == 'v4.7')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\packages\Unquote\lib\net45\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="($(TargetFrameworkIdentifier) == 'WindowsPhoneApp') Or ($(TargetFrameworkIdentifier) == '.NETCore') Or ($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v1.2' Or $(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v1.1' Or $(TargetFrameworkVersion) == 'v2.0')) Or ($(TargetFrameworkIdentifier) == 'MonoAndroid' And ($(TargetFrameworkVersion) == 'v1.0' Or $(TargetFrameworkVersion) == 'v2.2' Or $(TargetFrameworkVersion) == 'v2.3' Or $(TargetFrameworkVersion) == 'v4.0.3' Or $(TargetFrameworkVersion) == 'v4.1' Or $(TargetFrameworkVersion) == 'v4.2' Or $(TargetFrameworkVersion) == 'v4.3' Or $(TargetFrameworkVersion) == 'v4.4' Or $(TargetFrameworkVersion) == 'v4.4W' Or $(TargetFrameworkVersion) == 'v5.0' Or $(TargetFrameworkVersion) == 'v5.1' Or $(TargetFrameworkVersion) == 'v6.0' Or $(TargetFrameworkVersion) == 'v7.0' Or $(TargetFrameworkVersion) == 'v7.1')) Or ($(TargetFrameworkIdentifier) == 'MonoTouch') Or ($(TargetFrameworkIdentifier) == 'Xamarin.iOS') Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac') Or ($(TargetFrameworkIdentifier) == 'WindowsPhone' And ($(TargetFrameworkVersion) == 'v8.0' Or $(TargetFrameworkVersion) == 'v8.1')) Or ($(TargetFrameworkProfile) == 'Profile7') Or ($(TargetFrameworkProfile) == 'Profile31') Or ($(TargetFrameworkProfile) == 'Profile32') Or ($(TargetFrameworkProfile) == 'Profile44') Or ($(TargetFrameworkProfile) == 'Profile49') Or ($(TargetFrameworkProfile) == 'Profile78') Or ($(TargetFrameworkProfile) == 'Profile84') Or ($(TargetFrameworkProfile) == 'Profile111') Or ($(TargetFrameworkProfile) == 'Profile151') Or ($(TargetFrameworkProfile) == 'Profile157') Or ($(TargetFrameworkProfile) == 'Profile259')">
<ItemGroup>
<Reference Include="Unquote">
<HintPath>..\..\packages\Unquote\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Unquote.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
</Project>

Просмотреть файл

@ -1,6 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{89B3BDAF-823A-4D54-835B-D11E27BB07CE}"
ProjectSection(SolutionItems) = preProject
..\..\paket.dependencies = ..\..\paket.dependencies
EndProjectSection
EndProject
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "Xamarin.iOSProviders", "Xamarin.iOSProviders.fsproj", "{DD17E7B0-6EE1-4862-80F8-E0CAB67D6137}"
EndProject
Global

Просмотреть файл

@ -8,7 +8,6 @@ open System.Xml.Linq
open System.Reflection
open ProviderImplementation.ProvidedTypes
open Microsoft.FSharp.Core.CompilerServices
open MonoTouch.Design
open ProvidedTypes
[<TypeProvider>]
@ -46,20 +45,26 @@ type iOSDesignerProvider(config: TypeProviderConfig) as this =
| RunTime.TVOS -> IOS.scenesFromXDoc xdoc
yield! scenes }
let groupedViewControllers =
let groupedViewControllers =
query {for scene in scenes do
where (not (String.IsNullOrWhiteSpace scene.ViewController.CustomClass))
groupValBy scene.ViewController scene.ViewController.CustomClass}
let groupedViews =
query {for scene in scenes do
groupValBy scene.View scene.View.CustomClass}
//generate storyboard container
let container = ProvidedTypeDefinition(asm, ns, typeName, Some(typeof<obj>), IsErased=false)
let generatedTypes =
[ for sc in groupedViewControllers do
let vcs = sc.AsEnumerable()
// if not (String.IsNullOrWhiteSpace sc.ViewController.CustomClass) then
yield TypeBuilder.buildController runtimeBinding vcs isAbstract addUnitCtor register config ]
let viewControllers = sc.AsEnumerable()
yield TypeBuilder.buildController runtimeBinding viewControllers isAbstract addUnitCtor register config
for v in groupedViews do
let views = v.AsEnumerable()
() ]
//Add the types to the container
container.AddMembers generatedTypes

Просмотреть файл

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExtCore" version="0.8.45" targetFramework="net45" />
<package id="FSharp.TypeProviders.StarterPack" version="1.1.3.88" targetFramework="net45" />
<package id="Unquote" version="3.1.1" targetFramework="net45" />
</packages>

Просмотреть файл

@ -0,0 +1,5 @@
ExtCore
Unquote
File:ProvidedTypes.fsi
File:ProvidedTypes.fs