Permalink
Browse files

Using iphone only, no need to universal app and maintain ipad xib

  • Loading branch information...
1 parent f822334 commit df80122f7ab6f0fc97a394b4ee5f578191da2ffb @seppo0010 committed Feb 28, 2012
@@ -36,8 +36,7 @@
C9268B6514E9B14B00ACED95 /* node_modules in Resources */ = {isa = PBXBuildFile; fileRef = C9268B6414E9B14B00ACED95 /* node_modules */; };
C95DF6C414E7F30900782CB9 /* assert.js in Resources */ = {isa = PBXBuildFile; fileRef = C917827D14E0696D006E8852 /* assert.js */; };
C95DF6C614E7F4E900782CB9 /* _linklist.js in Resources */ = {isa = PBXBuildFile; fileRef = C917827C14E0696D006E8852 /* _linklist.js */; };
- C96C1DA914DD7B8300343FC1 /* ViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = C96C1DA714DD7B8300343FC1 /* ViewController_iPad.xib */; };
- C96C1DAA14DD7B8300343FC1 /* ViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = C96C1DA814DD7B8300343FC1 /* ViewController_iPhone.xib */; };
+ C96C1DAA14DD7B8300343FC1 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = C96C1DA814DD7B8300343FC1 /* ViewController.xib */; };
C97E0B0914E1EAE6000CB6A3 /* Nios_dgram.m in Sources */ = {isa = PBXBuildFile; fileRef = C97E0B0814E1EAE6000CB6A3 /* Nios_dgram.m */; };
C97E0B0C14E1EBC7000CB6A3 /* Nios_dgram.js in Resources */ = {isa = PBXBuildFile; fileRef = C97E0B0A14E1EBB2000CB6A3 /* Nios_dgram.js */; };
C97E0B0E14E2093B000CB6A3 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C97E0B0D14E2093B000CB6A3 /* CFNetwork.framework */; };
@@ -179,8 +178,7 @@
C9268B6414E9B14B00ACED95 /* node_modules */ = {isa = PBXFileReference; lastKnownFileType = folder; path = node_modules; sourceTree = "<group>"; };
C94DBD5914E2FC5F00A3A21B /* buffer_ieee754.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = buffer_ieee754.js; sourceTree = "<group>"; };
C94DBD5A14E2FC5F00A3A21B /* buffer.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = buffer.js; sourceTree = "<group>"; };
- C96C1DA714DD7B8300343FC1 /* ViewController_iPad.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController_iPad.xib; sourceTree = "<group>"; };
- C96C1DA814DD7B8300343FC1 /* ViewController_iPhone.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController_iPhone.xib; sourceTree = "<group>"; };
+ C96C1DA814DD7B8300343FC1 /* ViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController.xib; sourceTree = "<group>"; };
C97E0B0714E1EAE6000CB6A3 /* Nios_dgram.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Nios_dgram.h; sourceTree = "<group>"; };
C97E0B0814E1EAE6000CB6A3 /* Nios_dgram.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Nios_dgram.m; sourceTree = "<group>"; };
C97E0B0A14E1EBB2000CB6A3 /* Nios_dgram.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = Nios_dgram.js; sourceTree = "<group>"; };
@@ -488,8 +486,7 @@
C92318D414DD6D9F00646E0C /* index.js */,
C92318D514DD6D9F00646E0C /* ViewController.h */,
C92318D614DD6D9F00646E0C /* ViewController.m */,
- C96C1DA714DD7B8300343FC1 /* ViewController_iPad.xib */,
- C96C1DA814DD7B8300343FC1 /* ViewController_iPhone.xib */,
+ C96C1DA814DD7B8300343FC1 /* ViewController.xib */,
C9268B6214E9ADE800ACED95 /* index.html */,
);
path = example;
@@ -805,8 +802,7 @@
C92318DA14DD6DBD00646E0C /* index.js in Resources */,
C92318CD14DD6D4200646E0C /* Nios.js in Resources */,
C92318C514DD6B5500646E0C /* Nios_fs.js in Resources */,
- C96C1DA914DD7B8300343FC1 /* ViewController_iPad.xib in Resources */,
- C96C1DAA14DD7B8300343FC1 /* ViewController_iPhone.xib in Resources */,
+ C96C1DAA14DD7B8300343FC1 /* ViewController.xib in Resources */,
C97E0B2114E22FB0000CB6A3 /* Nios_net.js in Resources */,
C9268B6314E9ADE800ACED95 /* index.html in Resources */,
C9268B6514E9B14B00ACED95 /* node_modules in Resources */,
@@ -927,6 +923,7 @@
GCC_PREFIX_HEADER = "nios/nios-Prefix.pch";
INFOPLIST_FILE = "nios/nios-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Debug;
@@ -938,6 +935,7 @@
GCC_PREFIX_HEADER = "nios/nios-Prefix.pch";
INFOPLIST_FILE = "nios/nios-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Release;
@@ -33,11 +33,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
// Override point for customization after application launch.
- if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
- self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController_iPhone" bundle:nil] autorelease];
- } else {
- self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController_iPad" bundle:nil] autorelease];
- }
+ self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
- <data>
- <int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">11C25</string>
- <string key="IBDocument.InterfaceBuilderVersion">1919</string>
- <string key="IBDocument.AppKitVersion">1138.11</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">916</string>
- </object>
- <array key="IBDocument.IntegratedClassDependencies">
- <string>IBProxyObject</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="841351856">
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
- <string key="targetRuntimeIdentifier">IBIPadFramework</string>
- </object>
- <object class="IBProxyObject" id="606714003">
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
- <string key="targetRuntimeIdentifier">IBIPadFramework</string>
- </object>
- <object class="IBUIView" id="766721923">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrame">{{0, 20}, {768, 1004}}</string>
- <reference key="NSSuperview"/>
- <reference key="NSWindow"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- <object class="NSColorSpace" key="NSCustomColorSpace">
- <int key="NSID">2</int>
- </object>
- </object>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
- <int key="IBUIStatusBarStyle">2</int>
- </object>
- <string key="targetRuntimeIdentifier">IBIPadFramework</string>
- </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="841351856"/>
- <reference key="destination" ref="766721923"/>
- </object>
- <int key="connectionID">3</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="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="766721923"/>
- <reference key="parent" ref="0"/>
- </object>
- </array>
- </object>
- <dictionary class="NSMutableDictionary" key="flattenedProperties">
- <string key="-1.CustomClassName">ViewController</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="2.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">3</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <array class="NSMutableArray" key="referencedPartialClassDescriptions">
- <object class="IBPartialClassDescription">
- <string key="className">ViewController</string>
- <string key="superclassName">UIViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/ViewController.h</string>
- </object>
- </object>
- </array>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">916</string>
- </data>
-</archive>

0 comments on commit df80122

Please sign in to comment.