Created
May 23, 2013 19:18
-
-
Save jfren484/5638688 to your computer and use it in GitHub Desktop.
TestCustomControl project for Stack Overflow.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace TestCustomControl | |
{ | |
[Register ("AppDelegate")] | |
public partial class AppDelegate : UIApplicationDelegate | |
{ | |
UIWindow window; | |
TestCustomControlViewController viewController; | |
public override bool FinishedLaunching (UIApplication app, NSDictionary options) | |
{ | |
window = new UIWindow(UIScreen.MainScreen.Bounds); | |
viewController = new TestCustomControlViewController(); | |
window.RootViewController = viewController; | |
window.MakeKeyAndVisible (); | |
return true; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>UISupportedInterfaceOrientations</key> | |
<array> | |
<string>UIInterfaceOrientationPortrait</string> | |
<string>UIInterfaceOrientationLandscapeLeft</string> | |
<string>UIInterfaceOrientationLandscapeRight</string> | |
</array> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MonoTouch.UIKit; | |
namespace TestCustomControl | |
{ | |
public class Application | |
{ | |
static void Main (string[] args) | |
{ | |
UIApplication.Main (args, null, "AppDelegate"); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MonoTouch.UIKit; | |
namespace TestCustomControl | |
{ | |
public class PickerModel : UIPickerViewModel | |
{ | |
public string SelectedItem { get; private set; } | |
public override int GetComponentCount (UIPickerView picker) | |
{ | |
return 1; | |
} | |
public override int GetRowsInComponent (UIPickerView picker, int component) | |
{ | |
return 5; | |
} | |
public override string GetTitle (UIPickerView picker, int row, int component) | |
{ | |
return string.Format ("Item Number {0}", row); | |
} | |
public override void Selected (UIPickerView picker, int row, int component) | |
{ | |
SelectedItem = string.Format ("Item Number {0}", row); | |
} | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace TestCustomControl | |
{ | |
[Register("PickerTextField")] | |
public class PickerTextField : UITextField | |
{ | |
public override RectangleF GetCaretRectForPosition (UITextPosition position) | |
{ | |
return RectangleF.Empty; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform> | |
<ProductVersion>10.0.0</ProductVersion> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>{AFBC48C5-AF19-4F54-829E-BE53C591D914}</ProjectGuid> | |
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |
<OutputType>Exe</OutputType> | |
<RootNamespace>TestCustomControl</RootNamespace> | |
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> | |
<AssemblyName>TestCustomControl</AssemblyName> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' "> | |
<DebugSymbols>true</DebugSymbols> | |
<Optimize>false</Optimize> | |
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath> | |
<DefineConstants>DEBUG;</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<ConsolePause>false</ConsolePause> | |
<MtouchLink>None</MtouchLink> | |
<MtouchDebug>true</MtouchDebug> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' "> | |
<Optimize>true</Optimize> | |
<OutputPath>bin\iPhoneSimulator\Release</OutputPath> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<ConsolePause>false</ConsolePause> | |
<MtouchLink>None</MtouchLink> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' "> | |
<DebugSymbols>true</DebugSymbols> | |
<Optimize>false</Optimize> | |
<OutputPath>bin\iPhone\Debug</OutputPath> | |
<DefineConstants>DEBUG;</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<ConsolePause>false</ConsolePause> | |
<MtouchDebug>true</MtouchDebug> | |
<CodesignKey>iPhone Developer</CodesignKey> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' "> | |
<Optimize>true</Optimize> | |
<OutputPath>bin\iPhone\Release</OutputPath> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<ConsolePause>false</ConsolePause> | |
<CodesignKey>iPhone Developer</CodesignKey> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' "> | |
<Optimize>true</Optimize> | |
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<BuildIpa>true</BuildIpa> | |
<CodesignKey>iPhone Distribution</CodesignKey> | |
<ConsolePause>false</ConsolePause> | |
<CodesignProvision>Automatic:AdHoc</CodesignProvision> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' "> | |
<Optimize>true</Optimize> | |
<OutputPath>bin\iPhone\AppStore</OutputPath> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<ConsolePause>false</ConsolePause> | |
<CodesignKey>iPhone Distribution</CodesignKey> | |
<CodesignProvision>Automatic:AppStore</CodesignProvision> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="System" /> | |
<Reference Include="System.Xml" /> | |
<Reference Include="System.Core" /> | |
<Reference Include="monotouch" /> | |
</ItemGroup> | |
<ItemGroup> | |
<None Include="Info.plist" /> | |
</ItemGroup> | |
<ItemGroup> | |
<Compile Include="Main.cs" /> | |
<Compile Include="AppDelegate.cs" /> | |
<Compile Include="TestCustomControlViewController.cs" /> | |
<Compile Include="TestCustomControlViewController.designer.cs"> | |
<DependentUpon>TestCustomControlViewController.cs</DependentUpon> | |
</Compile> | |
<Compile Include="PickerTextField.cs" /> | |
<Compile Include="PickerModel.cs" /> | |
</ItemGroup> | |
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" /> | |
<ItemGroup> | |
<InterfaceDefinition Include="TestCustomControlViewController.xib" /> | |
</ItemGroup> | |
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Visual Studio Solution File, Format Version 12.00 | |
# Visual Studio 2012 | |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestCustomControl", "TestCustomControl.csproj", "{AFBC48C5-AF19-4F54-829E-BE53C591D914}" | |
EndProject | |
Global | |
GlobalSection(SolutionConfigurationPlatforms) = preSolution | |
Ad-Hoc|iPhone = Ad-Hoc|iPhone | |
Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator | |
AppStore|iPhone = AppStore|iPhone | |
AppStore|iPhoneSimulator = AppStore|iPhoneSimulator | |
Debug|iPhone = Debug|iPhone | |
Debug|iPhoneSimulator = Debug|iPhoneSimulator | |
Release|iPhone = Release|iPhone | |
Release|iPhoneSimulator = Release|iPhoneSimulator | |
EndGlobalSection | |
GlobalSection(ProjectConfigurationPlatforms) = postSolution | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.AppStore|iPhone.ActiveCfg = AppStore|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.AppStore|iPhone.Build.0 = AppStore|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Debug|iPhone.ActiveCfg = Debug|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Debug|iPhone.Build.0 = Debug|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Release|iPhone.ActiveCfg = Release|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Release|iPhone.Build.0 = Release|iPhone | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | |
{AFBC48C5-AF19-4F54-829E-BE53C591D914}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | |
EndGlobalSection | |
GlobalSection(SolutionProperties) = preSolution | |
HideSolutionNode = FALSE | |
EndGlobalSection | |
GlobalSection(MonoDevelopProperties) = preSolution | |
StartupItem = TestCustomControl.csproj | |
EndGlobalSection | |
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MonoTouch.UIKit; | |
namespace TestCustomControl | |
{ | |
public partial class TestCustomControlViewController : UIViewController | |
{ | |
public TestCustomControlViewController () : base ("TestCustomControlViewController", null) | |
{ | |
} | |
public override void ViewDidLoad () | |
{ | |
base.ViewDidLoad (); | |
Picker.Model = new PickerModel(); | |
PickerText.InputView = Picker; | |
PickerText.InputAccessoryView = Toolbar; | |
} | |
partial void CancelTouchUp (UIBarButtonItem sender) | |
{ | |
PickerText.ResignFirstResponder(); | |
} | |
partial void DoneTouchUp (UIBarButtonItem sender) | |
{ | |
PickerText.ResignFirstResponder(); | |
PickerText.Text = ((PickerModel)Picker.Model).SelectedItem; | |
} | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WARNING | |
// | |
// This file has been generated automatically by Xamarin Studio to store outlets and | |
// actions made in the Xcode designer. If it is removed, they will be lost. | |
// Manual changes to this file may not be handled correctly. | |
// | |
using MonoTouch.Foundation; | |
namespace TestCustomControl | |
{ | |
[Register ("TestCustomControlViewController")] | |
partial class TestCustomControlViewController | |
{ | |
[Outlet] | |
MonoTouch.UIKit.UITextField PickerText { get; set; } | |
[Outlet] | |
MonoTouch.UIKit.UIPickerView Picker { get; set; } | |
[Outlet] | |
MonoTouch.UIKit.UIToolbar Toolbar { get; set; } | |
[Action ("CancelTouchUp:")] | |
partial void CancelTouchUp (MonoTouch.UIKit.UIBarButtonItem sender); | |
[Action ("DoneTouchUp:")] | |
partial void DoneTouchUp (MonoTouch.UIKit.UIBarButtonItem sender); | |
void ReleaseDesignerOutlets () | |
{ | |
if (PickerText != null) { | |
PickerText.Dispose (); | |
PickerText = null; | |
} | |
if (Picker != null) { | |
Picker.Dispose (); | |
Picker = null; | |
} | |
if (Toolbar != null) { | |
Toolbar.Dispose (); | |
Toolbar = null; | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00"> | |
<data> | |
<int key="IBDocument.SystemTarget">1552</int> | |
<string key="IBDocument.SystemVersion">11G63b</string> | |
<string key="IBDocument.InterfaceBuilderVersion">3084</string> | |
<string key="IBDocument.AppKitVersion">1138.51</string> | |
<string key="IBDocument.HIToolboxVersion">569.00</string> | |
<object class="NSMutableDictionary" key="IBDocument.PluginVersions"> | |
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="NS.object.0">2083</string> | |
</object> | |
<array key="IBDocument.IntegratedClassDependencies"> | |
<string>IBNSLayoutConstraint</string> | |
<string>IBProxyObject</string> | |
<string>IBUIBarButtonItem</string> | |
<string>IBUIPickerView</string> | |
<string>IBUITextField</string> | |
<string>IBUIToolbar</string> | |
<string>IBUIView</string> | |
</array> | |
<array key="IBDocument.PluginDependencies"> | |
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
</array> | |
<object class="NSMutableDictionary" key="IBDocument.Metadata"> | |
<string key="NS.key.0">PluginDependencyRecalculationVersion</string> | |
<integer value="1" key="NS.object.0"/> | |
</object> | |
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> | |
<object class="IBProxyObject" id="372490531"> | |
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
</object> | |
<object class="IBProxyObject" id="843779117"> | |
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
</object> | |
<object class="IBUIView" id="774585933"> | |
<reference key="NSNextResponder"/> | |
<int key="NSvFlags">274</int> | |
<array class="NSMutableArray" key="NSSubviews"> | |
<object class="IBUITextField" id="62699353"> | |
<reference key="NSNextResponder" ref="774585933"/> | |
<int key="NSvFlags">292</int> | |
<string key="NSFrame">{{20, 20}, {280, 30}}</string> | |
<reference key="NSSuperview" ref="774585933"/> | |
<reference key="NSWindow"/> | |
<string key="NSReuseIdentifierKey">_NS:9</string> | |
<bool key="IBUIOpaque">NO</bool> | |
<bool key="IBUIClipsSubviews">YES</bool> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<int key="IBUIContentVerticalAlignment">0</int> | |
<string key="IBUIText"/> | |
<int key="IBUIBorderStyle">3</int> | |
<object class="NSColor" key="IBUITextColor"> | |
<int key="NSColorSpace">3</int> | |
<bytes key="NSWhite">MAA</bytes> | |
<object class="NSColorSpace" key="NSCustomColorSpace" id="898793122"> | |
<int key="NSID">2</int> | |
</object> | |
</object> | |
<bool key="IBUIAdjustsFontSizeToFit">YES</bool> | |
<float key="IBUIMinimumFontSize">17</float> | |
<object class="IBUITextInputTraits" key="IBUITextInputTraits"> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
</object> | |
<object class="IBUIFontDescription" key="IBUIFontDescription"> | |
<int key="type">1</int> | |
<double key="pointSize">14</double> | |
</object> | |
<object class="NSFont" key="IBUIFont"> | |
<string key="NSName">Helvetica</string> | |
<double key="NSSize">14</double> | |
<int key="NSfFlags">16</int> | |
</object> | |
</object> | |
</array> | |
<string key="NSFrame">{{0, 20}, {320, 460}}</string> | |
<reference key="NSSuperview"/> | |
<reference key="NSWindow"/> | |
<reference key="NSNextKeyView" ref="62699353"/> | |
<object class="NSColor" key="IBUIBackgroundColor"> | |
<int key="NSColorSpace">3</int> | |
<bytes key="NSWhite">MC43NQA</bytes> | |
<reference key="NSCustomColorSpace" ref="898793122"/> | |
</object> | |
<bool key="IBUIClearsContextBeforeDrawing">NO</bool> | |
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
</object> | |
<object class="IBUIPickerView" id="789734873"> | |
<nil key="NSNextResponder"/> | |
<int key="NSvFlags">290</int> | |
<string key="NSFrameSize">{320, 216}</string> | |
<string key="NSReuseIdentifierKey">_NS:9</string> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<bool key="IBUIShowsSelectionIndicator">YES</bool> | |
</object> | |
<object class="IBUIToolbar" id="341111006"> | |
<nil key="NSNextResponder"/> | |
<int key="NSvFlags">266</int> | |
<string key="NSFrameSize">{320, 44}</string> | |
<string key="NSReuseIdentifierKey">_NS:9</string> | |
<bool key="IBUIOpaque">NO</bool> | |
<bool key="IBUIClearsContextBeforeDrawing">NO</bool> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<int key="IBUIBarStyle">2</int> | |
<array class="NSMutableArray" key="IBUIItems"> | |
<object class="IBUIBarButtonItem" id="223467464"> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<int key="IBUIStyle">1</int> | |
<reference key="IBUIToolbar" ref="341111006"/> | |
<int key="IBUISystemItemIdentifier">1</int> | |
</object> | |
<object class="IBUIBarButtonItem" id="413913241"> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<reference key="IBUIToolbar" ref="341111006"/> | |
<int key="IBUISystemItemIdentifier">5</int> | |
</object> | |
<object class="IBUIBarButtonItem" id="24358675"> | |
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<int key="IBUIStyle">2</int> | |
<reference key="IBUIToolbar" ref="341111006"/> | |
<int key="IBUISystemItemIdentifier">0</int> | |
</object> | |
</array> | |
</object> | |
</array> | |
<object class="IBObjectContainer" key="IBDocument.Objects"> | |
<array class="NSMutableArray" key="connectionRecords"> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchOutletConnection" key="connection"> | |
<string key="label">view</string> | |
<reference key="source" ref="372490531"/> | |
<reference key="destination" ref="774585933"/> | |
</object> | |
<int key="connectionID">7</int> | |
</object> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchOutletConnection" key="connection"> | |
<string key="label">Picker</string> | |
<reference key="source" ref="372490531"/> | |
<reference key="destination" ref="789734873"/> | |
</object> | |
<int key="connectionID">18</int> | |
</object> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchOutletConnection" key="connection"> | |
<string key="label">Toolbar</string> | |
<reference key="source" ref="372490531"/> | |
<reference key="destination" ref="341111006"/> | |
</object> | |
<int key="connectionID">19</int> | |
</object> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchOutletConnection" key="connection"> | |
<string key="label">PickerText</string> | |
<reference key="source" ref="372490531"/> | |
<reference key="destination" ref="62699353"/> | |
</object> | |
<int key="connectionID">26</int> | |
</object> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchEventConnection" key="connection"> | |
<string key="label">CancelTouchUp:</string> | |
<reference key="source" ref="223467464"/> | |
<reference key="destination" ref="372490531"/> | |
</object> | |
<int key="connectionID">20</int> | |
</object> | |
<object class="IBConnectionRecord"> | |
<object class="IBCocoaTouchEventConnection" key="connection"> | |
<string key="label">DoneTouchUp:</string> | |
<reference key="source" ref="24358675"/> | |
<reference key="destination" ref="372490531"/> | |
</object> | |
<int key="connectionID">22</int> | |
</object> | |
</array> | |
<object class="IBMutableOrderedSet" key="objectRecords"> | |
<array key="orderedObjects"> | |
<object class="IBObjectRecord"> | |
<int key="objectID">0</int> | |
<array key="object" id="0"/> | |
<reference key="children" ref="1000"/> | |
<nil key="parent"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">-1</int> | |
<reference key="object" ref="372490531"/> | |
<reference key="parent" ref="0"/> | |
<string key="objectName">File's Owner</string> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">-2</int> | |
<reference key="object" ref="843779117"/> | |
<reference key="parent" ref="0"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">6</int> | |
<reference key="object" ref="774585933"/> | |
<array class="NSMutableArray" key="children"> | |
<reference ref="62699353"/> | |
<object class="IBNSLayoutConstraint" id="440544978"> | |
<reference key="firstItem" ref="62699353"/> | |
<int key="firstAttribute">3</int> | |
<int key="relation">0</int> | |
<reference key="secondItem" ref="774585933"/> | |
<int key="secondAttribute">3</int> | |
<float key="multiplier">1</float> | |
<object class="IBNSLayoutSymbolicConstant" key="constant"> | |
<double key="value">20</double> | |
</object> | |
<float key="priority">1000</float> | |
<reference key="containingView" ref="774585933"/> | |
<int key="scoringType">8</int> | |
<float key="scoringTypeFloat">29</float> | |
<int key="contentType">3</int> | |
</object> | |
<object class="IBNSLayoutConstraint" id="575660088"> | |
<reference key="firstItem" ref="62699353"/> | |
<int key="firstAttribute">5</int> | |
<int key="relation">0</int> | |
<reference key="secondItem" ref="774585933"/> | |
<int key="secondAttribute">5</int> | |
<float key="multiplier">1</float> | |
<object class="IBNSLayoutSymbolicConstant" key="constant"> | |
<double key="value">20</double> | |
</object> | |
<float key="priority">1000</float> | |
<reference key="containingView" ref="774585933"/> | |
<int key="scoringType">8</int> | |
<float key="scoringTypeFloat">29</float> | |
<int key="contentType">3</int> | |
</object> | |
<object class="IBNSLayoutConstraint" id="203770487"> | |
<reference key="firstItem" ref="774585933"/> | |
<int key="firstAttribute">6</int> | |
<int key="relation">0</int> | |
<reference key="secondItem" ref="62699353"/> | |
<int key="secondAttribute">6</int> | |
<float key="multiplier">1</float> | |
<object class="IBNSLayoutSymbolicConstant" key="constant"> | |
<double key="value">20</double> | |
</object> | |
<float key="priority">1000</float> | |
<reference key="containingView" ref="774585933"/> | |
<int key="scoringType">8</int> | |
<float key="scoringTypeFloat">29</float> | |
<int key="contentType">3</int> | |
</object> | |
</array> | |
<reference key="parent" ref="0"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">8</int> | |
<reference key="object" ref="62699353"/> | |
<reference key="parent" ref="774585933"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">9</int> | |
<reference key="object" ref="203770487"/> | |
<reference key="parent" ref="774585933"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">10</int> | |
<reference key="object" ref="575660088"/> | |
<reference key="parent" ref="774585933"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">11</int> | |
<reference key="object" ref="440544978"/> | |
<reference key="parent" ref="774585933"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">12</int> | |
<reference key="object" ref="789734873"/> | |
<reference key="parent" ref="0"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">13</int> | |
<reference key="object" ref="341111006"/> | |
<array class="NSMutableArray" key="children"> | |
<reference ref="223467464"/> | |
<reference ref="413913241"/> | |
<reference ref="24358675"/> | |
</array> | |
<reference key="parent" ref="0"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">14</int> | |
<reference key="object" ref="223467464"/> | |
<reference key="parent" ref="341111006"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">15</int> | |
<reference key="object" ref="413913241"/> | |
<reference key="parent" ref="341111006"/> | |
</object> | |
<object class="IBObjectRecord"> | |
<int key="objectID">16</int> | |
<reference key="object" ref="24358675"/> | |
<reference key="parent" ref="341111006"/> | |
</object> | |
</array> | |
</object> | |
<dictionary class="NSMutableDictionary" key="flattenedProperties"> | |
<string key="-1.CustomClassName">TestCustomControlViewController</string> | |
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="-2.CustomClassName">UIResponder</string> | |
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="10.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="11.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="12.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="13.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="14.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="15.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="16.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<array key="6.IBViewMetadataConstraints"> | |
<reference ref="203770487"/> | |
<reference ref="575660088"/> | |
<reference ref="440544978"/> | |
</array> | |
<string key="8.CustomClassName">PickerTextField</string> | |
<string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
<boolean value="NO" key="8.IBViewMetadataTranslatesAutoresizingMaskIntoConstraints"/> | |
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | |
</dictionary> | |
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> | |
<nil key="activeLocalization"/> | |
<dictionary class="NSMutableDictionary" key="localizations"/> | |
<nil key="sourceID"/> | |
<int key="maxID">26</int> | |
</object> | |
<object class="IBClassDescriber" key="IBDocument.Classes"> | |
<array class="NSMutableArray" key="referencedPartialClassDescriptions"> | |
<object class="IBPartialClassDescription"> | |
<string key="className">NSLayoutConstraint</string> | |
<string key="superclassName">NSObject</string> | |
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |
<string key="majorKey">IBProjectSource</string> | |
<string key="minorKey">./Classes/NSLayoutConstraint.h</string> | |
</object> | |
</object> | |
<object class="IBPartialClassDescription"> | |
<string key="className">PickerTextField</string> | |
<string key="superclassName">UITextField</string> | |
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |
<string key="majorKey">IBProjectSource</string> | |
<string key="minorKey">./Classes/PickerTextField.h</string> | |
</object> | |
</object> | |
<object class="IBPartialClassDescription"> | |
<string key="className">TestCustomControlViewController</string> | |
<string key="superclassName">UIViewController</string> | |
<dictionary class="NSMutableDictionary" key="actions"> | |
<string key="CancelTouchUp:">UIBarButtonItem</string> | |
<string key="DoneTouchUp:">UIBarButtonItem</string> | |
</dictionary> | |
<dictionary class="NSMutableDictionary" key="actionInfosByName"> | |
<object class="IBActionInfo" key="CancelTouchUp:"> | |
<string key="name">CancelTouchUp:</string> | |
<string key="candidateClassName">UIBarButtonItem</string> | |
</object> | |
<object class="IBActionInfo" key="DoneTouchUp:"> | |
<string key="name">DoneTouchUp:</string> | |
<string key="candidateClassName">UIBarButtonItem</string> | |
</object> | |
</dictionary> | |
<dictionary class="NSMutableDictionary" key="outlets"> | |
<string key="Picker">UIPickerView</string> | |
<string key="PickerText">UITextField</string> | |
<string key="Toolbar">UIToolbar</string> | |
</dictionary> | |
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName"> | |
<object class="IBToOneOutletInfo" key="Picker"> | |
<string key="name">Picker</string> | |
<string key="candidateClassName">UIPickerView</string> | |
</object> | |
<object class="IBToOneOutletInfo" key="PickerText"> | |
<string key="name">PickerText</string> | |
<string key="candidateClassName">UITextField</string> | |
</object> | |
<object class="IBToOneOutletInfo" key="Toolbar"> | |
<string key="name">Toolbar</string> | |
<string key="candidateClassName">UIToolbar</string> | |
</object> | |
</dictionary> | |
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | |
<string key="majorKey">IBProjectSource</string> | |
<string key="minorKey">./Classes/TestCustomControlViewController.h</string> | |
</object> | |
</object> | |
</array> | |
</object> | |
<int key="IBDocument.localizationMode">0</int> | |
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> | |
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> | |
<int key="IBDocument.defaultPropertyAccessControl">3</int> | |
<bool key="IBDocument.UseAutolayout">YES</bool> | |
<string key="IBCocoaTouchPluginVersion">2083</string> | |
</data> | |
</archive> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment