Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added native iPad interface.

  • Loading branch information...
commit 840ab5d805964e5cb4c40f15d88cf05ec9c05610 1 parent 11855c3
René Sprotte renspr authored
26 MMGridView.xcodeproj/project.pbxproj
@@ -26,6 +26,7 @@
26 26 7E79DC22135240430085C23D /* MMGridViewDefaultCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E79DC20135240430085C23D /* MMGridViewDefaultCell.h */; };
27 27 7E79DC23135240430085C23D /* MMGridViewDefaultCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E79DC21135240430085C23D /* MMGridViewDefaultCell.m */; };
28 28 7E8B82D213B867BA00E5CA3F /* cell-image.png in Resources */ = {isa = PBXBuildFile; fileRef = 7E8B82D113B867BA00E5CA3F /* cell-image.png */; };
  29 + 7E9B3DEF13D6CB7B00D5E314 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7E9B3DED13D6CB7B00D5E314 /* MainWindow-iPad.xib */; };
29 30 7EBF307E1349F161007AE714 /* MMGridViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EBF307C1349F161007AE714 /* MMGridViewCell.h */; };
30 31 7EBF307F1349F161007AE714 /* MMGridViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7EBF307D1349F161007AE714 /* MMGridViewCell.m */; };
31 32 /* End PBXBuildFile section */
@@ -65,6 +66,7 @@
65 66 7E79DC20135240430085C23D /* MMGridViewDefaultCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMGridViewDefaultCell.h; sourceTree = "<group>"; };
66 67 7E79DC21135240430085C23D /* MMGridViewDefaultCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMGridViewDefaultCell.m; sourceTree = "<group>"; };
67 68 7E8B82D113B867BA00E5CA3F /* cell-image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cell-image.png"; sourceTree = "<group>"; };
  69 + 7E9B3DEE13D6CB7B00D5E314 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = "iPad/en.lproj/MainWindow-iPad.xib"; sourceTree = "<group>"; };
68 70 7EBF307C1349F161007AE714 /* MMGridViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MMGridViewCell.h; path = Classes/MMGridViewCell.h; sourceTree = "<group>"; };
69 71 7EBF307D1349F161007AE714 /* MMGridViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MMGridViewCell.m; path = Classes/MMGridViewCell.m; sourceTree = "<group>"; };
70 72 /* End PBXFileReference section */
@@ -146,6 +148,7 @@
146 148 7E6EF3CD1340B52E00DD91EC /* MMGridViewDemo */ = {
147 149 isa = PBXGroup;
148 150 children = (
  151 + 7E9B3DEC13D6CB7B00D5E314 /* iPad */,
149 152 7E6EF3CE1340B52E00DD91EC /* Supporting Files */,
150 153 7E6EF3D61340B52E00DD91EC /* AppDelegate.h */,
151 154 7E6EF3D71340B52E00DD91EC /* AppDelegate.m */,
@@ -172,6 +175,14 @@
172 175 name = "Supporting Files";
173 176 sourceTree = "<group>";
174 177 };
  178 + 7E9B3DEC13D6CB7B00D5E314 /* iPad */ = {
  179 + isa = PBXGroup;
  180 + children = (
  181 + 7E9B3DED13D6CB7B00D5E314 /* MainWindow-iPad.xib */,
  182 + );
  183 + name = iPad;
  184 + sourceTree = "<group>";
  185 + };
175 186 /* End PBXGroup section */
176 187
177 188 /* Begin PBXHeadersBuildPhase section */
@@ -259,6 +270,7 @@
259 270 7E6EF3E11340B52E00DD91EC /* RootViewController.xib in Resources */,
260 271 7E63973B1349CED300823606 /* AnyViewController.xib in Resources */,
261 272 7E8B82D213B867BA00E5CA3F /* cell-image.png in Resources */,
  273 + 7E9B3DEF13D6CB7B00D5E314 /* MainWindow-iPad.xib in Resources */,
262 274 );
263 275 runOnlyForDeploymentPostprocessing = 0;
264 276 };
@@ -322,6 +334,14 @@
322 334 name = RootViewController.xib;
323 335 sourceTree = "<group>";
324 336 };
  337 + 7E9B3DED13D6CB7B00D5E314 /* MainWindow-iPad.xib */ = {
  338 + isa = PBXVariantGroup;
  339 + children = (
  340 + 7E9B3DEE13D6CB7B00D5E314 /* en */,
  341 + );
  342 + name = "MainWindow-iPad.xib";
  343 + sourceTree = "<group>";
  344 + };
