diff options
author | Geoff Norton <grompf@sublimeintervention.com> | 2010-01-28 03:59:05 +0300 |
---|---|---|
committer | Geoff Norton <grompf@sublimeintervention.com> | 2010-01-28 03:59:05 +0300 |
commit | 0759c0fa84ef2f0820dbc47431648a6e48fab976 (patch) | |
tree | ea54c7ecbbc8286d8767ff1674a21793eb1cfa0b | |
parent | ab81449d415caad02175f1ffca7575b8057be6f3 (diff) |
2010-01-27 Geoff Norton <gnorton@novell.com>
* MonoDevelop.IPhone.addin.xml:
* MonoDevelop.IPhone.csproj:
* Templates/IPadApplicationXib.xft.xml:
* Templates/IPadInfoPlist.xft.xml:
* Templates/IPadWindowBasedProject.xpt.xml: Added
iPad templates to the build. Subject to change
* Gui/IPhoneBuildOptionsPanel.cs: Added 3.2 to the
available SDK versions.
svn path=/trunk/monodevelop/; revision=150325
7 files changed, 643 insertions, 1 deletions
diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/ChangeLog b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/ChangeLog index ccadf91027..2e38bbf4a8 100644 --- a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/ChangeLog +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/ChangeLog @@ -1,3 +1,14 @@ +2010-01-27 Geoff Norton <gnorton@novell.com> + + * MonoDevelop.IPhone.addin.xml: + * MonoDevelop.IPhone.csproj: + * Templates/IPadApplicationXib.xft.xml: + * Templates/IPadInfoPlist.xft.xml: + * Templates/IPadWindowBasedProject.xpt.xml: Added + iPad templates to the build. Subject to change + * Gui/IPhoneBuildOptionsPanel.cs: Added 3.2 to the + available SDK versions. + 2010-01-27 Michael Hutchinson <mhutchinson@novell.com> * IPhoneExecutionHandler.cs: Move some code into diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Gui/IPhoneBuildOptionsPanel.cs b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Gui/IPhoneBuildOptionsPanel.cs index cccc44d5ef..72511dedbc 100644 --- a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Gui/IPhoneBuildOptionsPanel.cs +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Gui/IPhoneBuildOptionsPanel.cs @@ -90,6 +90,7 @@ namespace MonoDevelop.IPhone.Gui sdkComboEntry.AppendText ("3.0"); sdkComboEntry.AppendText ("3.1"); + sdkComboEntry.AppendText ("3.2"); store = new ListStore (typeof (string), typeof (bool)); i18nTreeView.Model = store; diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.addin.xml b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.addin.xml index 9a8f72328f..9fce50fecd 100644 --- a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.addin.xml +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.addin.xml @@ -35,6 +35,10 @@ resource = "IPhoneApplicationPList.xft.xml"/> <FileTemplate id = "IPhoneEntitlements" resource = "IPhoneEntitlements.xft.xml"/> + <FileTemplate id = "IPadApplicationXib" + resource = "IPadApplicationXib.xft.xml"/> + <FileTemplate id = "IPadInfoPlist" + resource = "IPadInfoPlist.xft.xml"/> </Condition> </Extension> @@ -52,6 +56,8 @@ resource = "IPhoneLibraryProject.xpt.xml" /> <ProjectTemplate id = "IPhoneProject-Empty" resource = "IPhoneProjectEmpty.xpt.xml"/> + <ProjectTemplate id = "IPadWindowBasedProject" + resource = "IPadWindowBasedProject.xpt.xml" /> </Condition> </Extension> diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.csproj b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.csproj index 68ecf17726..4d3df8adea 100644 --- a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.csproj +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/MonoDevelop.IPhone.csproj @@ -131,6 +131,12 @@ <EmbeddedResource Include="Templates\IPhoneApplicationXib.xft.xml"> <LogicalName>IPhoneApplicationXib.xft.xml</LogicalName> </EmbeddedResource> + <EmbeddedResource Include="Templates\IPadApplicationXib.xft.xml"> + <LogicalName>IPadApplicationXib.xft.xml</LogicalName> + </EmbeddedResource> + <EmbeddedResource Include="Templates\IPadInfoPlist.xft.xml"> + <LogicalName>IPadInfoPlist.xft.xml</LogicalName> + </EmbeddedResource> <EmbeddedResource Include="Templates\IPhoneViewXib.xft.xml"> <LogicalName>IPhoneViewXib.xft.xml</LogicalName> </EmbeddedResource> @@ -212,6 +218,9 @@ <EmbeddedResource Include="Templates\IPhoneWindowBasedProject.xpt.xml"> <LogicalName>IPhoneWindowBasedProject.xpt.xml</LogicalName> </EmbeddedResource> + <EmbeddedResource Include="Templates\IPadWindowBasedProject.xpt.xml"> + <LogicalName>IPadWindowBasedProject.xpt.xml</LogicalName> + </EmbeddedResource> <EmbeddedResource Include="Templates\IPhoneOpenGLProject.xpt.xml"> <LogicalName>IPhoneOpenGLProject.xpt.xml</LogicalName> </EmbeddedResource> @@ -236,4 +245,4 @@ <None Include="Icons\mono-develop.svg" /> <None Include="Icons\phone-apple-iphone.svg" /> </ItemGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadApplicationXib.xft.xml b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadApplicationXib.xft.xml new file mode 100644 index 0000000000..94d5022142 --- /dev/null +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadApplicationXib.xft.xml @@ -0,0 +1,504 @@ +<?xml version="1.0"?> +<Template Originator="Michael Hutchinson" Created="2009/06/08"> + + <!-- Template Header --> + <TemplateConfiguration> + <_Name>Main Window Definition</_Name> + <_Category>iPad</_Category> + <Icon>res:xib-template-application.png</Icon> + <LanguageName>C#</LanguageName> + <ProjectType>IPhone</ProjectType> + <DefaultFilename IsFixed="True">MainWindow</DefaultFilename> + <_Description>Creates an Interface Builder application document for MonoTouch.</_Description> + </TemplateConfiguration> + + <Conditions> + <ParentProject PermittedCreationPaths="" ExcludedFiles="MainWindow.xib" RequireProject="True"/> + </Conditions> + + <!-- Template Content --> + <TemplateFiles> + <File name="MainWindow.xib.designer.cs" DependsOn="${Name}.xib" SuppressAutoOpen="True" + ShowAutogenerationNotice="True" AddStandardHeader="False" ><![CDATA[ +namespace ${Namespace} +{ + // Base type probably should be MonoTouch.Foundation.NSObject or subclass + [MonoTouch.Foundation.Register("AppDelegate")] + public partial class AppDelegate { + + [MonoTouch.Foundation.Connect("window")] + private MonoTouch.UIKit.UIWindow window { + get { + return ((MonoTouch.UIKit.UIWindow)(this.GetNativeField("window"))); + } + set { + this.SetNativeField("window", value); + } + } + } +} +]]></File> + <File name="MainWindow.xib" SuppressAutoOpen="True"> +<![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> + <data> + <int key="IBDocument.SystemTarget">800</int> + <string key="IBDocument.SystemVersion">10C540</string> + <string key="IBDocument.InterfaceBuilderVersion">759</string> + <string key="IBDocument.AppKitVersion">1038.25</string> + <string key="IBDocument.HIToolboxVersion">458.00</string> + <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + <string key="NS.object.0">79</string> + </object> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="2"/> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + </object> + <object class="NSMutableDictionary" key="IBDocument.Metadata"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys" id="0"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBProxyObject" id="841351856"> + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> + </object> + <object class="IBProxyObject" id="606714003"> + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> + </object> + <object class="IBUICustomObject" id="250404236"> + <string key="targetRuntimeIdentifier">IBIPadFramework</string> + </object> + <object class="IBUIWindow" id="62075450"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">292</int> + <string key="NSFrameSize">{768, 1024}</string> + <reference key="NSSuperview"/> + <object class="NSColor" key="IBUIBackgroundColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MSAxIDEAA</bytes> + </object> + <bool key="IBUIOpaque">NO</bool> + <bool key="IBUIClearsContextBeforeDrawing">NO</bool> + <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"> + <int key="IBUIStatusBarStyle">2</int> + </object> + <string key="targetRuntimeIdentifier">IBIPadFramework</string> + </object> + </object> + <object class="IBObjectContainer" key="IBDocument.Objects"> + <object class="NSMutableArray" key="connectionRecords"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBConnectionRecord"> + <object class="IBCocoaTouchOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="841351856"/> + <reference key="destination" ref="250404236"/> + </object> + <int key="connectionID">5</int> + </object> + </object> + <object class="IBMutableOrderedSet" key="objectRecords"> + <object class="NSArray" key="orderedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBObjectRecord"> + <int key="objectID">0</int> + <reference key="object" ref="0"/> + <reference key="children" ref="1000"/> + <nil key="parent"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-1</int> + <reference key="object" ref="841351856"/> + <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="606714003"/> + <reference key="parent" ref="0"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2</int> + <reference key="object" ref="62075450"/> + <reference key="parent" ref="0"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4</int> + <reference key="object" ref="250404236"/> + <reference key="parent" ref="0"/> + <string key="objectName">App Delegate</string> + </object> + </object> + </object> + <object class="NSMutableDictionary" key="flattenedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>-1.CustomClassName</string> + <string>-2.CustomClassName</string> + <string>2.IBEditorWindowLastContentRect</string> + <string>2.IBPluginDependency</string> + <string>4.IBPluginDependency</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>UIApplication</string> + <string>UIResponder</string> + <string>{{526, 33}, {783, 823}}</string> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> + </object> + </object> + <object class="NSMutableDictionary" key="unlocalizedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference key="dict.sortedKeys" ref="0"/> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="activeLocalization"/> + <object class="NSMutableDictionary" key="localizations"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference key="dict.sortedKeys" ref="0"/> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="sourceID"/> + <int key="maxID">5</int> + </object> + <object class="IBClassDescriber" key="IBDocument.Classes"> + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBCocoaTouchTool/IBCocoaTouchToolIntegration.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBAppKitAdditions.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBConnection.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBFieldEditor.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBFoundationAdditions.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBObjectContainer.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBObjectIntegrationInternal.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBInternalHeaders/IBWindowController.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/CustomViews/IBWindowRotationAnimation.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/Utilities/IBObjectMarshalling.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/Utilities/IBValueMarshallers.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/WidgetIntegration/Accessibility/IBUIAccessibilityIntegration.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/WidgetIntegration/IBUIObjectIntegration.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/WidgetIntegration/IBUIViewController/IBUIViewControllerEditorPlaceholderView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">IBPlugin/WidgetIntegration/IBUIViewController/IBUIViewControllerEditorView.h</string> + </object> + </object> + </object> + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSAccessibility.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSApplication.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSApplicationScripting.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSColorPanel.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSControl.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSDictionaryController.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSDragging.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSFontManager.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSFontPanel.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSKeyValueBinding.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSMenu.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSNibLoading.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSOutlineView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSPasteboard.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSSavePanel.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSTableView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSToolbarItem.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">AppKit.framework/Headers/NSView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">DevToolsKit.framework/Headers/DTAssetLibrary.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">DevToolsKit.framework/Headers/DTDragManager.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">DevToolsKit.framework/Headers/DTTemplateChooserViewController.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">DevToolsKit.framework/Headers/DTTypeCompletionHandler.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">InterfaceBuilderKit.framework/Headers/IBObjectIntegration.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">PrintCore.framework/Headers/PDEPluginInterface.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="786211723"> + <string key="majorKey">IBFrameworkSource</string> + <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">UIResponder</string> + <string key="superclassName">NSObject</string> + <reference key="sourceIdentifier" ref="786211723"/> + </object> + </object> + </object> + <int key="IBDocument.localizationMode">0</int> + <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string> + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> + <integer value="3100" key="NS.object.0"/> + </object> + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> + <string key="IBDocument.LastKnownRelativeProjectPath">../../../IBCocoaTouchPlugin.xcodeproj</string> + <int key="IBDocument.defaultPropertyAccessControl">3</int> + <string key="IBCocoaTouchPluginVersion">79</string> + <nil key="IBCocoaTouchSimulationTargetRuntimeIdentifier"/> + </data> +</archive>]]></File> + </TemplateFiles> +</Template> diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadInfoPlist.xft.xml b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadInfoPlist.xft.xml new file mode 100644 index 0000000000..e91d7c5dc6 --- /dev/null +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadInfoPlist.xft.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<Template Originator="Michael Hutchinson" Created="2009/06/08"> + + <!-- Template Header --> + <TemplateConfiguration> + <_Name>iPad Info PList</_Name> + <_Category>iPad</_Category> + <Icon>res:xib-template-application.png</Icon> + <LanguageName>C#</LanguageName> + <ProjectType>IPhone</ProjectType> + <DefaultFilename IsFixed="True">Info.plist</DefaultFilename> + <_Description></_Description> + </TemplateConfiguration> + + <Conditions> + <ParentProject PermittedCreationPaths="" ExcludedFiles="MainWindow.xib" RequireProject="True"/> + </Conditions> + + <!-- Template Content --> + <TemplateFiles> + <File name="Info.plist" AddStandardHeader="False"> +<![CDATA[<?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>UIDeviceFamily</key> + <array> + <string>2</string> + </array> +</dict> +</plist> +]]></File> + </TemplateFiles> +</Template> diff --git a/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadWindowBasedProject.xpt.xml b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadWindowBasedProject.xpt.xml new file mode 100644 index 0000000000..9716f52757 --- /dev/null +++ b/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/Templates/IPadWindowBasedProject.xpt.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<Template originator="Michael Hutchinson" + created="2009/06/08"> + + <!-- Template Header --> + <TemplateConfiguration> + <_Name>iPad Window-based Project</_Name> + <_Category>C#/iPad</_Category> + <Icon>md-project-ipad</Icon> + <LanguageName>C#</LanguageName> + <_Description>Window-based project for iPad.</_Description> + </TemplateConfiguration> + + <!-- Actions --> + <Actions> + <Open filename = "Main.cs"/> + </Actions> + + <!-- Template Content --> + <Combine name = "${ProjectName}" directory = "."> + <Options> + <StartupProject>${ProjectName}</StartupProject> + </Options> + + <Project name = "${ProjectName}" directory = "." type = "IPhone"> + <Options MainNibFile="MainWindow.nib"> + <SdkVersion>3.2</SdkVersion> + </Options> + <References> + <Reference type="Gac" refto="System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" /> + <Reference type="Gac" refto="System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" /> + <Reference type="Gac" refto="System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" /> + <Reference type="Gac" refto="monotouch" /> + </References> + <Files> + <FileTemplateReference TemplateID="IPadApplicationXib" /> + <FileTemplateReference TemplateID="IPadInfoPlist" /> + <File name="Main.cs" + AddStandardHeader="True"> +<![CDATA[ +using System; +using System.Collections.Generic; +using System.Linq; +using MonoTouch.Foundation; +using MonoTouch.UIKit; + +namespace ${Namespace} +{ + public class Application + { + static void Main (string[] args) + { + UIApplication.Main (args); + } + } + + // The name AppDelegate is referenced in the MainWindow.xib file. + public partial class AppDelegate : UIApplicationDelegate + { + // This method is invoked when the application has loaded its UI and its ready to run + public override bool FinishedLaunching (UIApplication app, NSDictionary options) + { + // If you have defined a view, add it here: + // window.AddSubview (navigationController.View); + + window.MakeKeyAndVisible (); + + return true; + } + } +} +]]> + </File> + </Files> + </Project> + </Combine> +</Template> |