Skip to content
This repository
Browse code

initial commits view

  • Loading branch information...
commit 125dfdebc5cc9689b66e4bea116c3aaf93c858dc 1 parent 3a62f73
Sam Schroeder authored
50 Classes/Commit.h
... ... @@ -0,0 +1,50 @@
  1 +//
  2 +// Commit.h
  3 +// git-phone
  4 +//
  5 +// Created by Sam Schroeder on 2/7/09.
  6 +// Copyright 2009 Proton Microsystems, LLC. All rights reserved.
  7 +//
  8 +//
  9 +//{
  10 +// "commits": [
  11 +// {
  12 +// "message": "Updated readme with DQMultipartForm information",
  13 +// "parents": [{"id": "97638b6d7e2f657c1b9debdb9798ccb8e44ef0ed"}],
  14 +// "url": "http://github.com/sschroed/mini-mallows/commit/cb106e80912c140fbb4fc26448f370c0b154a999",
  15 +//
  16 +// "author": {
  17 +// "name": "Vladimir Pouzanov",
  18 +// "email": "farcaller@gmail.com"
  19 +// },
  20 +//
  21 +// "id": "cb106e80912c140fbb4fc26448f370c0b154a999",
  22 +// "committed_date": "2008-12-24T06:43:15-08:00",
  23 +// "authored_date": "2008-12-24T06:43:15-08:00",
  24 +// "tree": "47b3669803f1ddc73d0f9222fe8729ad4661cab0",
  25 +//
  26 +// "committer": {
  27 +// "name": "Vladimir Pouzanov",
  28 +// "email": "farcaller@gmail.com"
  29 +// }
  30 +// }
  31 +// ]
  32 +//}
  33 +
  34 +
  35 +@interface Commit : NSObject {
  36 + NSString *commitID;
  37 + NSString *message;
  38 + NSString *url;
  39 + NSString *authorName;
  40 + NSString *authorEmail;
  41 +}
  42 +
  43 +@property (nonatomic, retain) NSString *commitID;
  44 +@property (nonatomic, retain) NSString *message;
  45 +@property (nonatomic, retain) NSString *url;
  46 +@property (nonatomic, retain) NSString *authorName;
  47 +@property (nonatomic, retain) NSString *authorEmail;
  48 +
  49 +
  50 +@end
63 Classes/Commit.m
... ... @@ -0,0 +1,63 @@
  1 +//
  2 +// Commit.m
  3 +// git-phone
  4 +//
  5 +// Created by Sam Schroeder on 2/7/09.
  6 +// Copyright 2009 Proton Microsystems, LLC. All rights reserved.
  7 +//
  8 +
  9 +#import "Commit.h"
  10 +
  11 +@implementation Commit
  12 +
  13 +@synthesize commitID;
  14 +@synthesize message;
  15 +@synthesize url;
  16 +@synthesize authorName;
  17 +@synthesize authorEmail;
  18 +
  19 ++ (NSString *)indexURLwithRepository:(NSString *)repository {
  20 +
  21 + return [NSString stringWithFormat:@"%@/%@/%@/commits/master",
  22 + [[Config instance] baseAPIURL],
  23 + [[Config instance] gitHubUserName],
  24 + repository];
  25 +}
  26 +
  27 +//TODO: this needs to be thought out better. Maybe loaded on the repo.
  28 ++ (NSArray *)loadAllfromRepository:(NSString *)repository {
  29 +
  30 + NSMutableArray *commitsArray = [[[NSMutableArray alloc] init] autorelease];
  31 + NSString *resultJSON = [Connector postToURL:[self indexURLwithRepository:repository]];
  32 +
  33 + NSMutableArray *commits = [[[NSMutableArray alloc] init] autorelease];
  34 +
  35 + commits = [[resultJSON JSONValue] valueForKey:@"commits"];
  36 +
  37 + for (NSDictionary *commit in commits) {
  38 + Commit *tempCommit = [[[Commit alloc] init] autorelease];
  39 +
  40 + [tempCommit setCommitID:[commit valueForKey:@"id"]];
  41 + [tempCommit setMessage:[commit valueForKey:@"message"]];
  42 + [tempCommit setUrl:[commit valueForKey:@"url"]];
  43 + [tempCommit setAuthorName:[[commit valueForKey:@"author"] valueForKey:@"name"]];
  44 + [tempCommit setAuthorEmail:[[commit valueForKey:@"author"] valueForKey:@"email"]];
  45 +
  46 + DevLog2(@"Loaded Commit: %@", [tempCommit commitID]);
  47 +
  48 + [commitsArray addObject:tempCommit];
  49 + }
  50 + return commitsArray;
  51 +}
  52 +
  53 +- (void) dealloc {
  54 + [commitID release];
  55 + [message release];
  56 + [url release];
  57 + [authorName release];
  58 + [authorEmail release];
  59 + [super dealloc];
  60 +}
  61 +
  62 +
  63 +@end
18 Classes/RepoCommitsViewController.h
... ... @@ -0,0 +1,18 @@
  1 +//
  2 +// RepoCommitsViewController.h
  3 +// git-phone
  4 +//
  5 +// Created by Sam Schroeder on 2/7/09.
  6 +// Copyright 2009 Proton Microsystems, LLC. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +
  12 +@interface RepoCommitsViewController : UITableViewController {
  13 + NSArray *repoCommits;
  14 +}
  15 +
  16 +@property (nonatomic, retain) NSArray *repoCommits;
  17 +
  18 +@end
88 Classes/RepoCommitsViewController.m
... ... @@ -0,0 +1,88 @@
  1 +//
  2 +// RepoCommitsViewController.m
  3 +// git-phone
  4 +//
  5 +// Created by Sam Schroeder on 2/7/09.
  6 +// Copyright 2009 Proton Microsystems, LLC. All rights reserved.
  7 +//
  8 +
  9 +#import "RepoCommitsViewController.h"
  10 +#import "Commit.h"
  11 +
  12 +
  13 +@implementation RepoCommitsViewController
  14 +
  15 +@synthesize repoCommits;
  16 +
  17 +/*
  18 +- (id)initWithStyle:(UITableViewStyle)style {
  19 + // Override initWithStyle: if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
  20 + if (self = [super initWithStyle:style]) {
  21 + }
  22 + return self;
  23 +}
  24 +*/
  25 +
  26 +
  27 +- (void)viewDidLoad {
  28 + [super viewDidLoad];
  29 + self.title = @"Recent Commits";
  30 +}
  31 +
  32 +
  33 +- (void)viewWillAppear:(BOOL)animated {
  34 + [super viewWillAppear:animated];
  35 +}
  36 +
  37 +
  38 +- (void)didReceiveMemoryWarning {
  39 + [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
  40 + // Release anything that's not essential, such as cached data
  41 +}
  42 +
  43 +#pragma mark Table view methods
  44 +
  45 +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
  46 + return 1;
  47 +}
  48 +
  49 +
  50 +// Customize the number of rows in the table view.
  51 +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  52 + return [repoCommits count];
  53 +}
  54 +
  55 +
  56 +// Customize the appearance of table view cells.
  57 +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  58 +
  59 + static NSString *CellIdentifier = @"CommitCell";
  60 +
  61 + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  62 + if (cell == nil) {
  63 + cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
  64 + }
  65 +
  66 + // Set up the cell...
  67 + cell.text = [(Commit *)[repoCommits objectAtIndex:[indexPath row]] message];
  68 +
  69 + return cell;
  70 +}
  71 +
  72 +
  73 +- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  74 + // Navigation logic may go here. Create and push another view controller.
  75 + // AnotherViewController *anotherViewController = [[AnotherViewController alloc] initWithNibName:@"AnotherView" bundle:nil];
  76 + // [self.navigationController pushViewController:anotherViewController];
  77 + // [anotherViewController release];
  78 +}
  79 +
  80 +
  81 +- (void)dealloc {
  82 + [repoCommits release];
  83 + [super dealloc];
  84 +}
  85 +
  86 +
  87 +@end
  88 +
