Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing graphical glitches on Walls and Album, also adding a header to…

… Album
  • Loading branch information...
commit b7fc0af75e56c1ab4f659c83d3d3e24a20603e70 1 parent 2643418
Tom Gallacher authored June 16, 2011
19  AlbumViewContainer.h
... ...
@@ -0,0 +1,19 @@
  1
+//
  2
+//  AlbumViewContainer.h
  3
+//  Gawk
  4
+//
  5
+//  Created by Tom Gallacher on 16/06/2011.
  6
+//  Copyright 2011 Clock Ltd. All rights reserved.
  7
+//
  8
+
  9
+#import <UIKit/UIKit.h>
  10
+#import "AlbumViewController.h"
  11
+
  12
+@interface AlbumViewContainer : UIViewController {
  13
+	IBOutlet UIView *albumView;
  14
+	AlbumViewController *album;
  15
+}
  16
+
  17
+@property(nonatomic, retain) AlbumViewController *album;
  18
+
  19
+@end
60  AlbumViewContainer.m
... ...
@@ -0,0 +1,60 @@
  1
+//
  2
+//  AlbumViewContainer.m
  3
+//  Gawk
  4
+//
  5
+//  Created by Tom Gallacher on 16/06/2011.
  6
+//  Copyright 2011 Clock Ltd. All rights reserved.
  7
+//
  8
+
  9
+#import "AlbumViewContainer.h"
  10
+
  11
+
  12
+@implementation AlbumViewContainer
  13
+@synthesize album;
  14
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  15
+{
  16
+    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
  17
+    if (self) {
  18
+        // Custom initialization
  19
+    }
  20
+    return self;
  21
+}
  22
+
  23
+- (void)dealloc
  24
+{
  25
+    [super dealloc];
  26
+	[album release];
  27
+}
  28
+
  29
+- (void)didReceiveMemoryWarning
  30
+{
  31
+    // Releases the view if it doesn't have a superview.
  32
+    [super didReceiveMemoryWarning];
  33
+    
  34
+    // Release any cached data, images, etc that aren't in use.
  35
+}
  36
+
  37
+#pragma mark - View lifecycle
  38
+
  39
+- (void)viewDidLoad
  40
+{
  41
+    [super viewDidLoad];
  42
+	album = [[AlbumViewController alloc] initWithNibName:@"AlbumViewController" bundle:nil];
  43
+	[albumView addSubview:album.view];
  44
+    // Do any additional setup after loading the view from its nib.
  45
+}
  46
+
  47
+- (void)viewDidUnload
  48
+{
  49
+    [super viewDidUnload];
  50
+    // Release any retained subviews of the main view.
  51
+    // e.g. self.myOutlet = nil;
  52
+}
  53
+
  54
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
  55
+{
  56
+    // Return YES for supported orientations
  57
+    return (interfaceOrientation == UIInterfaceOrientationPortrait);
  58
+}
  59
+
  60
+@end
274  AlbumViewContainer.xib
... ...
@@ -0,0 +1,274 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
  3
+	<data>
  4
+		<int key="IBDocument.SystemTarget">1056</int>
  5
+		<string key="IBDocument.SystemVersion">10J869</string>
  6
+		<string key="IBDocument.InterfaceBuilderVersion">1306</string>
  7
+		<string key="IBDocument.AppKitVersion">1038.35</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">301</string>
  12
+		</object>
  13
+		<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
  14
+			<bool key="EncodedWithXMLCoder">YES</bool>
  15
+			<string>IBUINavigationItem</string>
  16
+			<string>IBUIImageView</string>
  17
+			<string>IBUIView</string>
  18
+			<string>IBUINavigationBar</string>
  19
+			<string>IBProxyObject</string>
  20
+		</object>
  21
+		<object class="NSArray" key="IBDocument.PluginDependencies">
  22
+			<bool key="EncodedWithXMLCoder">YES</bool>
  23
+			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  24
+		</object>
  25
+		<object class="NSMutableDictionary" key="IBDocument.Metadata">
  26
