⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helloworld.xib

📁 Mac x os系统用xcode下编写iphone手机程序的经典hello入门代码
💻 XIB
字号:
<?xml version="1.0" encoding="UTF-8"?><archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.02">	<data>		<int key="IBDocument.SystemTarget">1050</int>		<string key="IBDocument.SystemVersion">9C7010</string>		<string key="IBDocument.InterfaceBuilderVersion">652</string>		<string key="IBDocument.AppKitVersion">949.26</string>		<string key="IBDocument.HIToolboxVersion">352.00</string>		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">			<bool key="EncodedWithXMLCoder">YES</bool>			<integer value="27"/>		</object>		<object class="NSArray" key="IBDocument.PluginDependencies">			<bool key="EncodedWithXMLCoder">YES</bool>			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>		</object>		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">			<bool key="EncodedWithXMLCoder">YES</bool>			<object class="IBProxyObject" id="372490531">				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>			</object>			<object class="IBUIView" id="980997749">				<reference key="NSNextResponder"/>				<int key="NSvFlags">268</int>				<object class="NSMutableArray" key="NSSubviews">					<bool key="EncodedWithXMLCoder">YES</bool>					<object class="IBUIImageView" id="601457995">						<reference key="NSNextResponder" ref="980997749"/>						<int key="NSvFlags">274</int>						<string key="NSFrameSize">{320, 480}</string>						<reference key="NSSuperview" ref="980997749"/>						<bool key="IBUIOpaque">NO</bool>						<bool key="IBUIClearsContextBeforeDrawing">NO</bool>						<int key="IBUIContentMode">6</int>						<bool key="IBUIUserInteractionEnabled">NO</bool>						<object class="NSCustomResource" key="IBUIImage">							<string key="NSClassName">NSImage</string>							<string key="NSResourceName">Background.png</string>						</object>					</object>					<object class="IBUITextField" id="893759307">						<reference key="NSNextResponder" ref="980997749"/>						<int key="NSvFlags">268</int>						<string key="NSFrame">{{20, 40}, {280, 31}}</string>						<reference key="NSSuperview" ref="980997749"/>						<bool key="IBUIOpaque">NO</bool>						<bool key="IBUIClearsContextBeforeDrawing">NO</bool>						<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="232880016">								<int key="NSID">2</int>							</object>						</object>						<object class="NSFont" key="IBUIFont">							<string key="NSName">Helvetica</string>							<double key="NSSize">1.800000e+01</double>							<int key="NSfFlags">16</int>						</object>						<int key="IBUITextAlignment">1</int>						<bool key="IBUIClearsOnBeginEditing">YES</bool>						<bool key="IBUIAdjustsFontSizeToFit">YES</bool>						<float key="IBUIMinimumFontSize">1.200000e+01</float>						<object class="IBUITextInputTraits" key="IBUITextInputTraits">							<int key="IBUIKeyboardType">438046192</int>							<int key="IBUIKeyboardAppearance">453599136</int>						</object>					</object>					<object class="IBUIButton" id="253670008">						<reference key="NSNextResponder" ref="980997749"/>						<int key="NSvFlags">268</int>						<string key="NSFrame">{{115, 199}, {91, 38}}</string>						<reference key="NSSuperview" ref="980997749"/>						<bool key="IBUIOpaque">NO</bool>						<bool key="IBUIClearsContextBeforeDrawing">NO</bool>						<int key="IBUIContentMode">4</int>						<int key="IBUIContentHorizontalAlignment">0</int>						<int key="IBUIContentVerticalAlignment">0</int>						<object class="NSFont" key="IBUIFont">							<string key="NSName">Helvetica</string>							<double key="NSSize">1.600000e+01</double>							<int key="NSfFlags">16</int>						</object>						<bool key="IBUIAutosizesToFit">NO</bool>						<string key="IBUIHighlightedTitle">Hello</string>						<string key="IBUIDisabledTitle">Hello</string>						<string key="IBUISelectedTitle">Hello</string>						<string key="IBUINormalTitle">Hello</string>						<object class="NSColor" key="IBUIHighlightedTitleColor" id="719994315">							<int key="NSColorSpace">3</int>							<bytes key="NSWhite">MQA</bytes>						</object>						<reference key="IBUIDisabledTitleColor" ref="719994315"/>						<reference key="IBUISelectedTitleColor" ref="719994315"/>						<reference key="IBUINormalTitleColor" ref="719994315"/>						<object class="NSCustomResource" key="IBUIHighlightedBackgroundImage" id="335933179">							<string key="NSClassName">NSImage</string>							<string key="NSResourceName">Button.png</string>						</object>						<reference key="IBUIDisabledBackgroundImage" ref="335933179"/>						<reference key="IBUISelectedBackgroundImage" ref="335933179"/>						<reference key="IBUINormalBackgroundImage" ref="335933179"/>						<bool key="IBUIAdjustsImageWhenHighlighted">YES</bool>						<bool key="IBUIAdjustsImageWhenDisabled">YES</bool>					</object>					<object class="IBUILabel" id="24240072">						<reference key="NSNextResponder" ref="980997749"/>						<int key="NSvFlags">268</int>						<string key="NSFrame">{{20, 132}, {280, 21}}</string>						<reference key="NSSuperview" ref="980997749"/>						<bool key="IBUIOpaque">NO</bool>						<bool key="IBUIClipsSubviews">YES</bool>						<bool key="IBUIUserInteractionEnabled">NO</bool>						<string key="IBUIText"/>						<object class="NSColor" key="IBUITextColor">							<int key="NSColorSpace">1</int>							<bytes key="NSRGB">MCAwIDAAA</bytes>						</object>						<nil key="IBUIHighlightedColor"/>						<int key="IBUIBaselineAdjustment">1</int>						<float key="IBUIMinimumFontSize">1.000000e+01</float>						<int key="IBUITextAlignment">1</int>					</object>				</object>				<string key="NSFrameSize">{320, 480}</string>				<reference key="NSSuperview"/>				<object class="NSColor" key="IBUIBackgroundColor">					<int key="NSColorSpace">3</int>					<bytes key="NSWhite">MQA</bytes>					<reference key="NSCustomColorSpace" ref="232880016"/>				</object>				<bool key="IBUIClearsContextBeforeDrawing">NO</bool>			</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">textField</string>						<reference key="source" ref="372490531"/>						<reference key="destination" ref="893759307"/>					</object>					<int key="connectionID">30</int>				</object>				<object class="IBConnectionRecord">					<object class="IBCocoaTouchOutletConnection" key="connection">						<string key="label">delegate</string>						<reference key="source" ref="893759307"/>						<reference key="destination" ref="372490531"/>					</object>					<int key="connectionID">32</int>				</object>				<object class="IBConnectionRecord">					<object class="IBCocoaTouchEventConnection" key="connection">						<string key="label">sayHello:</string>						<reference key="source" ref="253670008"/>						<reference key="destination" ref="372490531"/>						<int key="IBEventType">7</int>					</object>					<int key="connectionID">33</int>				</object>				<object class="IBConnectionRecord">					<object class="IBCocoaTouchOutletConnection" key="connection">						<string key="label">label</string>						<reference key="source" ref="372490531"/>						<reference key="destination" ref="24240072"/>					</object>					<int key="connectionID">34</int>				</object>				<object class="IBConnectionRecord">					<object class="IBCocoaTouchOutletConnection" key="connection">						<string key="label">view</string>						<reference key="source" ref="372490531"/>						<reference key="destination" ref="980997749"/>					</object>					<int key="connectionID">35</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>						<object class="NSArray" key="object" id="360949347">							<bool key="EncodedWithXMLCoder">YES</bool>						</object>						<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="360949347"/>						<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>					</object>					<object class="IBObjectRecord">						<int key="objectID">24</int>						<reference key="object" ref="980997749"/>						<object class="NSMutableArray" key="children">							<bool key="EncodedWithXMLCoder">YES</bool>							<reference ref="24240072"/>							<reference ref="893759307"/>							<reference ref="601457995"/>							<reference ref="253670008"/>						</object>						<reference key="parent" ref="360949347"/>					</object>					<object class="IBObjectRecord">						<int key="objectID">25</int>						<reference key="object" ref="24240072"/>						<reference key="parent" ref="980997749"/>					</object>					<object class="IBObjectRecord">						<int key="objectID">26</int>						<reference key="object" ref="253670008"/>						<reference key="parent" ref="980997749"/>					</object>					<object class="IBObjectRecord">						<int key="objectID">27</int>						<reference key="object" ref="893759307"/>						<reference key="parent" ref="980997749"/>					</object>					<object class="IBObjectRecord">						<int key="objectID">28</int>						<reference key="object" ref="601457995"/>						<reference key="parent" ref="980997749"/>					</object>				</object>			</object>			<object class="NSMutableDictionary" key="flattenedProperties">				<bool key="EncodedWithXMLCoder">YES</bool>				<object class="NSMutableArray" key="dict.sortedKeys">					<bool key="EncodedWithXMLCoder">YES</bool>					<string>-1.CustomClassName</string>					<string>24.IBEditorWindowLastContentRect</string>					<string>24.IBPluginDependency</string>					<string>25.IBPluginDependency</string>					<string>26.IBPluginDependency</string>					<string>27.IBPluginDependency</string>					<string>28.IBPluginDependency</string>				</object>				<object class="NSMutableArray" key="dict.values">					<bool key="EncodedWithXMLCoder">YES</bool>					<string>MyViewController</string>					<string>{{494, 376}, {320, 480}}</string>					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</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>				<object class="NSArray" key="dict.sortedKeys">					<bool key="EncodedWithXMLCoder">YES</bool>				</object>				<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>				<object class="NSArray" key="dict.sortedKeys">					<bool key="EncodedWithXMLCoder">YES</bool>				</object>				<object class="NSMutableArray" key="dict.values">					<bool key="EncodedWithXMLCoder">YES</bool>				</object>			</object>			<nil key="sourceID"/>			<int key="maxID">36</int>		</object>		<object class="IBClassDescriber" key="IBDocument.Classes">			<object class="NSMutableArray" key="referencedPartialClassDescriptions">				<bool key="EncodedWithXMLCoder">YES</bool>				<object class="IBPartialClassDescription">					<string key="className">MyViewController</string>					<string key="superclassName">UIViewController</string>					<object class="NSMutableDictionary" key="actions">						<string key="NS.key.0">sayHello:</string>						<string key="NS.object.0">id</string>					</object>					<object class="NSMutableDictionary" key="outlets">						<bool key="EncodedWithXMLCoder">YES</bool>						<object class="NSMutableArray" key="dict.sortedKeys">							<bool key="EncodedWithXMLCoder">YES</bool>							<string>label</string>							<string>textField</string>						</object>						<object class="NSMutableArray" key="dict.values">							<bool key="EncodedWithXMLCoder">YES</bool>							<string>UILabel</string>							<string>UITextField</string>						</object>					</object>					<object class="IBClassDescriptionSource" key="sourceIdentifier">						<string key="majorKey">IBProjectSource</string>						<string key="minorKey">Classes/MyViewController.h</string>					</object>				</object>				<object class="IBPartialClassDescription">					<string key="className">MyViewController</string>					<object class="IBClassDescriptionSource" key="sourceIdentifier">						<string key="majorKey">IBUserSource</string>						<string key="minorKey"/>					</object>				</object>			</object>		</object>		<int key="IBDocument.localizationMode">0</int>		<string key="IBDocument.LastKnownRelativeProjectPath">HelloWorld.xcodeproj</string>		<int key="IBDocument.defaultPropertyAccessControl">3</int>	</data></archive>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -