Fix sample apps
This commit is contained in:
Родитель
9124ddeae3
Коммит
c008ce6347
|
@ -6,7 +6,7 @@
|
||||||
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids>
|
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<RootNamespace>CocoaApp</RootNamespace>
|
<RootNamespace>CocoaApp</RootNamespace>
|
||||||
<AssemblyName>CocoaApp</AssemblyName>
|
<AssemblyName>cocoa_cs_test</AssemblyName>
|
||||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||||
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
|
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
|
||||||
<MonoMacResourcePrefix>Resources</MonoMacResourcePrefix>
|
<MonoMacResourcePrefix>Resources</MonoMacResourcePrefix>
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
<application id="hnw-xV-0zn" sceneMemberID="viewController">
|
<application id="hnw-xV-0zn" sceneMemberID="viewController">
|
||||||
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
|
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
|
||||||
<items>
|
<items>
|
||||||
<menuItem title="cocoa_test" id="1Xt-HY-uBw">
|
<menuItem title="cocoa_cs_test" id="1Xt-HY-uBw">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<menu key="submenu" title="cocoa_test" systemMenu="apple" id="uQy-DD-JDr">
|
<menu key="submenu" title="cocoa_cs_test" systemMenu="apple" id="uQy-DD-JDr">
|
||||||
<items>
|
<items>
|
||||||
<menuItem title="About cocoa_test" id="5kV-Vb-QxS">
|
<menuItem title="About cocoa_cs_test" id="5kV-Vb-QxS">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
|
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
|
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
|
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
|
||||||
<menuItem title="Hide cocoa_test" keyEquivalent="h" id="Olw-nP-bQN">
|
<menuItem title="Hide cocoa_cs_test" keyEquivalent="h" id="Olw-nP-bQN">
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
|
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
|
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
|
||||||
<menuItem title="Quit cocoa_test" keyEquivalent="q" id="4sb-4s-VLi">
|
<menuItem title="Quit cocoa_cs_test" keyEquivalent="q" id="4sb-4s-VLi">
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
|
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
@ -506,22 +506,19 @@
|
||||||
<menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH">
|
<menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="YGs-j5-SAR">
|
<menuItem title=" Default" id="YGs-j5-SAR">
|
||||||
<string key="title"> Default</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeBaseWritingDirectionNatural:" target="Ady-hI-5gd" id="qtV-5e-UBP"/>
|
<action selector="makeBaseWritingDirectionNatural:" target="Ady-hI-5gd" id="qtV-5e-UBP"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="Lbh-J2-qVU">
|
<menuItem title=" Left to Right" id="Lbh-J2-qVU">
|
||||||
<string key="title"> Left to Right</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeBaseWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="S0X-9S-QSf"/>
|
<action selector="makeBaseWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="S0X-9S-QSf"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="jFq-tB-4Kx">
|
<menuItem title=" Right to Left" id="jFq-tB-4Kx">
|
||||||
<string key="title"> Right to Left</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeBaseWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="5fk-qB-AqJ"/>
|
<action selector="makeBaseWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="5fk-qB-AqJ"/>
|
||||||
|
@ -531,22 +528,19 @@
|
||||||
<menuItem title="Selection" enabled="NO" id="cqv-fj-IhA">
|
<menuItem title="Selection" enabled="NO" id="cqv-fj-IhA">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="Nop-cj-93Q">
|
<menuItem title=" Default" id="Nop-cj-93Q">
|
||||||
<string key="title"> Default</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeTextWritingDirectionNatural:" target="Ady-hI-5gd" id="lPI-Se-ZHp"/>
|
<action selector="makeTextWritingDirectionNatural:" target="Ady-hI-5gd" id="lPI-Se-ZHp"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="BgM-ve-c93">
|
<menuItem title=" Left to Right" id="BgM-ve-c93">
|
||||||
<string key="title"> Left to Right</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeTextWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="caW-Bv-w94"/>
|
<action selector="makeTextWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="caW-Bv-w94"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem id="RB4-Sm-HuC">
|
<menuItem title=" Right to Left" id="RB4-Sm-HuC">
|
||||||
<string key="title"> Right to Left</string>
|
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="makeTextWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="EXD-6r-ZUu"/>
|
<action selector="makeTextWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="EXD-6r-ZUu"/>
|
||||||
|
@ -628,7 +622,7 @@
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
|
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
|
||||||
<items>
|
<items>
|
||||||
<menuItem title="cocoa_test Help" keyEquivalent="?" id="FKE-Sm-Kum">
|
<menuItem title="cocoa_cs_test Help" keyEquivalent="?" id="FKE-Sm-Kum">
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
|
<action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
@ -642,7 +636,7 @@
|
||||||
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
|
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
|
||||||
</connections>
|
</connections>
|
||||||
</application>
|
</application>
|
||||||
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="cocoa_test" customModuleProvider="target"/>
|
<customObject id="Voe-Tx-rLC" customClass="AppDelegate"/>
|
||||||
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="75" y="0.0"/>
|
<point key="canvasLocation" x="75" y="0.0"/>
|
||||||
|
@ -668,34 +662,34 @@
|
||||||
<!--View Controller-->
|
<!--View Controller-->
|
||||||
<scene sceneID="hIz-AP-VOD">
|
<scene sceneID="hIz-AP-VOD">
|
||||||
<objects>
|
<objects>
|
||||||
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="cocoa_test" sceneMemberID="viewController">
|
<viewController id="XfG-lQ-9wD" customClass="ViewController" sceneMemberID="viewController">
|
||||||
<view key="view" id="m2S-Jp-Qdl">
|
<view key="view" id="m2S-Jp-Qdl">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
|
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gUI-iA-QN3">
|
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="iLO-pF-979">
|
||||||
<rect key="frame" x="194" y="253" width="93" height="17"/>
|
<rect key="frame" x="236" y="183" width="37" height="17"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="This is my App" id="Mj7-9z-Qet">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="34G-Eh-EWV">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gbt-X3-z17">
|
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CYB-u2-Pml">
|
||||||
<rect key="frame" x="179" y="118" width="122" height="32"/>
|
<rect key="frame" x="220" y="89" width="81" height="32"/>
|
||||||
<buttonCell key="cell" type="push" title="Do not press!" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nWw-QO-4ab">
|
<buttonCell key="cell" type="push" title="Button" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="psC-8Z-mzu">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
</buttonCell>
|
</buttonCell>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="onButton:" target="XfG-lQ-9wD" id="6ls-Sw-tNs"/>
|
<action selector="onButton:" target="XfG-lQ-9wD" id="iXI-mo-ZXS"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
</view>
|
</view>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="myButton" destination="gbt-X3-z17" id="KrC-YE-wrD"/>
|
<outlet property="myButton" destination="CYB-u2-Pml" id="7qL-0b-qpE"/>
|
||||||
<outlet property="myLabel" destination="gUI-iA-QN3" id="QDg-cQ-xvK"/>
|
<outlet property="myLabel" destination="iLO-pF-979" id="BPp-P6-9WI"/>
|
||||||
</connections>
|
</connections>
|
||||||
</viewController>
|
</viewController>
|
||||||
<customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
<customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
||||||
|
|
|
@ -9,12 +9,15 @@ type Container = Xamarin.UIProvider
|
||||||
type myViewController(handle) =
|
type myViewController(handle) =
|
||||||
inherit Container.ViewControllerBase(handle)
|
inherit Container.ViewControllerBase(handle)
|
||||||
|
|
||||||
override x.ViewDidLoad () =
|
let onButton button =
|
||||||
base.ViewDidLoad ()
|
printfn "Button pressed"
|
||||||
// Do any additional setup after loading the view.
|
|
||||||
//x.OnButton <- Some(fun _ -> x.View.Layer.BackgroundColor <- new CoreGraphics.CGColor("purple"))
|
|
||||||
|
|
||||||
override x.RepresentedObject
|
override x.ViewDidLoad () =
|
||||||
// Update the view, if already loaded.
|
base.ViewDidLoad ()
|
||||||
with get() = base.RepresentedObject
|
// Do any additional setup after loading the view.
|
||||||
and set(v) = base.RepresentedObject <- v
|
x.OnButton <- Some(fun _ -> x.View.Window.BackgroundColor <- AppKit.NSColor.Red)
|
||||||
|
|
||||||
|
override x.RepresentedObject
|
||||||
|
// Update the view, if already loaded.
|
||||||
|
with get() = base.RepresentedObject
|
||||||
|
and set(v) = base.RepresentedObject <- v
|
||||||
|
|
|
@ -1,19 +1,17 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 2012
|
# Visual Studio 2012
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "unified", "unified", "{84C29D09-A71E-4B50-BD40-A679904BB3D9}"
|
|
||||||
EndProject
|
|
||||||
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "SingleViewUniversal", "unified\SingleViewUniversal\SingleViewUniversal.fsproj", "{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}"
|
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "SingleViewUniversal", "unified\SingleViewUniversal\SingleViewUniversal.fsproj", "{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "singleview_tvOS", "unified\singleview_tvOS\singleview_tvOS.fsproj", "{00BF2AD3-867C-4A12-8AE6-907D4F02380F}"
|
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "singleview_tvOS", "unified\singleview_tvOS\singleview_tvOS.fsproj", "{00BF2AD3-867C-4A12-8AE6-907D4F02380F}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaApp", "CocoaApp\CocoaApp.fsproj", "{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}"
|
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "CocoaApp", "CocoaApp\CocoaApp.fsproj", "{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "fsharp_masterdetail", "unified\MasterDetail\fsharp_masterdetail.fsproj", "{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}"
|
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "WatchkitTest", "unified\WatchkitTest\WatchkitTest.fsproj", "{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "fullTest", "unified\fullTest\fullTest.fsproj", "{5CE87E55-6637-4C6B-B693-C2B33914FFBD}"
|
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fullTest", "unified\fullTest\fullTest.fsproj", "{A202739B-6E4E-4772-A2B6-2E427643FF15}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "WatchkitTest", "unified\WatchkitTest\WatchkitTest.fsproj", "{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}"
|
Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "fsharp_masterdetail", "unified\MasterDetail\fsharp_masterdetail.fsproj", "{14BE2E7C-3220-4128-A8B2-45DCB985B844}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
@ -75,60 +73,55 @@ Global
|
||||||
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.Ad-Hoc|iPhone.Build.0 = 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.ActiveCfg = Release|iPhone
|
||||||
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.Build.0 = Release|iPhone
|
{7EF80A0C-9765-4E3B-A13B-0B1E77E9CCAA}.AppStore|iPhone.Build.0 = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Debug|iPhone.Build.0 = Debug|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|iPhone.ActiveCfg = Release|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Release|iPhone.Build.0 = Release|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Release|iPhone.Build.0 = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.ActiveCfg = Release|iPhone
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F}.AppStore|iPhone.Build.0 = AppStore|iPhone
|
{7CB94428-22F3-41BD-8F5F-8BBF831AEFE1}.AppStore|iPhone.Build.0 = Release|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Debug|iPhone.Build.0 = Debug|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|iPhone.ActiveCfg = Release|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Release|iPhone.Build.0 = Release|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Release|iPhone.Build.0 = Release|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD}.AppStore|iPhone.Build.0 = AppStore|iPhone
|
{A202739B-6E4E-4772-A2B6-2E427643FF15}.AppStore|iPhone.Build.0 = AppStore|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|x86.Build.0 = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Debug|iPhone.Build.0 = Debug|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|iPhone.ActiveCfg = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Release|iPhone.Build.0 = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Release|iPhone.Build.0 = Release|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.Ad-Hoc|iPhone.Build.0 = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.AppStore|iPhone.ActiveCfg = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F}.AppStore|iPhone.Build.0 = Release|iPhone
|
{14BE2E7C-3220-4128-A8B2-45DCB985B844}.AppStore|iPhone.Build.0 = AppStore|iPhone
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
GlobalSection(NestedProjects) = preSolution
|
||||||
{4A95C0B9-1453-47C0-B6A1-FEE6122BD11A} = {84C29D09-A71E-4B50-BD40-A679904BB3D9}
|
|
||||||
{00BF2AD3-867C-4A12-8AE6-907D4F02380F} = {84C29D09-A71E-4B50-BD40-A679904BB3D9}
|
|
||||||
{0FFAA8F7-6235-4096-9E89-4B2FFBD48B1F} = {84C29D09-A71E-4B50-BD40-A679904BB3D9}
|
|
||||||
{5CE87E55-6637-4C6B-B693-C2B33914FFBD} = {84C29D09-A71E-4B50-BD40-A679904BB3D9}
|
|
||||||
{27B9311A-FAAC-4DFD-8128-9D55CD15E83F} = {84C29D09-A71E-4B50-BD40-A679904BB3D9}
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>MinimumOSVersion</key>
|
<key>MinimumOSVersion</key>
|
||||||
<string>8.0</string>
|
<string>9.2</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
|
@ -18,5 +18,9 @@
|
||||||
<string>com.your-company.fsharp_masterdetail</string>
|
<string>com.your-company.fsharp_masterdetail</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>fsharp_masterdetail</string>
|
<string>fsharp_masterdetail</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>fsharp_masterdetail</string>
|
||||||
|
<key>UILaunchStoryboardName</key>
|
||||||
|
<string>LaunchScreen</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -0,0 +1,70 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<document
|
||||||
|
type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
|
||||||
|
version="3.0"
|
||||||
|
toolsVersion="9532"
|
||||||
|
systemVersion="15D21"
|
||||||
|
targetRuntime="iOS.CocoaTouch"
|
||||||
|
propertyAccessControl="none"
|
||||||
|
useAutolayout="YES"
|
||||||
|
launchScreen="YES"
|
||||||
|
useTraitCollections="YES"
|
||||||
|
initialViewController="01J-lp-oVM">
|
||||||
|
<dependencies>
|
||||||
|
<deployment
|
||||||
|
identifier="iOS" />
|
||||||
|
<plugIn
|
||||||
|
identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
|
||||||
|
version="9530" />
|
||||||
|
</dependencies>
|
||||||
|
<scenes>
|
||||||
|
<!--View Controller-->
|
||||||
|
<scene
|
||||||
|
sceneID="EHf-IW-A2E">
|
||||||
|
<objects>
|
||||||
|
<viewController
|
||||||
|
id="01J-lp-oVM"
|
||||||
|
sceneMemberID="viewController">
|
||||||
|
<layoutGuides>
|
||||||
|
<viewControllerLayoutGuide
|
||||||
|
type="top"
|
||||||
|
id="Llm-lL-Icb" />
|
||||||
|
<viewControllerLayoutGuide
|
||||||
|
type="bottom"
|
||||||
|
id="xb3-aO-Qok" />
|
||||||
|
</layoutGuides>
|
||||||
|
<view
|
||||||
|
key="view"
|
||||||
|
contentMode="scaleToFill"
|
||||||
|
id="Ze5-6b-2t3">
|
||||||
|
<rect
|
||||||
|
key="frame"
|
||||||
|
x="0.0"
|
||||||
|
y="0.0"
|
||||||
|
width="600"
|
||||||
|
height="600" />
|
||||||
|
<autoresizingMask
|
||||||
|
key="autoresizingMask"
|
||||||
|
widthSizable="YES"
|
||||||
|
heightSizable="YES" />
|
||||||
|
<color
|
||||||
|
key="backgroundColor"
|
||||||
|
white="1"
|
||||||
|
alpha="1"
|
||||||
|
colorSpace="custom"
|
||||||
|
customColorSpace="calibratedWhite" />
|
||||||
|
</view>
|
||||||
|
</viewController>
|
||||||
|
<placeholder
|
||||||
|
placeholderIdentifier="IBFirstResponder"
|
||||||
|
id="iYj-Kq-Ea1"
|
||||||
|
userLabel="First Responder"
|
||||||
|
sceneMemberID="firstResponder" />
|
||||||
|
</objects>
|
||||||
|
<point
|
||||||
|
key="canvasLocation"
|
||||||
|
x="53"
|
||||||
|
y="375" />
|
||||||
|
</scene>
|
||||||
|
</scenes>
|
||||||
|
</document>
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?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="rS3-R9-Ivy">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6206.8" systemVersion="13A461" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="rS3-R9-Ivy" useTraitCollections="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3676"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7026.1"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<scenes>
|
<scenes>
|
||||||
<!--Navigation Controller-->
|
<!--Navigation Controller-->
|
||||||
|
@ -10,6 +10,7 @@
|
||||||
<navigationController id="rS3-R9-Ivy" sceneMemberID="viewController">
|
<navigationController id="rS3-R9-Ivy" sceneMemberID="viewController">
|
||||||
<navigationBar key="navigationBar" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="yXu-0R-QUA">
|
<navigationBar key="navigationBar" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="yXu-0R-QUA">
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<rect key="frame" x="0.0" y="20" width="600" height="44"/>
|
||||||
</navigationBar>
|
</navigationBar>
|
||||||
<connections>
|
<connections>
|
||||||
<segue destination="pGg-6v-bdr" kind="relationship" relationship="rootViewController" id="RxB-wf-QIq"/>
|
<segue destination="pGg-6v-bdr" kind="relationship" relationship="rootViewController" id="RxB-wf-QIq"/>
|
||||||
|
@ -24,19 +25,19 @@
|
||||||
<objects>
|
<objects>
|
||||||
<tableViewController title="Master" id="pGg-6v-bdr" customClass="MasterViewController" sceneMemberID="viewController">
|
<tableViewController title="Master" id="pGg-6v-bdr" customClass="MasterViewController" sceneMemberID="viewController">
|
||||||
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="mLL-gJ-YKr">
|
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="mLL-gJ-YKr">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
<prototypes>
|
<prototypes>
|
||||||
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="2pz-XF-uhl" style="IBUITableViewCellStyleDefault" id="m0d-ak-lc9">
|
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="2pz-XF-uhl" style="IBUITableViewCellStyleDefault" id="m0d-ak-lc9" rowHeight="44">
|
||||||
<rect key="frame" x="0.0" y="86" width="320" height="44"/>
|
<rect key="frame" x="0.0" y="22" width="600" height="44"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
|
<rect key="frame" x="0.0" y="0.0" width="562" height="43.5"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="2pz-XF-uhl">
|
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="2pz-XF-uhl">
|
||||||
<rect key="frame" x="15" y="0.0" width="270" height="43"/>
|
<rect key="frame" x="20" y="0.0" width="542" height="43.5"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
|
@ -47,7 +48,7 @@
|
||||||
</view>
|
</view>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
<connections>
|
<connections>
|
||||||
<segue destination="Ah7-4n-0Wa" kind="push" identifier="showDetail" id="jUr-3t-vfg"/>
|
<segue destination="Ah7-4n-0Wa" kind="show" identifier="showDetail" id="jUr-3t-vfg"/>
|
||||||
</connections>
|
</connections>
|
||||||
</tableViewCell>
|
</tableViewCell>
|
||||||
</prototypes>
|
</prototypes>
|
||||||
|
@ -61,18 +62,22 @@
|
||||||
</tableViewController>
|
</tableViewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="6Cn-md-YlS" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="6Cn-md-YlS" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="459" y="64"/>
|
<point key="canvasLocation" x="632" y="63"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--class Prefix:identifier Detail View Controller - Detail-->
|
<!--class Prefix:identifier Detail View Controller - Detail-->
|
||||||
<scene sceneID="Cn3-H9-jdl">
|
<scene sceneID="Cn3-H9-jdl">
|
||||||
<objects>
|
<objects>
|
||||||
<viewController title="Detail" id="Ah7-4n-0Wa" customClass="DetailViewController" sceneMemberID="viewController">
|
<viewController title="Detail" id="Ah7-4n-0Wa" customClass="DetailViewController" sceneMemberID="viewController">
|
||||||
|
<layoutGuides>
|
||||||
|
<viewControllerLayoutGuide type="top" id="5"/>
|
||||||
|
<viewControllerLayoutGuide type="bottom" id="6"/>
|
||||||
|
</layoutGuides>
|
||||||
<view key="view" contentMode="scaleToFill" id="MMQ-IT-qOo">
|
<view key="view" contentMode="scaleToFill" id="MMQ-IT-qOo">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Detail view content goes here" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="Lei-5M-9Gs">
|
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Detail view content goes here" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="Lei-5M-9Gs">
|
||||||
<rect key="frame" x="20" y="276" width="280" height="17"/>
|
<rect key="frame" x="20" y="291.5" width="560" height="17"/>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
<fontDescription key="fontDescription" type="system" size="system"/>
|
<fontDescription key="fontDescription" type="system" size="system"/>
|
||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
|
@ -93,12 +98,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="lrm-kH-fPn" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="lrm-kH-fPn" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="902" y="64"/>
|
<point key="canvasLocation" x="1271" y="60"/>
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
|
||||||
<simulatedStatusBarMetrics key="statusBar"/>
|
|
||||||
<simulatedOrientationMetrics key="orientation"/>
|
|
||||||
<simulatedScreenMetrics key="destination" type="retina4"/>
|
|
||||||
</simulatedMetricsContainer>
|
|
||||||
</document>
|
</document>
|
|
@ -3,7 +3,7 @@
|
||||||
open System
|
open System
|
||||||
open UIKit
|
open UIKit
|
||||||
open Foundation
|
open Foundation
|
||||||
open Xamarin.iOSProviders
|
open Xamarin
|
||||||
|
|
||||||
//view controllers are generated from the type provider and embedded into the assembly here
|
//view controllers are generated from the type provider and embedded into the assembly here
|
||||||
type Container = UIProvider
|
type Container = UIProvider
|
||||||
|
@ -40,14 +40,6 @@ type DataSource (controller:UITableViewController) =
|
||||||
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view.
|
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view.
|
||||||
| _ -> ()
|
| _ -> ()
|
||||||
|
|
||||||
// Override to support rearranging the table view.
|
|
||||||
// override x.MoveRow (tableView, sourceIndexPath, destinationIndexPath) = ()
|
|
||||||
|
|
||||||
// Override to support conditional rearranging of the table view.
|
|
||||||
// override x.CanMoveRow (tableView, indexPath) =
|
|
||||||
// // Return false if you do not want the item to be re-orderable.
|
|
||||||
// true
|
|
||||||
|
|
||||||
[<Register (Container.DetailViewControllerBase.CustomClass)>]
|
[<Register (Container.DetailViewControllerBase.CustomClass)>]
|
||||||
type DetailViewController (handle) =
|
type DetailViewController (handle) =
|
||||||
inherit Container.DetailViewControllerBase (handle)
|
inherit Container.DetailViewControllerBase (handle)
|
||||||
|
@ -62,7 +54,8 @@ type DetailViewController (handle) =
|
||||||
member x.ConfigureView () =
|
member x.ConfigureView () =
|
||||||
// Update the user interface for the detail item
|
// Update the user interface for the detail item
|
||||||
if x.IsViewLoaded && detailItem <> null then
|
if x.IsViewLoaded && detailItem <> null then
|
||||||
x.DetailDescriptionLabel.Text <- detailItem.ToString ()
|
x.detailDescriptionLabel.Text <- detailItem.ToString ()
|
||||||
|
|
||||||
|
|
||||||
override x.DidReceiveMemoryWarning () =
|
override x.DidReceiveMemoryWarning () =
|
||||||
// Releases the view if it doesn't have a superview.
|
// Releases the view if it doesn't have a superview.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Tailcalls>false</Tailcalls>
|
<Tailcalls>false</Tailcalls>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements></CodesignEntitlements>
|
||||||
<PlatformTarget></PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
<MtouchDebug>true</MtouchDebug>
|
<MtouchDebug>true</MtouchDebug>
|
||||||
<MtouchLink>None</MtouchLink>
|
<MtouchLink>None</MtouchLink>
|
||||||
|
@ -101,10 +101,10 @@
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="Xamarin.iOSProviders">
|
|
||||||
<HintPath>..\..\..\src\Xamarin.iOSProviders\bin\Debug\Xamarin.iOSProviders.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Xamarin.iOS" />
|
<Reference Include="Xamarin.iOS" />
|
||||||
|
<Reference Include="Xamarin.UIProvider.iOSRuntime">
|
||||||
|
<HintPath>..\..\..\src\Build\Debug\Xamarin.UIProvider.iOSRuntime.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Resources\" />
|
<Folder Include="Resources\" />
|
||||||
|
@ -120,5 +120,6 @@
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<InterfaceDefinition Include="MainStoryboard.storyboard" />
|
<InterfaceDefinition Include="MainStoryboard.storyboard" />
|
||||||
|
<InterfaceDefinition Include="LaunchScreen.storyboard" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -18,13 +18,11 @@
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Tailcalls>false</Tailcalls>
|
<Tailcalls>false</Tailcalls>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements></CodesignEntitlements>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<MtouchDebug>true</MtouchDebug>
|
<MtouchDebug>true</MtouchDebug>
|
||||||
<MtouchLink>None</MtouchLink>
|
<MtouchLink>None</MtouchLink>
|
||||||
<MtouchI18n>
|
<MtouchI18n></MtouchI18n>
|
||||||
</MtouchI18n>
|
|
||||||
<MtouchArch>i386</MtouchArch>
|
<MtouchArch>i386</MtouchArch>
|
||||||
<CodesignKey>iPhone Developer</CodesignKey>
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -35,8 +33,7 @@
|
||||||
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
|
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
|
||||||
<DefineConstants>__MOBILE__;__IOS__</DefineConstants>
|
<DefineConstants>__MOBILE__;__IOS__</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<Tailcalls>true</Tailcalls>
|
<Tailcalls>true</Tailcalls>
|
||||||
|
@ -51,12 +48,10 @@
|
||||||
<Tailcalls>false</Tailcalls>
|
<Tailcalls>false</Tailcalls>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<MtouchDebug>true</MtouchDebug>
|
<MtouchDebug>true</MtouchDebug>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<CodesignKey>iPhone Developer</CodesignKey>
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
<IpaPackageName>
|
<IpaPackageName></IpaPackageName>
|
||||||
</IpaPackageName>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
@ -65,8 +60,7 @@
|
||||||
<OutputPath>bin\iPhone\Release</OutputPath>
|
<OutputPath>bin\iPhone\Release</OutputPath>
|
||||||
<DefineConstants>__MOBILE__;__IOS__</DefineConstants>
|
<DefineConstants>__MOBILE__;__IOS__</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<CodesignKey>iPhone Developer</CodesignKey>
|
<CodesignKey>iPhone Developer</CodesignKey>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<Tailcalls>true</Tailcalls>
|
<Tailcalls>true</Tailcalls>
|
||||||
|
@ -82,8 +76,7 @@
|
||||||
<Tailcalls>true</Tailcalls>
|
<Tailcalls>true</Tailcalls>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<CodesignKey>iPhone Distribution</CodesignKey>
|
<CodesignKey>iPhone Distribution</CodesignKey>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
|
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
|
||||||
<BuildIpa>true</BuildIpa>
|
<BuildIpa>true</BuildIpa>
|
||||||
|
@ -98,8 +91,7 @@
|
||||||
<Tailcalls>true</Tailcalls>
|
<Tailcalls>true</Tailcalls>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<CodesignKey>iPhone Distribution</CodesignKey>
|
<CodesignKey>iPhone Distribution</CodesignKey>
|
||||||
<PlatformTarget>
|
<PlatformTarget></PlatformTarget>
|
||||||
</PlatformTarget>
|
|
||||||
<CodesignProvision>Automatic:AppStore</CodesignProvision>
|
<CodesignProvision>Automatic:AppStore</CodesignProvision>
|
||||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -107,10 +99,10 @@
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="Xamarin.iOSProviders">
|
|
||||||
<HintPath>..\..\..\src\Xamarin.iOSProviders\bin\Debug\Xamarin.iOSProviders.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Xamarin.iOS" />
|
<Reference Include="Xamarin.iOS" />
|
||||||
|
<Reference Include="Xamarin.UIProvider.iOSRuntime">
|
||||||
|
<HintPath>..\..\..\src\Build\Debug\Xamarin.UIProvider.iOSRuntime.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Resources\" />
|
<Folder Include="Resources\" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
open System
|
open System
|
||||||
open UIKit
|
open UIKit
|
||||||
open Foundation
|
open Foundation
|
||||||
open Xamarin.iOSProviders
|
open Xamarin
|
||||||
|
|
||||||
//view controller is generated from the type provider and embedded into the assembly here
|
//view controller is generated from the type provider and embedded into the assembly here
|
||||||
type VCContainer = UIProvider
|
type VCContainer = UIProvider
|
||||||
|
@ -15,10 +15,10 @@ type MyViewController (handle) =
|
||||||
//Overrides are implemented on the derived type
|
//Overrides are implemented on the derived type
|
||||||
override x.ViewDidLoad() =
|
override x.ViewDidLoad() =
|
||||||
//Access to the outlets are available
|
//Access to the outlets are available
|
||||||
x.MyButton.TouchDown.Add (fun _ -> x.View.BackgroundColor <- UIColor.Purple)
|
x.myButton.TouchDown.Add (fun _ -> x.View.BackgroundColor <- UIColor.Purple)
|
||||||
|
|
||||||
//Access to actions are available
|
//Access to actions are available
|
||||||
x.Mytouchup <- fun _ -> x.View.BackgroundColor <- UIColor.Yellow
|
x.Mytouchup <- Some(fun _ -> x.View.BackgroundColor <- UIColor.Yellow)
|
||||||
|
|
||||||
override x.ShouldAutorotateToInterfaceOrientation (orientation) =
|
override x.ShouldAutorotateToInterfaceOrientation (orientation) =
|
||||||
orientation <> UIInterfaceOrientation.PortraitUpsideDown
|
orientation <> UIInterfaceOrientation.PortraitUpsideDown
|
||||||
|
|
Загрузка…
Ссылка в новой задаче