+			<bool key="EncodedWithXMLCoder">YES</bool>
  27
+			<object class="NSArray" key="dict.sortedKeys" id="0">
  28
+				<bool key="EncodedWithXMLCoder">YES</bool>
  29
+			</object>
  30
+			<reference key="dict.values" ref="0"/>
  31
+		</object>
  32
+		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
  33
+			<bool key="EncodedWithXMLCoder">YES</bool>
  34
+			<object class="IBProxyObject" id="372490531">
  35
+				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
  36
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  37
+			</object>
  38
+			<object class="IBProxyObject" id="975951072">
  39
+				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
  40
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  41
+			</object>
  42
+			<object class="IBUIView" id="191373211">
  43
+				<reference key="NSNextResponder"/>
  44
+				<int key="NSvFlags">274</int>
  45
+				<object class="NSMutableArray" key="NSSubviews">
  46
+					<bool key="EncodedWithXMLCoder">YES</bool>
  47
+					<object class="IBUINavigationBar" id="791360452">
  48
+						<reference key="NSNextResponder" ref="191373211"/>
  49
+						<int key="NSvFlags">290</int>
  50
+						<string key="NSFrameSize">{320, 44}</string>
  51
+						<reference key="NSSuperview" ref="191373211"/>
  52
+						<reference key="NSWindow"/>
  53
+						<reference key="NSNextKeyView" ref="688859823"/>
  54
+						<bool key="IBUIOpaque">NO</bool>
  55
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  56
+						<int key="IBUIBarStyle">1</int>
  57
+						<object class="NSColor" key="IBUITintColor">
  58
+							<int key="NSColorSpace">1</int>
  59
+							<bytes key="NSRGB">MC4xOTAyMTczOTEzIDAuMTkwMjE3MzkxMyAwLjE5MDIxNzM5MTMAA</bytes>
  60
+						</object>
  61
+						<object class="NSArray" key="IBUIItems">
  62
+							<bool key="EncodedWithXMLCoder">YES</bool>
  63
+							<object class="IBUINavigationItem" id="613967844">
  64
+								<reference key="IBUINavigationBar" ref="791360452"/>
  65
+								<string key="IBUITitle"/>
  66
+								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  67
+							</object>
  68
+						</object>
  69
+					</object>
  70
+					<object class="IBUIImageView" id="802387064">
  71
+						<reference key="NSNextResponder" ref="191373211"/>
  72
+						<int key="NSvFlags">256</int>
  73
+						<string key="NSFrame">{{88, -12}, {144, 68}}</string>
  74
+						<reference key="NSSuperview" ref="191373211"/>
  75
+						<reference key="NSWindow"/>
  76
+						<reference key="NSNextKeyView"/>
  77
+						<bool key="IBUIOpaque">NO</bool>
  78
+						<bool key="IBUIClipsSubviews">YES</bool>
  79
+						<int key="IBUIContentMode">4</int>
  80
+						<bool key="IBUIMultipleTouchEnabled">YES</bool>
  81
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  82
+						<object class="NSCustomResource" key="IBUIImage">
  83
+							<string key="NSClassName">NSImage</string>
  84
+							<string key="NSResourceName">logo.png</string>
  85
+						</object>
  86
+					</object>
  87
+					<object class="IBUIView" id="688859823">
  88
+						<reference key="NSNextResponder" ref="191373211"/>
  89
+						<int key="NSvFlags">292</int>
  90
+						<string key="NSFrame">{{0, 44}, {320, 416}}</string>
  91
+						<reference key="NSSuperview" ref="191373211"/>
  92
+						<reference key="NSWindow"/>
  93
+						<reference key="NSNextKeyView" ref="802387064"/>
  94
+						<object class="NSColor" key="IBUIBackgroundColor">
  95
+							<int key="NSColorSpace">3</int>
  96
+							<bytes key="NSWhite">MQA</bytes>
  97
+							<object class="NSColorSpace" key="NSCustomColorSpace" id="1016229496">
  98