16 Classes/RepositoriesViewController.m
@@ -7,6 +7,7 @@
7 7 //
8 8
9 9 #import "RepositoriesViewController.h"
  10 +#import "RepoCommitsViewController.h"
10 11
11 12
12 13 @implementation RepositoriesViewController
@@ -50,6 +51,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
50 51 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
51 52 if (cell == nil) {
52 53 cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
  54 + cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
53 55 }
54 56
55 57 // Set up the cell...
@@ -59,10 +61,16 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
59 61
60 62
61 63 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
62   - // Navigation logic may go here. Create and push another view controller.
63   - // AnotherViewController *anotherViewController = [[AnotherViewController alloc] initWithNibName:@"AnotherView" bundle:nil];
64   - // [self.navigationController pushViewController:anotherViewController];
65   - // [anotherViewController release];
  64 + RepoCommitsViewController *repoCommitsViewController = [[[RepoCommitsViewController alloc] initWithNibName:@"RepoCommitsView" bundle:nil] autorelease];
  65 + Repository *repository = [repositories objectAtIndex:[indexPath row]];
  66 +
  67 + [repoCommitsViewController.repoCommits release];
  68 + [repository.commits release];
  69 + [repository loadCommits];
  70 + repoCommitsViewController.repoCommits = repository.commits;
  71 +
  72 + [self.navigationController pushViewController:repoCommitsViewController animated:YES];
  73 + [tableView deselectRowAtIndexPath:indexPath animated:YES];
66 74 }
67 75
68 76
6 Classes/Repository.h
@@ -9,13 +9,19 @@
9 9
10 10 @interface Repository : NSObject {
11 11 NSString *name;
  12 + NSString *owner;
12 13 NSNumber *privateRepo;
  14 + NSMutableArray *commits;
13 15 }
14 16
15 17 @property (nonatomic, retain) NSString *name;
  18 +@property (nonatomic, retain) NSString *owner;
16 19 @property (nonatomic, retain) NSNumber *privateRepo;
  20 +@property (nonatomic, retain) NSMutableArray *commits;
17 21
18 22 + (NSString *)indexURL;
19 23 + (void)loadAll;
  24 +- (NSString *)commitsURL;
  25 +- (void)loadCommits;
20 26
21 27 @end
39 Classes/Repository.m
@@ -8,12 +8,15 @@
8 8
9 9 #import "Repository.h"
10 10 #import "Connector.h"
  11 +#import "Commit.h"
11 12
12 13
13 14 @implementation Repository
14 15
15 16 @synthesize name;
  17 +@synthesize owner;
16 18 @synthesize privateRepo;
  19 +@synthesize commits;
17 20
18 21 + (NSString *)indexURL {
19 22
@@ -22,8 +25,15 @@ + (NSString *)indexURL {
22 25 [[Config instance] gitHubUserName]];
23 26 }
24 27
  28 +- (NSString *)commitsURL {
  29 + // http://github.com/api/v1/json/caged/gitnub/commits/master
  30 + return [NSString stringWithFormat:@"%@/%@/%@/commits/master",
  31 + [[Config instance] baseAPIURL],
  32 + [self owner],
  33 + [self name]];
  34 +}
  35 +
