Permalink
Browse files

adding crazy amount of new styles!

  • Loading branch information...
tomgco committed Jun 12, 2011
1 parent da74d9b commit 05773406100d48873f174620dac073e742587235
View
@@ -48,23 +48,10 @@
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBUIImageView" id="893974675">
- <reference key="NSNextResponder" ref="727149191"/>
- <int key="NSvFlags">292</int>
- <string key="NSFrame">{{17, 6}, {60, 60}}</string>
- <reference key="NSSuperview" ref="727149191"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="692913882"/>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
- <int key="IBUIContentMode">2</int>
- <bool key="IBUIUserInteractionEnabled">NO</bool>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
<object class="IBUILabel" id="692913882">
<reference key="NSNextResponder" ref="727149191"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{99, 6}, {168, 15}}</string>
+ <string key="NSFrame">{{99, 28}, {168, 15}}</string>
<reference key="NSSuperview" ref="727149191"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="472512000"/>
@@ -92,32 +79,96 @@
<object class="IBUILabel" id="472512000">
<reference key="NSNextResponder" ref="727149191"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{101, 25}, {168, 21}}</string>
+ <string key="NSFrame">{{99, 41}, {168, 21}}</string>
<reference key="NSSuperview" ref="727149191"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Wall Name</string>
<object class="NSFont" key="IBUIFont">
- <string key="NSName">Helvetica-Bold</string>
- <double key="NSSize">17</double>
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">12</double>
<int key="NSfFlags">16</int>
</object>
<object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MCAwIDAAA</bytes>
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
<reference key="IBUIHighlightedColor" ref="606110849"/>
<int key="IBUIBaselineAdjustment">1</int>
<float key="IBUIMinimumFontSize">10</float>
</object>
+ <object class="IBUIImageView" id="534113634">
+ <reference key="NSNextResponder" ref="727149191"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{90, 1}, {230, 2}}</string>
+ <reference key="NSSuperview" ref="727149191"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="893974675"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSCustomResource" key="IBUIImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">divider</string>
+ </object>
+ </object>
+ <object class="IBUIImageView" id="893974675">
+ <reference key="NSNextResponder" ref="727149191"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{0.5, 0}, {90, 73}}</string>
+ <reference key="NSSuperview" ref="727149191"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="445353308"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <int key="IBUIContentMode">2</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIImageView" id="445353308">
+ <reference key="NSNextResponder" ref="727149191"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{99, 9}, {18, 17}}</string>
+ <reference key="NSSuperview" ref="727149191"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="692913882"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSCustomResource" key="IBUIImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">fav-icon.png</string>
+ </object>
+ </object>
+ <object class="IBUIImageView" id="539147110">
+ <reference key="NSNextResponder" ref="727149191"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{288, 25}, {12, 23}}</string>
+ <reference key="NSSuperview" ref="727149191"/>
+ <reference key="NSWindow"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSCustomResource" key="IBUIImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">view-arrow.png</string>
+ </object>
+ </object>
</object>
- <string key="NSFrameSize">{300, 73}</string>
+ <string key="NSFrameSize">{320, 73}</string>
<reference key="NSSuperview" ref="769002936"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="893974675"/>
+ <reference key="NSNextKeyView" ref="534113634"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwAA</bytes>
@@ -139,7 +190,6 @@
</object>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <int key="IBUIAccessoryType">1</int>
<reference key="IBUIContentView" ref="727149191"/>
<string key="IBUIReuseIdentifier">ApplicationCell</string>
</object>
@@ -205,9 +255,12 @@
<reference key="object" ref="769002936"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="534113634"/>
<reference ref="893974675"/>
<reference ref="472512000"/>
<reference ref="692913882"/>
+ <reference ref="445353308"/>
+ <reference ref="539147110"/>
</object>
<reference key="parent" ref="0"/>
<string key="objectName">AlbumCell</string>
@@ -222,11 +275,27 @@
<reference key="object" ref="692913882"/>
<reference key="parent" ref="769002936"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">22</int>
+ <reference key="object" ref="534113634"/>
+ <reference key="parent" ref="769002936"/>
+ <string key="objectName">Image View - devider</string>
+ </object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
<reference key="object" ref="893974675"/>
<reference key="parent" ref="769002936"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">23</int>
+ <reference key="object" ref="445353308"/>
+ <reference key="parent" ref="769002936"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">24</int>
+ <reference key="object" ref="539147110"/>
+ <reference key="parent" ref="769002936"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -266,7 +335,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">21</int>
+ <int key="maxID">24</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -394,6 +463,21 @@
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>divider</string>
+ <string>fav-icon.png</string>
+ <string>view-arrow.png</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>{16, 16}</string>
+ <string>{18, 17}</string>
+ <string>{12, 23}</string>
+ </object>
+ </object>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
</archive>
@@ -54,9 +54,9 @@ - (void)setBackgroundColor:(UIColor *)backgroundColor
{
[super setBackgroundColor:backgroundColor];
- iconView.backgroundColor = backgroundColor;
- dateLabel.backgroundColor = backgroundColor;
- wallLabel.backgroundColor = backgroundColor;
+ iconView.backgroundColor = [UIColor clearColor];
+ dateLabel.backgroundColor = [UIColor clearColor];
+ wallLabel.backgroundColor = [UIColor clearColor];
}
- (void)setIcon:(UIImage *)newIcon
@@ -55,7 +55,9 @@ - (void)viewDidLoad
self.tableView.rowHeight = 73.0;
self.tableView.backgroundColor = DARK_BACKGROUND;
+
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+
UISwipeGestureRecognizer *gestures;
gestures = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeRight:)];
[gestures setDirection:UISwipeGestureRecognizerDirectionRight];
@@ -180,13 +182,16 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
}
// Display dark and light background in alternate rows -- see tableView:willDisplayCell:forRowAtIndexPath:.
- cell.useDarkBackground = (indexPath.row % 2 == 0);
-
+ //cell.useDarkBackground = (indexPath.row % 2 == 0);
+ UIImageView* vwimg = [ [ UIImageView alloc] initWithFrame: cell.frame];
+ UIImage* img = [ UIImage imageNamed: @"cell-background"];
+ vwimg.image = img;
+ cell.backgroundView = vwimg;
NSDictionary *dictionary = [self.tableDataSource objectAtIndex:indexPath.row];
cell.wall = [dictionary objectForKey:@"GawkUrl"];
cell.date = [dictionary objectForKey:@"DateCreated"];
cell.icon = [UIImage imageWithContentsOfFile:[dictionary objectForKey:@"Thumbnail"]];
- cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
+ cell.accessoryType = UITableViewCellAccessoryNone;
return cell;
}
@@ -13,8 +13,8 @@
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>IBProxyObject</string>
- <string>IBUIImageView</string>
<string>IBUIBarButtonItem</string>
+ <string>IBUIImageView</string>
<string>IBUIButton</string>
<string>IBUINavigationBar</string>
<string>IBUINavigationItem</string>
@@ -137,7 +137,7 @@
<string key="NSFrame">{{20, 342}, {93, 37}}</string>
<reference key="NSSuperview" ref="745497247"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView"/>
+ <reference key="NSNextKeyView" ref="484897251"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
@@ -165,6 +165,7 @@
<string key="NSFrame">{{196, 342}, {93, 37}}</string>
<reference key="NSSuperview" ref="745497247"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
@@ -270,11 +271,6 @@
<reference key="object" ref="975951072"/>
<reference key="parent" ref="0"/>
</object>
- <object class="IBObjectRecord">
- <int key="objectID">4</int>
- <reference key="object" ref="873029372"/>
- <reference key="parent" ref="0"/>
- </object>
<object class="IBObjectRecord">
<int key="objectID">26</int>
<reference key="object" ref="745497247"/>
@@ -331,6 +327,11 @@
<reference key="object" ref="484897251"/>
<reference key="parent" ref="745497247"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">4</int>
+ <reference key="object" ref="873029372"/>
+ <reference key="parent" ref="0"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -378,7 +379,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">40</int>
+ <int key="maxID">51</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -401,12 +402,14 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>table</string>
<string>tmpCell</string>
<string>videoPlayer</string>
<string>videoView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UITableView</string>
<string>ApplicationCell</string>
<string>UIView</string>
<string>UIView</string>
@@ -416,12 +419,17 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>table</string>
<string>tmpCell</string>
<string>videoPlayer</string>
<string>videoView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">table</string>
+ <string key="candidateClassName">UITableView</string>
+ </object>
<object class="IBToOneOutletInfo">
<string key="name">tmpCell</string>
<string key="candidateClassName">ApplicationCell</string>
@@ -23,6 +23,7 @@ @implementation GawkAppDelegate
#pragma mark -
#pragma mark Application lifecycle
+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
@@ -56,7 +57,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[[NSUserDefaults standardUserDefaults] synchronize];
}
-
+ self.tabBarController.tabBar.backgroundColor = [UIColor colorWithRed:47/255 green:131/255 blue:125/255 alpha:1];
// Add the view controller's view to the window and display.
//self.window.rootViewController = self.gawkViewController;
self.window.rootViewController = self.tabBarController;
View
@@ -65,5 +65,9 @@
<array/>
<key>UTImportedTypeDeclarations</key>
<array/>
+ <key>UIAppFonts</key>
+ <array>
+ <string></string>
+ </array>
</dict>
</plist>
Oops, something went wrong.

0 comments on commit 0577340

Please sign in to comment.