+								<int key="NSID">2</int>
  99
+							</object>
  100
+						</object>
  101
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  102
+					</object>
  103
+				</object>
  104
+				<string key="NSFrame">{{0, 20}, {320, 460}}</string>
  105
+				<reference key="NSSuperview"/>
  106
+				<reference key="NSWindow"/>
  107
+				<reference key="NSNextKeyView" ref="791360452"/>
  108
+				<object class="NSColor" key="IBUIBackgroundColor">
  109
+					<int key="NSColorSpace">3</int>
  110
+					<bytes key="NSWhite">MQA</bytes>
  111
+					<reference key="NSCustomColorSpace" ref="1016229496"/>
  112
+				</object>
  113
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
  114
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  115
+			</object>
  116
+		</object>
  117
+		<object class="IBObjectContainer" key="IBDocument.Objects">
  118
+			<object class="NSMutableArray" key="connectionRecords">
  119
+				<bool key="EncodedWithXMLCoder">YES</bool>
  120
+				<object class="IBConnectionRecord">
  121
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  122
+						<string key="label">view</string>
  123
+						<reference key="source" ref="372490531"/>
  124
+						<reference key="destination" ref="191373211"/>
  125
+					</object>
  126
+					<int key="connectionID">3</int>
  127
+				</object>
  128
+				<object class="IBConnectionRecord">
  129
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  130
+						<string key="label">albumView</string>
  131
+						<reference key="source" ref="372490531"/>
  132
+						<reference key="destination" ref="688859823"/>
  133
+					</object>
  134
+					<int key="connectionID">12</int>
  135
+				</object>
  136
+			</object>
  137
+			<object class="IBMutableOrderedSet" key="objectRecords">
  138
+				<object class="NSArray" key="orderedObjects">
  139
+					<bool key="EncodedWithXMLCoder">YES</bool>
  140
+					<object class="IBObjectRecord">
  141
+						<int key="objectID">0</int>
  142
+						<reference key="object" ref="0"/>
  143
+						<reference key="children" ref="1000"/>
  144
+						<nil key="parent"/>
  145
+					</object>
  146
+					<object class="IBObjectRecord">
  147
+						<int key="objectID">1</int>
  148
+						<reference key="object" ref="191373211"/>
  149
+						<object class="NSMutableArray" key="children">
  150
+							<bool key="EncodedWithXMLCoder">YES</bool>
  151
+							<reference ref="791360452"/>
  152
+							<reference ref="802387064"/>
  153
+							<reference ref="688859823"/>
  154
+						</object>
  155
+						<reference key="parent" ref="0"/>
  156
+					</object>
  157
+					<object class="IBObjectRecord">
  158
+						<int key="objectID">-1</int>
  159
+						<reference key="object" ref="372490531"/>
  160
+						<reference key="parent" ref="0"/>
  161
+						<string key="objectName">File's Owner</string>
  162
+					</object>
  163
+					<object class="IBObjectRecord">
  164
+						<int key="objectID">-2</int>
  165
+						<reference key="object" ref="975951072"/>
  166
+						<reference key="parent" ref="0"/>
  167
+					</object>
  168
+					<object class="IBObjectRecord">
  169
+						<int key="objectID">5</int>
  170
+						<reference key="object" ref="791360452"/>
  171
+						<object class="NSMutableArray" key="children">
  172
+							<bool key="EncodedWithXMLCoder">YES</bool>
  173
+							<reference ref="613967844"/>
  174
+						</object>
  175
+						<reference key="parent" ref="191373211"/>
  176
+					</object>
  177
+					<object class="IBObjectRecord">
  178
+						<int key="objectID">6</int>
  179
+						<reference key="object" ref="613967844"/>
  180
+						<object class="NSMutableArray" key="children">
  181
+							<bool key="EncodedWithXMLCoder">YES</bool>
  182
+						</object>
  183
+						<reference key="parent" ref="791360452"/>
  184
+					</object>
  185
+					<object class="IBObjectRecord">
  186
+						<int key="objectID">4</int>
  187