25 36 + (void)loadAll {
26   -
27 37 NSString *resultJSON = [Connector postToURL:[self indexURL]];
28 38
29 39 NSMutableArray *publicRepoArray = [[[NSMutableArray alloc] init] autorelease];
@@ -36,6 +46,7 @@ + (void)loadAll {
36 46 for (NSDictionary *repository in repositories) {
37 47 Repository *tempRepo = [[[Repository alloc] init] autorelease];
38 48 [tempRepo setName:[repository valueForKey:@"name"]];
  49 + [tempRepo setOwner:[repository valueForKey:@"owner"]];
39 50 [tempRepo setPrivateRepo:[DataParser readInt:[repository valueForKey:@"private"]]];
40 51
41 52 DevLog2(@"Loaded Repo: %@", [tempRepo name]);
@@ -51,9 +62,35 @@ + (void)loadAll {
51 62 [[Config instance] setPrivateRepositories:privateRepoArray];
52 63 }
53 64
  65 +- (void)loadCommits {
  66 + NSString *resultJSON = [Connector postToURL:[self commitsURL]];
  67 +
  68 + NSMutableArray *commitsArray = [[[NSMutableArray alloc] init] autorelease];
  69 + NSMutableArray *repoCommits = [[[NSMutableArray alloc] init] autorelease];
  70 +
  71 + repoCommits = [[resultJSON JSONValue] valueForKey:@"commits"];
  72 +
  73 + for (NSDictionary *commit in repoCommits) {
  74 + Commit *tempCommit = [[[Commit alloc] init] autorelease];
  75 + [tempCommit setCommitID:[commit valueForKey:@"id"]];
  76 + [tempCommit setMessage:[commit valueForKey:@"message"]];
  77 + [tempCommit setUrl:[commit valueForKey:@"url"]];
  78 + [tempCommit setAuthorName:[[commit valueForKey:@"author"] valueForKey:@"name"]];
  79 + [tempCommit setAuthorEmail:[[commit valueForKey:@"author"] valueForKey:@"email"]];
  80 +
  81 + DevLog2(@"Loaded Commit: %@", [tempCommit message]);
  82 +
  83 + [commitsArray addObject:tempCommit];
  84 + }
  85 +
  86 + [self setCommits:commitsArray];
  87 +}
  88 +
54 89 - (void) dealloc {
55 90 [name release];
  91 + [owner release];
56 92 [privateRepo release];
  93 + [commits release];
57 94 [super dealloc];
58 95 }
59 96
18 Classes/RootViewController.m
@@ -28,7 +28,7 @@ - (void)didReceiveMemoryWarning {
28 28 #pragma mark Table view methods
29 29
30 30 - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
31   - return 3;
  31 + return 4;
32 32 }
33 33
34 34
@@ -50,6 +50,10 @@ - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger
50 50 rows = 1;
51 51 break;
52 52 }
  53 + case 3: {
  54 + rows = 1;
  55 + break;
  56 + }
53 57 }
54 58 return rows;
55 59 }
@@ -94,8 +98,18 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
94 98 case 2: {
95 99 switch(indexPath.row) {
96 100 case 0: {
  101 + cell.text = @"Search";
  102 + cell.image = [UIImage imageNamed:@"octocat_small.png"];
  103 + break;
  104 + }
  105 + }
  106 + break;
  107 + }
  108 + case 3: {
  109 + switch(indexPath.row) {
  110 + case 0: {
97 111 cell.text = @"About GitHub GitPhone";
98   - cell.image = [UIImage imageNamed:@"gravatar.png"];
  112 + cell.image = [UIImage imageNamed:@"octocat_small.png"];
99 113 break;
100 114 }
101 115 }
216 RepoCommitsView.xib
... ... @@ -0,0 +1,216 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03">
  3 + <data>
  4 + <int key="IBDocument.SystemTarget">528</int>
  5 + <string key="IBDocument.SystemVersion">9G55</string>
  6 + <string key="IBDocument.InterfaceBuilderVersion">677</string>
  7 + <string key="IBDocument.AppKitVersion">949.43</string>
  8 + <string key="IBDocument.HIToolboxVersion">353.00</string>
  9 + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
  10 + <bool key="EncodedWithXMLCoder">YES</bool>
  11 + <integer value="4"/>
  12 + </object>
  13 + <object class="NSArray" key="IBDocument.PluginDependencies">
  14 + <bool key="EncodedWithXMLCoder">YES</bool>
  15 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  16 + </object>
  17 + <object class="NSMutableDictionary" key="IBDocument.Metadata">
  18 + <bool key="EncodedWithXMLCoder">YES</bool>
  19 + <object class="NSArray" key="dict.sortedKeys">
  20 + <bool key="EncodedWithXMLCoder">YES</bool>
  21 + </object>
  22 + <object class="NSMutableArray" key="dict.values">
  23 + <bool key="EncodedWithXMLCoder">YES</bool>
  24 + </object>
  25 + </object>
  26 + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
  27 + <bool key="EncodedWithXMLCoder">YES</bool>
  28 + <object class="IBProxyObject" id="372490531">
  29 + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
  30 + </object>
  31 + <object class="IBProxyObject" id="975951072">
  32 + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
  33 + </object>
  34 + <object class="IBUIView" id="296104967">
  35 + <reference key="NSNextResponder"/>
  36 + <int key="NSvFlags">292</int>
  37 + <object class="NSMutableArray" key="NSSubviews">
  38 + <bool key="EncodedWithXMLCoder">YES</bool>
  39 + <object class="IBUITableView" id="352544138">
  40 + <reference key="NSNextResponder" ref="296104967"/>
  41 + <int key="NSvFlags">274</int>
  42 + <string key="NSFrame">{{0, 44}, {320, 416}}</string>
  43 + <reference key="NSSuperview" ref="296104967"/>
  44 + <object class="NSColor" key="IBUIBackgroundColor">
  45 + <int key="NSColorSpace">3</int>
  46 + <bytes key="NSWhite">MQA</bytes>
  47 + </object>
  48 + <bool key="IBUIOpaque">NO</bool>
  49 + <bool key="IBUIClipsSubviews">YES</bool>
  50 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
  51 + <bool key="IBUIBouncesZoom">NO</bool>
  52 + <int key="IBUISeparatorStyle">1</int>
  53 + <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
  54 + <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
  55 + <float key="IBUIRowHeight">4.400000e+01</float>
  56 + <float key="IBUISectionHeaderHeight">2.200000e+01</float>
  57 + <float key="IBUISectionFooterHeight">2.200000e+01</float>
  58 + </object>
  59 + <object class="IBUINavigationBar" id="100252185">
  60 + <reference key="NSNextResponder" ref="296104967"/>
  61 + <int key="NSvFlags">290</int>
  62 + <string key="NSFrameSize">{320, 44}</string>
  63 + <reference key="NSSuperview" ref="296104967"/>
  64 + <bool key="IBUIOpaque">NO</bool>
  65 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
  66 + <object class="NSArray" key="IBUIItems">
  67 + <bool key="EncodedWithXMLCoder">YES</bool>
  68 + <object class="IBUINavigationItem" id="853461947">
  69 + <reference key="IBUINavigationBar" ref="100252185"/>
  70 + <string key="IBUITitle">Title</string>
  71 + </object>
  72 + </object>
  73 + </object>
  74 + </object>
  75 + <string key="NSFrameSize">{320, 460}</string>
  76 + <reference key="NSSuperview"/>
  77 + <object class="NSColor" key="IBUIBackgroundColor">
  78 + <int key="NSColorSpace">3</int>
  79 + <bytes key="NSWhite">MQA</bytes>
  80 + <object class="NSColorSpace" key="NSCustomColorSpace">
  81 + <int key="NSID">2</int>
  82 + </object>
  83 + </object>
  84 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
  85 + </object>
  86 + </object>
  87 + <object class="IBObjectContainer" key="IBDocument.Objects">
  88 + <object class="NSMutableArray" key="connectionRecords">
  89 + <bool key="EncodedWithXMLCoder">YES</bool>
  90 + <object class="IBConnectionRecord">
  91 + <object class="IBCocoaTouchOutletConnection" key="connection">
  92 + <string key="label">view</string>
  93 + <reference key="source" ref="372490531"/>
  94 + <reference key="destination" ref="352544138"/>
  95 + </object>
  96 + <int key="connectionID">5</int>
  97 + </object>
  98 + </object>
  99 + <object class="IBMutableOrderedSet" key="objectRecords">
  100 + <object class="NSArray" key="orderedObjects">
  101 + <bool key="EncodedWithXMLCoder">YES</bool>
  102 + <object class="IBObjectRecord">
  103 + <int key="objectID">0</int>
  104 + <object class="NSArray" key="object" id="360949347">
  105 + <bool key="EncodedWithXMLCoder">YES</bool>
  106 + </object>
  107 + <reference key="children" ref="1000"/>
  108 + <nil key="parent"/>
  109 + </object>
  110 + <object class="IBObjectRecord">
  111 + <int key="objectID">-1</int>
  112 + <reference key="object" ref="372490531"/>
  113 + <reference key="parent" ref="360949347"/>
  114 + <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
  115 + </object>
  116 + <object class="IBObjectRecord">
  117 + <int key="objectID">-2</int>
  118 + <reference key="object" ref="975951072"/>
  119 + <reference key="parent" ref="360949347"/>
  120 + </object>
  121 + <object class="IBObjectRecord">
  122 + <int key="objectID">4</int>
  123 + <reference key="object" ref="296104967"/>
  124 + <object class="NSMutableArray" key="children">
  125 + <bool key="EncodedWithXMLCoder">YES</bool>
  126 + <reference ref="352544138"/>
  127 + <reference ref="100252185"/>
  128 + </object>
  129 + <reference key="parent" ref="360949347"/>
  130 + </object>
  131 + <object class="IBObjectRecord">
  132 + <int key="objectID">3</int>
  133 + <reference key="object" ref="352544138"/>
  134 + <reference key="parent" ref="296104967"/>
  135 + </object>
  136 + <object class="IBObjectRecord">
  137 + <int key="objectID">6</int>
  138 + <reference key="object" ref="100252185"/>
  139 + <object class="NSMutableArray" key="children">
  140 + <bool key="EncodedWithXMLCoder">YES</bool>
  141 + <reference ref="853461947"/>
  142 + </object>
  143 + <reference key="parent" ref="296104967"/>
  144 + </object>
  145 + <object class="IBObjectRecord">
  146 + <int key="objectID">7</int>
  147 + <reference key="object" ref="853461947"/>
  148 + <reference key="parent" ref="100252185"/>
  149 + </object>
  150 + </object>
  151 + </object>
  152 + <object class="NSMutableDictionary" key="flattenedProperties">
  153 + <bool key="EncodedWithXMLCoder">YES</bool>
  154 + <object class="NSMutableArray" key="dict.sortedKeys">
  155 + <bool key="EncodedWithXMLCoder">YES</bool>
  156 + <string>-1.CustomClassName</string>
  157 + <string>-2.CustomClassName</string>
  158 + <string>3.IBEditorWindowLastContentRect</string>
  159 + <string>3.IBPluginDependency</string>
  160 + <string>4.IBEditorWindowLastContentRect</string>
  161 + <string>4.IBPluginDependency</string>
  162 + <string>6.IBPluginDependency</string>
  163 + <string>7.IBPluginDependency</string>
  164 + </object>
  165 + <object class="NSMutableArray" key="dict.values">
  166 + <bool key="EncodedWithXMLCoder">YES</bool>
  167 + <string>RepoCommitsViewController</string>
  168 + <string>UIResponder</string>
  169 + <string>{{281, 451}, {320, 247}}</string>
  170 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  171 + <string>{{194, 296}, {320, 460}}</string>
  172 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  173 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  174 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  175 + </object>
  176 + </object>
  177 + <object class="NSMutableDictionary" key="unlocalizedProperties">
  178 + <bool key="EncodedWithXMLCoder">YES</bool>
  179 + <object class="NSArray" key="dict.sortedKeys">
  180 + <bool key="EncodedWithXMLCoder">YES</bool>
  181 + </object>
  182 + <object class="NSMutableArray" key="dict.values">
  183 + <bool key="EncodedWithXMLCoder">YES</bool>
  184 + </object>
  185 + </object>
  186 + <nil key="activeLocalization"/>
  187 + <object class="NSMutableDictionary" key="localizations">
  188 + <bool key="EncodedWithXMLCoder">YES</bool>
  189 + <object class="NSArray" key="dict.sortedKeys">
  190 + <bool key="EncodedWithXMLCoder">YES</bool>
  191 + </object>
  192 + <object class="NSMutableArray" key="dict.values">
  193 + <bool key="EncodedWithXMLCoder">YES</bool>
  194 + </object>
  195 + </object>
  196 + <nil key="sourceID"/>
  197 + <int key="maxID">7</int>
  198 + </object>
  199 + <object class="IBClassDescriber" key="IBDocument.Classes">
  200 + <object class="NSMutableArray" key="referencedPartialClassDescriptions">
  201 + <bool key="EncodedWithXMLCoder">YES</bool>
  202 + <object class="IBPartialClassDescription">
  203 + <string key="className">RepoCommitsViewController</string>
  204 + <string key="superclassName">UITableViewController</string>
  205 + <object class="IBClassDescriptionSource" key="sourceIdentifier">
  206 + <string key="majorKey">IBProjectSource</string>
  207 + <string key="minorKey">Classes/RepoCommitsViewController.h</string>
  208 + </object>
  209 + </object>
  210 + </object>
  211 + </object>
  212 + <int key="IBDocument.localizationMode">0</int>
  213 + <string key="IBDocument.LastKnownRelativeProjectPath">git-phone.xcodeproj</string>
  214 + <int key="IBDocument.defaultPropertyAccessControl">3</int>
  215 + </data>
  216 +</archive>
20 git-phone.xcodeproj/project.pbxproj
@@ -15,6 +15,10 @@
15 15 2218F1350F2FE4110080FB02 /* RepositoriesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2218F1340F2FE4110080FB02 /* RepositoriesViewController.m */; };
16 16 229445A10F2CFD4200502D5C /* private.png in Resources */ = {isa = PBXBuildFile; fileRef = 2294459F0F2CFD4200502D5C /* private.png */; };
17 17 229445A20F2CFD4200502D5C /* public.png in Resources */ = {isa = PBXBuildFile; fileRef = 229445A00F2CFD4200502D5C /* public.png */; };
  18 + 229F5CBE0F3DB4A400767944 /* octocat_small.png in Resources */ = {isa = PBXBuildFile; fileRef = 229F5CBD0F3DB4A400767944 /* octocat_small.png */; };
  19 + 229F5CCA0F3DBB3900767944 /* RepoCommitsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 229F5CC90F3DBB3900767944 /* RepoCommitsViewController.m */; };
  20 + 229F5CD40F3DBBF100767944 /* RepoCommitsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 229F5CD30F3DBBF100767944 /* RepoCommitsView.xib */; };
  21 + 229F5D000F3DBE9B00767944 /* Commit.m in Sources */ = {isa = PBXBuildFile; fileRef = 229F5CFF0F3DBE9B00767944 /* Commit.m */; };
