Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding crazy amount of new styles!

  • Loading branch information...
commit 05773406100d48873f174620dac073e742587235 1 parent da74d9b
@tomgco authored
View
130 AlbumViewCell.xib
@@ -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>
@@ -223,10 +276,26 @@
<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>
View
6 Classes/AlbumCellSubview.m
@@ -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
View
11 Classes/AlbumViewController.m
@@ -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;
}
View
24 Classes/AlbumViewController.xib
@@ -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>
@@ -271,11 +272,6 @@
<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"/>
<object class="NSMutableArray" key="children">
@@ -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,6 +419,7 @@
<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>
@@ -423,6 +427,10 @@
<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>
</object>
View
3  Classes/GawkAppDelegate.m
@@ -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
4 Gawk-Info.plist
@@ -65,5 +65,9 @@
<array/>
<key>UTImportedTypeDeclarations</key>
<array/>
+ <key>UIAppFonts</key>
+ <array>
+ <string></string>
+ </array>
</dict>
</plist>
View
189 Gawk.xcodeproj/WallCellSubView.xib
@@ -54,7 +54,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{198, 2}, {168, 15}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="949484146"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -78,34 +77,11 @@
<float key="IBUIMinimumFontSize">10</float>
<int key="IBUILineBreakMode">5</int>
</object>
- <object class="IBUILabel" id="952120448">
- <reference key="NSNextResponder" ref="853753426"/>
- <int key="NSvFlags">292</int>
- <string key="NSFrame">{{181, 2}, {168, 15}}</string>
- <reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="934083769"/>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <bool key="IBUIUserInteractionEnabled">NO</bool>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <string key="IBUIText">By</string>
- <reference key="IBUIFont" ref="739739685"/>
- <object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">2</int>
- <bytes key="NSRGB">MC4yMjc0NTEgMC4yMjc0NTEgMC4yMjc0NTEAA</bytes>
- </object>
- <reference key="IBUIHighlightedColor" ref="703093997"/>
- <int key="IBUIBaselineAdjustment">1</int>
- <float key="IBUIMinimumFontSize">10</float>
- <int key="IBUILineBreakMode">5</int>
- </object>
<object class="IBUILabel" id="949484146">
<reference key="NSNextResponder" ref="853753426"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{21, 25}, {259, 46}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="912208935"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -132,8 +108,11 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 4}, {168, 21}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="952120448"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MSAwAA</bytes>
+ </object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<bool key="IBUIUserInteractionEnabled">NO</bool>
@@ -158,7 +137,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 79}, {72, 37}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="993781062"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -186,7 +164,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{100, 79}, {72, 37}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1041447961"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -207,7 +184,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{180, 79}, {76, 37}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -223,12 +199,36 @@
</object>
<reference key="IBUINormalTitleShadowColor" ref="608511244"/>
</object>
+ <object class="IBUILabel" id="952120448">
+ <reference key="NSNextResponder" ref="853753426"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{181, 2}, {168, 15}}</string>
+ <reference key="NSSuperview" ref="853753426"/>
+ <reference key="NSNextKeyView" ref="934083769"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MSAwAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">By</string>
+ <reference key="IBUIFont" ref="739739685"/>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">2</int>
+ <bytes key="NSRGB">MC4yMjc0NTEgMC4yMjc0NTEgMC4yMjc0NTEAA</bytes>
+ </object>
+ <reference key="IBUIHighlightedColor" ref="703093997"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUILineBreakMode">5</int>
+ </object>
<object class="IBUIImageView" id="912208935">
<reference key="NSNextResponder" ref="853753426"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{295, 29}, {18, 18}}</string>
<reference key="NSSuperview" ref="853753426"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="326990164"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -237,13 +237,12 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSCustomResource" key="IBUIImage">
<string key="NSClassName">NSImage</string>
- <string key="NSResourceName">favourites-icon.gif</string>
+ <string key="NSResourceName">fav-icon.png</string>
</object>
</object>
</object>
<string key="NSFrameSize">{320, 133}</string>
<reference key="NSSuperview" ref="406662821"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="430315838"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
@@ -258,7 +257,6 @@
</object>
<string key="NSFrameSize">{320, 133}</string>
<reference key="NSSuperview"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="853753426"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
@@ -359,13 +357,13 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="912208935"/>
- <reference ref="952120448"/>
<reference ref="1041447961"/>
<reference ref="993781062"/>
<reference ref="326990164"/>
<reference ref="949484146"/>
<reference ref="430315838"/>
<reference ref="934083769"/>
+ <reference ref="952120448"/>
</object>
<reference key="parent" ref="0"/>
<string key="objectName">WallCell</string>
@@ -457,126 +455,9 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">41</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <object class="NSMutableArray" key="referencedPartialClassDescriptions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBPartialClassDescription">
- <string key="className">WallCell</string>
- <string key="superclassName">UITableViewCell</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/WallCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">WallCellSubview</string>
- <string key="superclassName">WallCell</string>
- <object class="NSMutableDictionary" key="outlets">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>creatorLabel</string>
- <string>descriptionLabel</string>
- <string>nameLabel</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>UILabel</string>
- <string>UILabel</string>
- <string>UILabel</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>creatorLabel</string>
- <string>descriptionLabel</string>
- <string>nameLabel</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBToOneOutletInfo">
- <string key="name">creatorLabel</string>
- <string key="candidateClassName">UILabel</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">descriptionLabel</string>
- <string key="candidateClassName">UILabel</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">nameLabel</string>
- <string key="candidateClassName">UILabel</string>
- </object>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/WallCellSubview.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">WallViewController</string>
- <string key="superclassName">UITableViewController</string>
- <object class="NSMutableDictionary" key="actions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>recordGawk:</string>
- <string>shareGawkwall:</string>
- <string>viewGawks:</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>recordGawk:</string>
- <string>shareGawkwall:</string>
- <string>viewGawks:</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBActionInfo">
- <string key="name">recordGawk:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">shareGawkwall:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">viewGawks:</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">tmpCell</string>
- <string key="NS.object.0">WallCell</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">tmpCell</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">tmpCell</string>
- <string key="candidateClassName">WallCell</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/WallViewController.h</string>
- </object>
- </object>
- </object>
+ <int key="maxID">43</int>
</object>
+ <object class="IBClassDescriber" key="IBDocument.Classes"/>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
@@ -586,8 +467,8 @@
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
- <string key="NS.key.0">favourites-icon.gif</string>
- <string key="NS.object.0">{18, 18}</string>
+ <string key="NS.key.0">fav-icon.png</string>
+ <string key="NS.object.0">{18, 17}</string>
</object>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
View
4 Gawk.xcodeproj/WallCellSubview.m
@@ -14,8 +14,8 @@ @implementation WallCellSubview
- (void)setBackgroundColor:(UIColor *)backgroundColor
{
[super setBackgroundColor:backgroundColor];
- creatorLabel.backgroundColor = backgroundColor;
- nameLabel.backgroundColor = backgroundColor;
+ creatorLabel.backgroundColor = [UIColor clearColor];
+ nameLabel.backgroundColor = [UIColor clearColor];
}
- (void)setName:(NSString *)newName
View
13 Gawk.xcodeproj/WallViewController.m
@@ -104,7 +104,7 @@ - (void)viewDidLoad
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
self.tableView.rowHeight = 133.0; //Switch to 133.0
- self.tableView.backgroundColor = DARK_BACKGROUND;
+ self.tableView.backgroundColor = LIGHT_BACKGROUND;
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.scrollsToTop = YES;
}
@@ -174,20 +174,23 @@ - (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.wallList objectAtIndex:indexPath.row];
- NSLog(@"%@", dictionary);
cell.name = [dictionary objectForKey:@"name"];
cell.creator = [dictionary objectForKey:@"memberSecureId"];
cell.description = [dictionary objectForKey:@"description"];
//cell.icon = [UIImage imageWithContentsOfFile:[dictionary objectForKey:@"Thumbnail"]];
cell.accessoryType = UITableViewCellAccessoryNone;
+ cell.backgroundColor = [UIColor clearColor];
return cell;
}
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
- cell.backgroundColor = ((WallCell *)cell).useDarkBackground ? DARK_BACKGROUND : LIGHT_BACKGROUND;
+ //cell.backgroundColor = ((WallCell *)cell).useDarkBackground ? DARK_BACKGROUND : LIGHT_BACKGROUND;
}
/*
View
32 Gawk.xcodeproj/project.pbxproj
@@ -43,6 +43,14 @@
E25B700F13A40C720004AC85 /* menu-bar@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B700B13A40C720004AC85 /* menu-bar@2x.png */; };
E25B701213A40FD80004AC85 /* cell-background.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701013A40FD80004AC85 /* cell-background.png */; };
E25B701313A40FD80004AC85 /* cell-background@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701113A40FD80004AC85 /* cell-background@2x.png */; };
+ E25B701613A4229D0004AC85 /* divider.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701413A4229D0004AC85 /* divider.png */; };
+ E25B701713A4229D0004AC85 /* divider@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701513A4229D0004AC85 /* divider@2x.png */; };
+ E25B701C13A428650004AC85 /* fav-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701813A428650004AC85 /* fav-icon.png */; };
+ E25B701D13A428650004AC85 /* fav-icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701913A428650004AC85 /* fav-icon@2x.png */; };
+ E25B701E13A428650004AC85 /* fav-icon-picked.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701A13A428650004AC85 /* fav-icon-picked.png */; };
+ E25B701F13A428650004AC85 /* fav-icon-picked@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B701B13A428650004AC85 /* fav-icon-picked@2x.png */; };
+ E25B702213A431700004AC85 /* view-arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B702013A431700004AC85 /* view-arrow.png */; };
+ E25B702313A431700004AC85 /* view-arrow@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B702113A431700004AC85 /* view-arrow@2x.png */; };
E2603FC113A1786A00177ECD /* WallCellSubview.m in Sources */ = {isa = PBXBuildFile; fileRef = E2603FBF13A1786900177ECD /* WallCellSubview.m */; };
E2603FC813A178BA00177ECD /* WallCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E2603FC713A178BA00177ECD /* WallCell.m */; };
E2603FCA13A17D4100177ECD /* WallCellSubView.xib in Resources */ = {isa = PBXBuildFile; fileRef = E2603FC913A17D4000177ECD /* WallCellSubView.xib */; };
@@ -207,6 +215,14 @@
E25B700B13A40C720004AC85 /* menu-bar@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "menu-bar@2x.png"; sourceTree = "<group>"; };
E25B701013A40FD80004AC85 /* cell-background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cell-background.png"; sourceTree = "<group>"; };
E25B701113A40FD80004AC85 /* cell-background@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cell-background@2x.png"; sourceTree = "<group>"; };
+ E25B701413A4229D0004AC85 /* divider.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = divider.png; sourceTree = "<group>"; };
+ E25B701513A4229D0004AC85 /* divider@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "divider@2x.png"; sourceTree = "<group>"; };
+ E25B701813A428650004AC85 /* fav-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fav-icon.png"; sourceTree = "<group>"; };
+ E25B701913A428650004AC85 /* fav-icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fav-icon@2x.png"; sourceTree = "<group>"; };
+ E25B701A13A428650004AC85 /* fav-icon-picked.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fav-icon-picked.png"; sourceTree = "<group>"; };
+ E25B701B13A428650004AC85 /* fav-icon-picked@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fav-icon-picked@2x.png"; sourceTree = "<group>"; };
+ E25B702013A431700004AC85 /* view-arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "view-arrow.png"; sourceTree = "<group>"; };
+ E25B702113A431700004AC85 /* view-arrow@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "view-arrow@2x.png"; sourceTree = "<group>"; };
E2603FBE13A1786900177ECD /* WallCellSubview.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WallCellSubview.h; path = ../Gawk.xcodeproj/WallCellSubview.h; sourceTree = "<group>"; };
E2603FBF13A1786900177ECD /* WallCellSubview.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WallCellSubview.m; path = ../Gawk.xcodeproj/WallCellSubview.m; sourceTree = "<group>"; };
E2603FC613A178BA00177ECD /* WallCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WallCell.h; path = ../Gawk.xcodeproj/WallCell.h; sourceTree = "<group>"; };
@@ -537,7 +553,15 @@
E200728F12F9F1FA006CAFBA /* Images */ = {
isa = PBXGroup;
children = (
+ E25B702013A431700004AC85 /* view-arrow.png */,
+ E25B702113A431700004AC85 /* view-arrow@2x.png */,
+ E25B701813A428650004AC85 /* fav-icon.png */,
+ E25B701913A428650004AC85 /* fav-icon@2x.png */,
+ E25B701A13A428650004AC85 /* fav-icon-picked.png */,
+ E25B701B13A428650004AC85 /* fav-icon-picked@2x.png */,
E25B701013A40FD80004AC85 /* cell-background.png */,
+ E25B701413A4229D0004AC85 /* divider.png */,
+ E25B701513A4229D0004AC85 /* divider@2x.png */,
E25B701113A40FD80004AC85 /* cell-background@2x.png */,
E25B700813A40C720004AC85 /* latest-gawks.png */,
E25B700913A40C720004AC85 /* latest-gawks@2x.png */,
@@ -1178,6 +1202,14 @@
E25B700F13A40C720004AC85 /* menu-bar@2x.png in Resources */,
E25B701213A40FD80004AC85 /* cell-background.png in Resources */,
E25B701313A40FD80004AC85 /* cell-background@2x.png in Resources */,
+ E25B701613A4229D0004AC85 /* divider.png in Resources */,
+ E25B701713A4229D0004AC85 /* divider@2x.png in Resources */,
+ E25B701C13A428650004AC85 /* fav-icon.png in Resources */,
+ E25B701D13A428650004AC85 /* fav-icon@2x.png in Resources */,
+ E25B701E13A428650004AC85 /* fav-icon-picked.png in Resources */,
+ E25B701F13A428650004AC85 /* fav-icon-picked@2x.png in Resources */,
+ E25B702213A431700004AC85 /* view-arrow.png in Resources */,
+ E25B702313A431700004AC85 /* view-arrow@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
25 MainWindow.xib
@@ -62,15 +62,13 @@
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
- <object class="IBUIViewController" key="IBUISelectedViewController" id="627845426">
- <object class="IBUITabBarItem" key="IBUITabBarItem" id="665381695">
- <string key="IBUITitle">Album</string>
+ <object class="IBUIViewController" key="IBUISelectedViewController" id="259423973">
+ <object class="IBUITabBarItem" key="IBUITabBarItem" id="51994674">
+ <string key="IBUITitle">Settings</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
- <array key="IBUIToolbarItems" id="0"/>
<reference key="IBUIParentViewController" ref="624196613"/>
- <string key="IBUINibName">AlbumViewController</string>
- <object class="IBUISimulatedToolbarMetrics" key="IBUISimulatedBottomBarMetrics"/>
+ <string key="IBUINibName">SettingsViewController</string>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
@@ -93,14 +91,15 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
- <reference ref="627845426"/>
- <object class="IBUIViewController" id="259423973">
- <object class="IBUITabBarItem" key="IBUITabBarItem" id="51994674">
- <string key="IBUITitle">Settings</string>
+ <object class="IBUIViewController" id="627845426">
+ <object class="IBUITabBarItem" key="IBUITabBarItem" id="665381695">
+ <string key="IBUITitle">Album</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
+ <array key="IBUIToolbarItems" id="0"/>
<reference key="IBUIParentViewController" ref="624196613"/>
- <string key="IBUINibName">SettingsViewController</string>
+ <string key="IBUINibName">AlbumViewController</string>
+ <object class="IBUISimulatedToolbarMetrics" key="IBUISimulatedBottomBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
@@ -108,6 +107,7 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
+ <reference ref="259423973"/>
</array>
<object class="IBUITabBar" key="IBUITabBar" id="66144771">
<reference key="NSNextResponder"/>
@@ -117,7 +117,7 @@
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MCAwAA</bytes>
+ <bytes key="NSWhite">MQA</bytes>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
@@ -245,6 +245,7 @@
<string key="12.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="3.CustomClassName">GawkAppDelegate</string>
<string key="3.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="35.CustomClassName">CustomUITabBarController</string>
<string key="35.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="36.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="37.CustomClassName">GawkViewController</string>
View
BIN  cell-background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  cell-background@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  divider.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  divider@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  fav-icon-picked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  fav-icon-picked@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  fav-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  fav-icon@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  view-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  view-arrow@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.