+						<reference key="object" ref="802387064"/>
  188
+						<reference key="parent" ref="191373211"/>
  189
+					</object>
  190
+					<object class="IBObjectRecord">
  191
+						<int key="objectID">10</int>
  192
+						<reference key="object" ref="688859823"/>
  193
+						<reference key="parent" ref="191373211"/>
  194
+					</object>
  195
+				</object>
  196
+			</object>
  197
+			<object class="NSMutableDictionary" key="flattenedProperties">
  198
+				<bool key="EncodedWithXMLCoder">YES</bool>
  199
+				<object class="NSArray" key="dict.sortedKeys">
  200
+					<bool key="EncodedWithXMLCoder">YES</bool>
  201
+					<string>-1.CustomClassName</string>
  202
+					<string>-2.CustomClassName</string>
  203
+					<string>1.IBEditorWindowLastContentRect</string>
  204
+					<string>1.IBPluginDependency</string>
  205
+					<string>10.IBPluginDependency</string>
  206
+					<string>5.IBPluginDependency</string>
  207
+					<string>5.IBViewBoundsToFrameTransform</string>
  208
+					<string>6.IBPluginDependency</string>
  209
+				</object>
  210
+				<object class="NSMutableArray" key="dict.values">
  211
+					<bool key="EncodedWithXMLCoder">YES</bool>
  212
+					<string>AlbumViewContainer</string>
  213
+					<string>UIResponder</string>
  214
+					<string>{{556, 412}, {320, 480}}</string>
  215
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  216
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  217
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  218
+					<object class="NSAffineTransform"/>
  219
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  220
+				</object>
  221
+			</object>
  222
+			<object class="NSMutableDictionary" key="unlocalizedProperties">
  223
+				<bool key="EncodedWithXMLCoder">YES</bool>
  224
+				<reference key="dict.sortedKeys" ref="0"/>
  225
+				<reference key="dict.values" ref="0"/>
  226
+			</object>
  227
+			<nil key="activeLocalization"/>
  228
+			<object class="NSMutableDictionary" key="localizations">
  229
+				<bool key="EncodedWithXMLCoder">YES</bool>
  230
+				<reference key="dict.sortedKeys" ref="0"/>
  231
+				<reference key="dict.values" ref="0"/>
  232
+			</object>
  233
+			<nil key="sourceID"/>
  234
+			<int key="maxID">12</int>
  235
+		</object>
  236
+		<object class="IBClassDescriber" key="IBDocument.Classes">
  237
+			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
  238
+				<bool key="EncodedWithXMLCoder">YES</bool>
  239
+				<object class="IBPartialClassDescription">
  240
+					<string key="className">AlbumViewContainer</string>
  241
+					<string key="superclassName">UIViewController</string>
  242
+					<object class="NSMutableDictionary" key="outlets">
  243
+						<string key="NS.key.0">albumView</string>
  244
+						<string key="NS.object.0">UIView</string>
  245
+					</object>
  246
+					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
  247
+						<string key="NS.key.0">albumView</string>
  248
+						<object class="IBToOneOutletInfo" key="NS.object.0">
  249
+							<string key="name">albumView</string>
  250
+							<string key="candidateClassName">UIView</string>
  251
+						</object>
  252
+					</object>
  253
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  254
+						<string key="majorKey">IBProjectSource</string>
  255
+						<string key="minorKey">./Classes/AlbumViewContainer.h</string>
  256
+					</object>
  257
+				</object>
  258
+			</object>
  259
+		</object>
  260
+		<int key="IBDocument.localizationMode">0</int>
  261
+		<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
  262
+		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
  263
+			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
  264
+			<integer value="3000" key="NS.object.0"/>
  265
+		</object>
  266
+		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
  267
+		<int key="IBDocument.defaultPropertyAccessControl">3</int>
  268
+		<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
  269
+			<string key="NS.key.0">logo.png</string>
  270
+			<string key="NS.object.0">{129, 32}</string>
  271
+		</object>
  272