18 22 22E17B660F22334300D2853B /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 22E17B650F22334300D2853B /* Reachability.m */; };
19 23 22E17B890F2233E400D2853B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22E17B880F2233E400D2853B /* SystemConfiguration.framework */; };
20 24 22E17B910F22361B00D2853B /* ConnectivityController.m in Sources */ = {isa = PBXBuildFile; fileRef = 22E17B900F22361B00D2853B /* ConnectivityController.m */; };
@@ -49,6 +53,12 @@
49 53 2218F1340F2FE4110080FB02 /* RepositoriesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RepositoriesViewController.m; sourceTree = "<group>"; };
50 54 2294459F0F2CFD4200502D5C /* private.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = private.png; sourceTree = "<group>"; };
51 55 229445A00F2CFD4200502D5C /* public.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = public.png; sourceTree = "<group>"; };
  56 + 229F5CBD0F3DB4A400767944 /* octocat_small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = octocat_small.png; sourceTree = "<group>"; };
  57 + 229F5CC80F3DBB3900767944 /* RepoCommitsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RepoCommitsViewController.h; sourceTree = "<group>"; };
  58 + 229F5CC90F3DBB3900767944 /* RepoCommitsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RepoCommitsViewController.m; sourceTree = "<group>"; };
  59 + 229F5CD30F3DBBF100767944 /* RepoCommitsView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RepoCommitsView.xib; sourceTree = "<group>"; };
  60 + 229F5CFE0F3DBE9B00767944 /* Commit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Commit.h; sourceTree = "<group>"; };
  61 + 229F5CFF0F3DBE9B00767944 /* Commit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Commit.m; sourceTree = "<group>"; };
52 62 22E17B640F22334300D2853B /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = "<group>"; };
53 63 22E17B650F22334300D2853B /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
54 64 22E17B880F2233E400D2853B /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = /System/Library/Frameworks/SystemConfiguration.framework; sourceTree = "<absolute>"; };
@@ -137,6 +147,8 @@
137 147 22E17C1D0F22467200D2853B /* LoginViewController.m */,
138 148 2218F1330F2FE4110080FB02 /* RepositoriesViewController.h */,
139 149 2218F1340F2FE4110080FB02 /* RepositoriesViewController.m */,
  150 + 229F5CC80F3DBB3900767944 /* RepoCommitsViewController.h */,
  151 + 229F5CC90F3DBB3900767944 /* RepoCommitsViewController.m */,