325 345 /* End PBXVariantGroup section */
326 346
327 347 /* Begin XCBuildConfiguration section */
@@ -388,9 +408,10 @@
388 408 GCC_PRECOMPILE_PREFIX_HEADER = YES;
389 409 GCC_PREFIX_HEADER = "MMGridViewDemo/MMGridViewDemo-Prefix.pch";
390 410 INFOPLIST_FILE = "MMGridViewDemo/MMGridViewDemo-Info.plist";
391   - IPHONEOS_DEPLOYMENT_TARGET = 4.0;
  411 + IPHONEOS_DEPLOYMENT_TARGET = 4.3;
392 412 OTHER_LDFLAGS = "";
393 413 PRODUCT_NAME = "$(TARGET_NAME)";
  414 + TARGETED_DEVICE_FAMILY = "1,2";
394 415 WRAPPER_EXTENSION = app;
395 416 };
396 417 name = Debug;
@@ -404,10 +425,11 @@
404 425 GCC_PRECOMPILE_PREFIX_HEADER = YES;
405 426 GCC_PREFIX_HEADER = "MMGridViewDemo/MMGridViewDemo-Prefix.pch";
406 427 INFOPLIST_FILE = "MMGridViewDemo/MMGridViewDemo-Info.plist";
407   - IPHONEOS_DEPLOYMENT_TARGET = 4.0;
  428 + IPHONEOS_DEPLOYMENT_TARGET = 4.3;
408 429 OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
409 430 OTHER_LDFLAGS = "";
410 431 PRODUCT_NAME = "$(TARGET_NAME)";
  432 + TARGETED_DEVICE_FAMILY = "1,2";
411 433 VALIDATE_PRODUCT = YES;
412 434 WRAPPER_EXTENSION = app;
413 435 };
9 MMGridViewDemo/MMGridViewDemo-Info.plist
@@ -28,11 +28,20 @@
28 28 <true/>
29 29 <key>NSMainNibFile</key>
30 30 <string>MainWindow</string>
  31 + <key>NSMainNibFile~ipad</key>
  32 + <string>MainWindow-iPad</string>
31 33 <key>UISupportedInterfaceOrientations</key>
32 34 <array>
33 35 <string>UIInterfaceOrientationPortrait</string>
34 36 <string>UIInterfaceOrientationLandscapeLeft</string>
35 37 <string>UIInterfaceOrientationLandscapeRight</string>
36 38 </array>
  39 + <key>UISupportedInterfaceOrientations~ipad</key>
  40 + <array>
  41 + <string>UIInterfaceOrientationPortrait</string>
  42 + <string>UIInterfaceOrientationLandscapeLeft</string>
  43 + <string>UIInterfaceOrientationLandscapeRight</string>
  44 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
  45 + </array>