+		<string key="IBCocoaTouchPluginVersion">301</string>
  273
+	</data>
  274
+</archive>
7  Classes/AlbumViewController.m
@@ -147,6 +147,7 @@ - (void)viewWillAppear:(BOOL)animated
147 147
 	[self.tableView reloadData];
148 148
 	CGPoint contentOffset = CGPointMake(0,[[NSUserDefaults standardUserDefaults] floatForKey:@"gawkwall_album_contentOffset_y"]);
149 149
 	[self.tableView setContentOffset:contentOffset];
  150
+
150 151
 }
151 152
 
152 153
 - (void)viewDidAppear:(BOOL)animated
@@ -233,9 +234,9 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
233 234
 	CGRect frame = videoPlayer.frame;
234 235
 	frame.origin.y = 20.0;
235 236
 	videoPlayer.frame = frame;
236  
-	[self.tabBarController.view addSubview:videoPlayer];
  237
+	[[[UIApplication sharedApplication] keyWindow] addSubview:videoPlayer];
237 238
 	[self.tabBarController.tabBar setHidden:YES];
238  
-	[[self.tabBarController.view layer] addAnimation:animation forKey:@"SwitchToView1"];
  239
+	[[[[UIApplication sharedApplication] keyWindow] layer] addAnimation:animation forKey:@"SwitchToView1"];
239 240
 	[videoViewContainer addSubview:videoView];
240 241
 	player =	[[MPMoviePlayerController alloc] initWithContentURL: gawkPath];
241 242
 	//player.moviePlayer.repeatMode = MPMovieRepeatModeOne;