140 152 );
141 153 name = ViewControllers;
142 154 path = Classes;
@@ -145,6 +157,7 @@
145 157 22FA50100F21349300709123 /* images */ = {
146 158 isa = PBXGroup;
147 159 children = (
  160 + 229F5CBD0F3DB4A400767944 /* octocat_small.png */,
148 161 22EFCE870F325EFA009F3C3E /* gravatar.png */,
149 162 22EFCE7F0F325DFB009F3C3E /* feed.png */,
150 163 2294459F0F2CFD4200502D5C /* private.png */,
@@ -160,6 +173,8 @@
160 173 isa = PBXGroup;
161 174 children = (
162 175 22FA50DB0F2147DC00709123 /* Models.h */,
  176 + 229F5CFE0F3DBE9B00767944 /* Commit.h */,
  177 + 229F5CFF0F3DBE9B00767944 /* Commit.m */,
163 178 22FA50CC0F21463D00709123 /* Config.h */,
164 179 22FA50CD0F21463D00709123 /* Config.m */,
165 180 22EFCE1E0F32598F009F3C3E /* DataParser.h */,
@@ -215,6 +230,7 @@
215 230 22E17B9E0F223BC800D2853B /* ApplicationError.xib */,
216 231 22E17C3A0F22490800D2853B /* Login.xib */,
217 232 28AD735F0D9D9599002E5188 /* MainWindow.xib */,
  233 + 229F5CD30F3DBBF100767944 /* RepoCommitsView.xib */,
218 234 2218F1160F2FE3A00080FB02 /* RepositoriesView.xib */,
219 235 2899E55F0DE3E45000AC0155 /* RootViewController.xib */,
220 236 8D1107310486CEB800E47090 /* Info.plist */,
@@ -295,6 +311,8 @@
295 311 2218F1170F2FE3A00080FB02 /* RepositoriesView.xib in Resources */,
296 312 22EFCE800F325DFB009F3C3E /* feed.png in Resources */,
297 313 22EFCE880F325EFA009F3C3E /* gravatar.png in Resources */,
  314 + 229F5CBE0F3DB4A400767944 /* octocat_small.png in Resources */,
  315 + 229F5CD40F3DBBF100767944 /* RepoCommitsView.xib in Resources */,
298 316 );
299 317 runOnlyForDeploymentPostprocessing = 0;
300 318 };
@@ -317,6 +335,8 @@
317 335 2218F1350F2FE4110080FB02 /* RepositoriesViewController.m in Sources */,
318 336 22EFCE200F32598F009F3C3E /* DataParser.m in Sources */,
319 337 22EFCE410F325A3F009F3C3E /* Repository.m in Sources */,
  338 + 229F5CCA0F3DBB3900767944 /* RepoCommitsViewController.m in Sources */,
  339 + 229F5D000F3DBE9B00767944 /* Commit.m in Sources */,
320 340 );
321 341 runOnlyForDeploymentPostprocessing = 0;
322 342 };
BIN  images/octocat_small.png

0 comments on commit 125dfde

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