Skip to content

Commit

Permalink
CustomCellSample: added Indentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatsan committed Jun 9, 2011
1 parent 96e4551 commit f201c88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CustomCellSample/CustomCellSample/CustomCell.xib
Expand Up @@ -3,12 +3,12 @@
<data>
<int key="IBDocument.SystemTarget">1056</int>
<string key="IBDocument.SystemVersion">10J869</string>
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
<string key="IBDocument.InterfaceBuilderVersion">1306</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">300</string>
<string key="NS.object.0">301</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -123,7 +123,6 @@
<string key="NSFrame">{{225, 9}, {79, 79}}</string>
<reference key="NSSuperview" ref="564671446"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
Expand Down Expand Up @@ -154,6 +153,7 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUISeparatorStyle">1</int>
<reference key="IBUIContentView" ref="564671446"/>
<string key="IBUIReuseIdentifier">CustomCell</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
Expand Down Expand Up @@ -350,6 +350,6 @@
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">300</string>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
</archive>
1 change: 1 addition & 0 deletions CustomCellSample/CustomCellSample/RootViewController.m
Expand Up @@ -69,6 +69,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
{
CustomCell* cell = (CustomCell*)[tableView dequeueReusableCellWithIdentifier:CUSTOM_CELL_NIB];
if (cell == nil) {
NSLog(@"x");
UINib* nib = [UINib nibWithNibName:CUSTOM_CELL_NIB bundle:nil];
NSArray* array = [nib instantiateWithOwner:nil options:nil];
cell = [array objectAtIndex:0];
Expand Down

0 comments on commit f201c88

Please sign in to comment.