@@ -276,7 +277,7 @@ - (IBAction) backToList {
276 277
 	[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
277 278
 	[self.tabBarController.tabBar setHidden:NO];
278 279
 	[self.tableView.superview addSubview:self.tableView];
279  
-	[[self.tabBarController.view layer] addAnimation:animation forKey:@"SwitchBackToView0"];
  280
+	[[[[UIApplication sharedApplication] keyWindow] layer] addAnimation:animation forKey:@"SwitchBackToView0"];
280 281
 		[videoPlayer removeFromSuperview];
281 282
 }
282 283
 
11  Classes/AlbumViewController.xib
@@ -46,10 +46,9 @@
46 46
 			<object class="IBUITableView" id="873029372">
47 47
 				<reference key="NSNextResponder"/>
48 48
 				<int key="NSvFlags">274</int>
49  
-				<string key="NSFrameSize">{320, 416}</string>
  49
+				<string key="NSFrame">{{0, 64}, {320, 367}}</string>
50 50
 				<reference key="NSSuperview"/>
51 51
 				<reference key="NSWindow"/>
52  
-				<reference key="NSNextKeyView"/>
53 52
 				<object class="NSColor" key="IBUIBackgroundColor" id="79902773">
54 53
 					<int key="NSColorSpace">3</int>
55 54
 					<bytes key="NSWhite">MQA</bytes>
@@ -57,6 +56,13 @@
57 56
 				<bool key="IBUIOpaque">NO</bool>
58 57
 				<bool key="IBUIClipsSubviews">YES</bool>
59 58
 				<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
  59
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
  60
+					<int key="IBUIStatusBarStyle">2</int>
  61
+				</object>
  62
+				<object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics">
  63
+					<bool key="IBUIPrompted">NO</bool>
  64
+				</object>
  65
+				<object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
60 66
 				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
61 67
 				<int key="IBUIIndicatorStyle">1</int>
62 68
 				<bool key="IBUIBouncesZoom">NO</bool>
@@ -107,7 +113,6 @@
107 113
 						<string key="NSFrame">{{88, -12}, {144, 68}}</string>
108 114
 						<reference key="NSSuperview" ref="745497247"/>
109 115
 						<reference key="NSWindow"/>
110  
-						<reference key="NSNextKeyView"/>
111 116
 						<bool key="IBUIOpaque">NO</bool>
112 117
 						<bool key="IBUIClipsSubviews">YES</bool>
113 118
 						<int key="IBUIContentMode">4</int>
71  Gawk.xcodeproj/WallViewController.xib
@@ -39,7 +39,7 @@
39 39
 			<object class="IBUITableView" id="873029372">
40 40
 				<reference key="NSNextResponder"/>
41 41
 				<int key="NSvFlags">274</int>
42  
-				<string key="NSFrame">{{0, 64}, {320, 372}}</string>
  42
+				<string key="NSFrame">{{0, 64}, {320, 367}}</string>
43 43
 				<reference key="NSSuperview"/>
44 44
 				<reference key="NSWindow"/>
45 45
 				<object class="NSColor" key="IBUIBackgroundColor">
@@ -56,9 +56,7 @@
56 56
 					<int key="IBUIBarStyle">1</int>
57 57
 					<bool key="IBUIPrompted">NO</bool>
58 58
 				</object>
59  
-				<object class="IBUISimulatedToolbarMetrics" key="IBUISimulatedBottomBarMetrics">
60  
-					<int key="IBUIBarStyle">1</int>
61  
-				</object>
  59
+				<object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
62 60
 				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
63 61
 				<bool key="IBUIBouncesZoom">NO</bool>
64 62
 				<int key="IBUISeparatorStyle">1</int>
@@ -159,8 +157,73 @@
159 157
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
160 158
 				<bool key="EncodedWithXMLCoder">YES</bool>
161 159
 				<object class="IBPartialClassDescription">
  160
+					<string key="className">WallCell</string>
  161
+					<string key="superclassName">UITableViewCell</string>
  162
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  163
+						<string key="majorKey">IBProjectSource</string>
  164
+						<string key="minorKey">./Classes/WallCell.h</string>
  165
+					</object>
  166
+				</object>
  167
+				<object class="IBPartialClassDescription">
162 168
 					<string key="className">WallViewController</string>
163 169
 					<string key="superclassName">UITableViewController</string>
  170
+					<object class="NSMutableDictionary" key="actions">
  171
+						<bool key="EncodedWithXMLCoder">YES</bool>
  172
+						<object class="NSArray" key="dict.sortedKeys">
  173
+							<bool key="EncodedWithXMLCoder">YES</bool>
  174
+							<string>getWalls</string>
  175
+							<string>recordGawk:</string>
  176
+							<string>shareGawkwall:</string>
  177
+							<string>viewGawks:</string>
  178
+						</object>
  179
+						<object class="NSMutableArray" key="dict.values">
  180
+							<bool key="EncodedWithXMLCoder">YES</bool>
  181
+							<string>id</string>
  182
+							<string>id</string>
  183
+							<string>id</string>
  184
+							<string>id</string>
  185
+						</object>
  186
+					</object>
  187
+					<object class="NSMutableDictionary" key="actionInfosByName">
  188
+						<bool key="EncodedWithXMLCoder">YES</bool>
  189
+						<object class="NSArray" key="dict.sortedKeys">
  190
+							<bool key="EncodedWithXMLCoder">YES</bool>
  191
+							<string>getWalls</string>
  192
+							<string>recordGawk:</string>
  193
+							<string>shareGawkwall:</string>
  194
+							<string>viewGawks:</string>
  195
+						</object>
  196
+						<object class="NSMutableArray" key="dict.values">
  197
+							<bool key="EncodedWithXMLCoder">YES</bool>
  198
+							<object class="IBActionInfo">
  199
+								<string key="name">getWalls</string>
  200
+								<string key="candidateClassName">id</string>
  201
+							</object>
  202
+							<object class="IBActionInfo">
  203
+								<string key="name">recordGawk:</string>
  204
+								<string key="candidateClassName">id</string>
  205
+							</object>
  206
+							<object class="IBActionInfo">
  207
+								<string key="name">shareGawkwall:</string>
  208
+								<string key="candidateClassName">id</string>
  209
+							</object>
  210
+							<object class="IBActionInfo">
  211
+								<string key="name">viewGawks:</string>
  212
+								<string key="candidateClassName">id</string>
  213
+							</object>
  214
+						</object>
  215
+					</object>
  216
+					<object class="NSMutableDictionary" key="outlets">
  217
+						<string key="NS.key.0">tmpCell</string>
  218
+						<string key="NS.object.0">WallCell</string>
  219
+					</object>
  220
+					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
  221
+						<string key="NS.key.0">tmpCell</string>
  222
+						<object class="IBToOneOutletInfo" key="NS.object.0">
  223
+							<string key="name">tmpCell</string>
  224
+							<string key="candidateClassName">WallCell</string>
  225
+						</object>
  226
+					</object>
164 227
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
165 228
 						<string key="majorKey">IBProjectSource</string>
166 229
 						<string key="minorKey">./Classes/WallViewController.h</string>
10  Gawk.xcodeproj/project.pbxproj
@@ -39,6 +39,8 @@
39 39
 		E23B0A1B137CABCE00A6FC2C /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E23B0A1A137CABCE00A6FC2C /* Icon@2x.png */; };