37 46 </dict>
38 47 </plist>
257 MMGridViewDemo/iPad/en.lproj/MainWindow-iPad.xib
... ... @@ -0,0 +1,257 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
  3 + <data>
  4 + <int key="IBDocument.SystemTarget">1056</int>
  5 + <string key="IBDocument.SystemVersion">10K540</string>
  6 + <string key="IBDocument.InterfaceBuilderVersion">844</string>
  7 + <string key="IBDocument.AppKitVersion">1038.36</string>
  8 + <string key="IBDocument.HIToolboxVersion">461.00</string>
  9 + <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
  10 + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  11 + <string key="NS.object.0">141</string>
  12 + </object>
  13 + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
  14 + <bool key="EncodedWithXMLCoder">YES</bool>
  15 + </object>
  16 + <object class="NSArray" key="IBDocument.PluginDependencies">
  17 + <bool key="EncodedWithXMLCoder">YES</bool>
  18 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  19 + </object>
  20 + <object class="NSMutableDictionary" key="IBDocument.Metadata">
  21 + <bool key="EncodedWithXMLCoder">YES</bool>
  22 + <object class="NSArray" key="dict.sortedKeys" id="0">
  23 + <bool key="EncodedWithXMLCoder">YES</bool>
  24 + </object>
  25 + <object class="NSMutableArray" key="dict.values">
  26 + <bool key="EncodedWithXMLCoder">YES</bool>
  27 + </object>
  28 + </object>
  29 + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
  30 + <bool key="EncodedWithXMLCoder">YES</bool>
  31 + <object class="IBProxyObject" id="841351856">
  32 + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
  33 + <string key="targetRuntimeIdentifier">IBIPadFramework</string>
  34 + </object>
  35 + <object class="IBProxyObject" id="427554174">
  36 + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
  37 + <string key="targetRuntimeIdentifier">IBIPadFramework</string>
  38 + </object>
  39 + <object class="IBUICustomObject" id="664661524">
  40 + <string key="targetRuntimeIdentifier">IBIPadFramework</string>
  41 + </object>
  42 + <object class="IBUIViewController" id="943309135">
  43 + <string key="IBUINibName">RootViewController</string>
  44 + <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics" id="424539466">
  45 + <int key="IBUIStatusBarStyle">2</int>
  46 + </object>
  47 + <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
  48 + <int key="interfaceOrientation">1</int>
  49 + </object>
  50 + <string key="targetRuntimeIdentifier">IBIPadFramework</string>
  51 + <bool key="IBUIHorizontal">NO</bool>
  52 + </object>
  53 + <object class="IBUIWindow" id="117978783">
  54 + <nil key="NSNextResponder"/>
  55 + <int key="NSvFlags">292</int>
  56 + <string key="NSFrameSize">{768, 1004}</string>
  57 + <object class="NSColor" key="IBUIBackgroundColor">
  58 + <int key="NSColorSpace">1</int>
  59 + <bytes key="NSRGB">MSAxIDEAA</bytes>
  60 + </object>
  61 + <bool key="IBUIOpaque">NO</bool>
  62 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
  63 + <reference key="IBUISimulatedStatusBarMetrics" ref="424539466"/>
  64 + <string key="targetRuntimeIdentifier">IBIPadFramework</string>
  65 + <bool key="IBUIResizesToFullScreen">YES</bool>
  66 + </object>
  67 + </object>
  68 + <object class="IBObjectContainer" key="IBDocument.Objects">
  69 + <object class="NSMutableArray" key="connectionRecords">
  70 + <bool key="EncodedWithXMLCoder">YES</bool>
  71 + <object class="IBConnectionRecord">
  72 + <object class="IBCocoaTouchOutletConnection" key="connection">
  73 + <string key="label">delegate</string>
  74 + <reference key="source" ref="841351856"/>
  75 + <reference key="destination" ref="664661524"/>
  76 + </object>
  77 + <int key="connectionID">4</int>
  78 + </object>
  79 + <object class="IBConnectionRecord">
  80 + <object class="IBCocoaTouchOutletConnection" key="connection">
  81 + <string key="label">viewController</string>
  82 + <reference key="source" ref="664661524"/>
  83 + <reference key="destination" ref="943309135"/>
  84 + </object>
  85 + <int key="connectionID">11</int>
  86 + </object>
  87 + <object class="IBConnectionRecord">
  88 + <object class="IBCocoaTouchOutletConnection" key="connection">
  89 + <string key="label">window</string>
  90 + <reference key="source" ref="664661524"/>
  91 + <reference key="destination" ref="117978783"/>
  92 + </object>
  93 + <int key="connectionID">14</int>
  94 + </object>
  95 + </object>
  96 + <object class="IBMutableOrderedSet" key="objectRecords">
  97 + <object class="NSArray" key="orderedObjects">
  98 + <bool key="EncodedWithXMLCoder">YES</bool>
  99 + <object class="IBObjectRecord">
  100 + <int key="objectID">0</int>
  101 + <reference key="object" ref="0"/>
  102 + <reference key="children" ref="1000"/>
  103 + <nil key="parent"/>
  104 + </object>
  105 + <object class="IBObjectRecord">
  106 + <int key="objectID">-1</int>
  107 + <reference key="object" ref="841351856"/>
  108 + <reference key="parent" ref="0"/>
  109 + <string key="objectName">File's Owner</string>
  110 + </object>
  111 + <object class="IBObjectRecord">
  112 + <int key="objectID">3</int>
  113 + <reference key="object" ref="664661524"/>
  114 + <reference key="parent" ref="0"/>
  115 + <string key="objectName">App Delegate</string>
  116 + </object>
  117 + <object class="IBObjectRecord">
  118 + <int key="objectID">-2</int>
  119 + <reference key="object" ref="427554174"/>
  120 + <reference key="parent" ref="0"/>
  121 + </object>
  122 + <object class="IBObjectRecord">
  123 + <int key="objectID">10</int>
  124 + <reference key="object" ref="943309135"/>
  125 + <reference key="parent" ref="0"/>
  126 + </object>
  127 + <object class="IBObjectRecord">
  128 + <int key="objectID">12</int>
  129 + <reference key="object" ref="117978783"/>
  130 + <reference key="parent" ref="0"/>
  131 + </object>
  132 + </object>
  133 + </object>
  134 + <object class="NSMutableDictionary" key="flattenedProperties">
  135 + <bool key="EncodedWithXMLCoder">YES</bool>
  136 + <object class="NSArray" key="dict.sortedKeys">
  137 + <bool key="EncodedWithXMLCoder">YES</bool>
  138 + <string>-1.CustomClassName</string>
  139 + <string>-2.CustomClassName</string>
  140 + <string>10.CustomClassName</string>
  141 + <string>10.IBEditorWindowLastContentRect</string>
  142 + <string>10.IBLastUsedUIStatusBarStylesToTargetRuntimesMap</string>
  143 + <string>10.IBPluginDependency</string>
  144 + <string>12.IBEditorWindowLastContentRect</string>
  145 + <string>12.IBLastUsedUIStatusBarStylesToTargetRuntimesMap</string>
  146 + <string>12.IBPluginDependency</string>
  147 + <string>3.CustomClassName</string>
  148 + <string>3.IBPluginDependency</string>
  149 + </object>
  150 + <object class="NSMutableArray" key="dict.values">
  151 + <bool key="EncodedWithXMLCoder">YES</bool>
  152 + <string>UIApplication</string>
  153 + <string>UIResponder</string>
  154 + <string>RootViewController</string>
  155 + <string>{{234, 376}, {320, 480}}</string>
  156 + <object class="NSMutableDictionary">
  157 + <string key="NS.key.0">IBCocoaTouchFramework</string>
  158 + <integer value="0" key="NS.object.0"/>
  159 + </object>
  160 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  161 + <string>{{525, 346}, {320, 480}}</string>
  162 + <object class="NSMutableDictionary">
  163 + <string key="NS.key.0">IBCocoaTouchFramework</string>
  164 + <integer value="0" key="NS.object.0"/>
  165 + </object>
  166 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  167 + <string>AppDelegate</string>
  168 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  169 + </object>
  170 + </object>
  171 + <object class="NSMutableDictionary" key="unlocalizedProperties">
  172 + <bool key="EncodedWithXMLCoder">YES</bool>
  173 + <reference key="dict.sortedKeys" ref="0"/>
  174 + <object class="NSMutableArray" key="dict.values">
  175 + <bool key="EncodedWithXMLCoder">YES</bool>
  176 + </object>
  177 + </object>
  178 + <nil key="activeLocalization"/>
  179 + <object class="NSMutableDictionary" key="localizations">
  180 + <bool key="EncodedWithXMLCoder">YES</bool>
  181 + <reference key="dict.sortedKeys" ref="0"/>
  182 + <object class="NSMutableArray" key="dict.values">
  183 + <bool key="EncodedWithXMLCoder">YES</bool>
  184 + </object>
  185 + </object>
  186 + <nil key="sourceID"/>
  187 + <int key="maxID">15</int>
  188 + </object>
  189 + <object class="IBClassDescriber" key="IBDocument.Classes">
  190 + <object class="NSMutableArray" key="referencedPartialClassDescriptions">
  191 + <bool key="EncodedWithXMLCoder">YES</bool>
  192 + <object class="IBPartialClassDescription">
  193 + <string key="className">AppDelegate</string>
  194 + <string key="superclassName">NSObject</string>
  195 + <object class="NSMutableDictionary" key="outlets">
  196 + <bool key="EncodedWithXMLCoder">YES</bool>
  197 + <object class="NSArray" key="dict.sortedKeys">
  198 + <bool key="EncodedWithXMLCoder">YES</bool>
  199 + <string>viewController</string>
  200 + <string>window</string>
  201 + </object>
  202 + <object class="NSMutableArray" key="dict.values">
  203 + <bool key="EncodedWithXMLCoder">YES</bool>
  204 + <string>RootViewController</string>
  205 + <string>UIWindow</string>
  206 + </object>
  207 + </object>
  208 + <object class="NSMutableDictionary" key="toOneOutletInfosByName">
  209 + <bool key="EncodedWithXMLCoder">YES</bool>
  210 + <object class="NSArray" key="dict.sortedKeys">
  211 + <bool key="EncodedWithXMLCoder">YES</bool>
  212 + <string>viewController</string>
  213 + <string>window</string>
  214 + </object>
  215 + <object class="NSMutableArray" key="dict.values">
  216 + <bool key="EncodedWithXMLCoder">YES</bool>
  217 + <object class="IBToOneOutletInfo">
  218 + <string key="name">viewController</string>
  219 + <string key="candidateClassName">RootViewController</string>
  220 + </object>
  221 + <object class="IBToOneOutletInfo">
  222 + <string key="name">window</string>
  223 + <string key="candidateClassName">UIWindow</string>
  224 + </object>
  225 + </object>
  226 + </object>
  227 + <object class="IBClassDescriptionSource" key="sourceIdentifier">
  228 + <string key="majorKey">IBProjectSource</string>
  229 + <string key="minorKey">./Classes/AppDelegate.h</string>
  230 + </object>
  231 + </object>
  232 + <object class="IBPartialClassDescription">
  233 + <string key="className">RootViewController</string>
  234 + <string key="superclassName">UIViewController</string>
  235 + <object class="IBClassDescriptionSource" key="sourceIdentifier">
  236 + <string key="majorKey">IBProjectSource</string>
  237 + <string key="minorKey">./Classes/RootViewController.h</string>
  238 + </object>
  239 + </object>
  240 + </object>
  241 + </object>
  242 + <int key="IBDocument.localizationMode">0</int>
  243 + <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
  244 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
  245 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
  246 + <integer value="1056" key="NS.object.0"/>
  247 + </object>
  248 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
  249 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
  250 + <integer value="3100" key="NS.object.0"/>
  251 + </object>
  252 + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
  253 + <nil key="IBDocument.LastKnownRelativeProjectPath"/>
  254 + <int key="IBDocument.defaultPropertyAccessControl">3</int>
  255 + <string key="IBCocoaTouchPluginVersion">141</string>
  256 + </data>
  257 +</archive>

0 comments on commit 840ab5d

Please sign in to comment.
Something went wrong with that request. Please try again.