40 40
 		E24D95C813A940A4000CC971 /* breeregular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E24D95C613A940A4000CC971 /* breeregular.ttf */; };
41 41
 		E24D95C913A940A4000CC971 /* breelight.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E24D95C713A940A4000CC971 /* breelight.ttf */; };
  42
+		E24D95CD13A97756000CC971 /* AlbumViewContainer.m in Sources */ = {isa = PBXBuildFile; fileRef = E24D95CB13A97755000CC971 /* AlbumViewContainer.m */; };
  43
+		E24D95CE13A97756000CC971 /* AlbumViewContainer.xib in Resources */ = {isa = PBXBuildFile; fileRef = E24D95CC13A97755000CC971 /* AlbumViewContainer.xib */; };
42 44
 		E25B700C13A40C720004AC85 /* latest-gawks.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B700813A40C720004AC85 /* latest-gawks.png */; };
43 45
 		E25B700D13A40C720004AC85 /* latest-gawks@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B700913A40C720004AC85 /* latest-gawks@2x.png */; };
44 46
 		E25B700E13A40C720004AC85 /* menu-bar.png in Resources */ = {isa = PBXBuildFile; fileRef = E25B700A13A40C720004AC85 /* menu-bar.png */; };
@@ -223,6 +225,9 @@
223 225
 		E24C9F8212AC74CD00C71ECD /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; };
224 226
 		E24D95C613A940A4000CC971 /* breeregular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = breeregular.ttf; sourceTree = "<group>"; };
225 227
 		E24D95C713A940A4000CC971 /* breelight.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = breelight.ttf; sourceTree = "<group>"; };
  228
+		E24D95CA13A97754000CC971 /* AlbumViewContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; name = AlbumViewContainer.h; path = ../AlbumViewContainer.h; sourceTree = "<group>"; };
  229
+		E24D95CB13A97755000CC971 /* AlbumViewContainer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AlbumViewContainer.m; path = ../AlbumViewContainer.m; sourceTree = "<group>"; };
  230
+		E24D95CC13A97755000CC971 /* AlbumViewContainer.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AlbumViewContainer.xib; sourceTree = "<group>"; };
226 231
 		E25B700813A40C720004AC85 /* latest-gawks.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "latest-gawks.png"; sourceTree = "<group>"; };
227 232
 		E25B700913A40C720004AC85 /* latest-gawks@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "latest-gawks@2x.png"; sourceTree = "<group>"; };
228 233
 		E25B700A13A40C720004AC85 /* menu-bar.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "menu-bar.png"; sourceTree = "<group>"; };
@@ -677,6 +682,7 @@
677 682
 			isa = PBXGroup;
678 683
 			children = (
679 684
 				E2EFCA9913970844009D92E5 /* AlbumVideoViewController.m */,
  685
+				E24D95CB13A97755000CC971 /* AlbumViewContainer.m */,
680 686
 				E23B0A12137C930600A6FC2C /* WallCreateViewController.m */,
681 687
 				E205718713956A2D00016B8B /* SettingsViewController.m */,
682 688
 				E2E3604B138AFCC400B2BCC5 /* WallViewController.m */,
@@ -691,6 +697,7 @@
691 697
 			isa = PBXGroup;
692 698
 			children = (
693 699
 				E2603FC913A17D4000177ECD /* WallCellSubView.xib */,
  700
+				E24D95CC13A97755000CC971 /* AlbumViewContainer.xib */,
694 701
 				E23B0A13137C930600A6FC2C /* WallCreateViewController.xib */,
695 702
 				E2E3604C138AFCC400B2BCC5 /* WallViewController.xib */,
696 703
 				E271576E1316FE39002BD0A2 /* LoginViewController.xib */,
@@ -709,6 +716,7 @@
709 716
 			isa = PBXGroup;
710 717
 			children = (
711 718
 				E2EFCA9813970844009D92E5 /* AlbumVideoViewController.h */,
  719
+				E24D95CA13A97754000CC971 /* AlbumViewContainer.h */,
712 720
 				E23B0A11137C930600A6FC2C /* WallCreateViewController.h */,
713 721
 				28D7ACF60DDB3853001CB0EB /* GawkViewController.h */,
714 722
 				E205718613956A2D00016B8B /* SettingsViewController.h */,
@@ -1265,6 +1273,7 @@
1265 1273
 				E268262213A69A910069A730 /* logo@2x.png in Resources */,
1266 1274
 				E24D95C813A940A4000CC971 /* breeregular.ttf in Resources */,
1267 1275
 				E24D95C913A940A4000CC971 /* breelight.ttf in Resources */,
  1276
+				E24D95CE13A97756000CC971 /* AlbumViewContainer.xib in Resources */,
1268 1277
 			);
1269 1278
 			runOnlyForDeploymentPostprocessing = 0;
1270 1279
 		};
@@ -1361,6 +1370,7 @@
1361 1370
 				E27EA00613A39F7900A67EB6 /* SHKOAuthView.m in Sources */,
1362 1371
 				E27EA00713A39F7900A67EB6 /* SHKShareMenu.m in Sources */,
1363 1372
 				E27EA00813A39F7900A67EB6 /* SHKViewControllerWrapper.m in Sources */,
  1373
+				E24D95CD13A97756000CC971 /* AlbumViewContainer.m in Sources */,
1364 1374
 			);
1365 1375
 			runOnlyForDeploymentPostprocessing = 0;
1366 1376
 		};
6  MainWindow.xib
@@ -70,7 +70,7 @@
70 70
 					</object>
71 71
 					<array key="IBUIToolbarItems" id="0"/>
72 72
 					<reference key="IBUIParentViewController" ref="624196613"/>
73  
-					<string key="IBUINibName">AlbumViewController</string>
  73
+					<string key="IBUINibName">AlbumViewContainer</string>
74 74
 					<object class="IBUISimulatedToolbarMetrics" key="IBUISimulatedBottomBarMetrics"/>
75 75
 					<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
76 76
 						<int key="IBUIInterfaceOrientation">1</int>
@@ -212,7 +212,7 @@
212 212
 							<reference ref="665381695"/>
213 213
 						</array>
214 214
 						<reference key="parent" ref="624196613"/>
215  
-						<string key="objectName">Album View Controller</string>
  215
+						<string key="objectName">Album View Container</string>
216 216
 					</object>
217 217
 					<object class="IBObjectRecord">
218 218
 						<int key="objectID">39</int>
@@ -250,7 +250,7 @@
250 250
 				<string key="36.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
251 251
 				<string key="37.CustomClassName">GawkViewController</string>
252 252
 				<string key="37.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
253  
-				<string key="38.CustomClassName">AlbumViewController</string>
  253
+				<string key="38.CustomClassName">AlbumViewContainer</string>
254 254
 				<string key="38.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
255 255
 				<string key="44.CustomClassName">SettingsViewController</string>
256 256
 				<string key="44.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>

0 notes on commit b7fc0af

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