Skip to content

Commit ef46734

Browse files
committed
release 0.5.3
1 parent 4b13828 commit ef46734

File tree

10 files changed

+71
-59
lines changed

10 files changed

+71
-59
lines changed

CriticalMass.xcodeproj/project.pbxproj renamed to CriticalMaps.xcodeproj/project.pbxproj

Lines changed: 39 additions & 33 deletions
Large diffs are not rendered by default.

CriticalMass.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CriticalMass/CriticalMass-Info.plist renamed to CriticalMass/CriticalMaps-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.5.2</string>
20+
<string>0.5.3</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.5.2</string>
24+
<string>0.5.3</string>
2525
<key>LSApplicationCategoryType</key>
2626
<string></string>
2727
<key>LSRequiresIPhoneOS</key>

CriticalMass/PLConstants.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ @implementation PLConstants
1313
@end
1414

1515
// Debug
16-
BOOL const kDebug = NO;
17-
BOOL const kDebugEnableTestURL = NO;
18-
BOOL const kDebugEnableTestLocation = NO;
16+
BOOL const kDebug = YES;
17+
BOOL const kDebugEnableTestURL = YES;
18+
BOOL const kDebugEnableTestLocation = YES;
1919
BOOL const kDebugDisableHTTPRequests = NO;
2020
BOOL const kDebugInitialTabIndex = 0;
2121

@@ -36,5 +36,5 @@ @implementation PLConstants
3636
NSUInteger const kMaxRequestsInBackground = 480;
3737
double const kTestLocationLatitude = +52.50266880;
3838
double const kTestLocationLongitude = +13.41227278;
39-
NSString *const kTwitterQuery = @"#criticalmass";
39+
NSString *const kTwitterQuery = @"#criticalmaps";
4040

CriticalMass/PLSettingsTableViewController.m

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ - (void)viewDidLoad
3434
[super viewDidLoad];
3535

3636
self.clearsSelectionOnViewWillAppear = YES;
37-
//self.navigationItem.rightBarButtonItem = self.editButtonItem;
3837
}
3938

4039
- (void)didReceiveMemoryWarning
@@ -47,7 +46,7 @@ - (void)didReceiveMemoryWarning
4746

4847
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
4948
{
50-
return 4;
49+
return 3;
5150
}
5251

5352
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
@@ -89,11 +88,11 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
8988
cell.textLabel.text = @"Critical Mass Berlin";
9089
cell.detailTextLabel.text = @"www.criticalmass-berlin.org";
9190
}else if(indexPath.row == 1){
92-
cell.textLabel.text = @"GitHub Open Source";
93-
cell.detailTextLabel.text = @"www.github.com/headione/criticalmass-berlin";
91+
cell.textLabel.text = @"Open Source";
92+
cell.detailTextLabel.text = @"www.github.com/headione/criticalmaps-ios";
9493
}else if(indexPath.row == 2){
9594
cell.textLabel.text = @"Logo Design";
96-
cell.detailTextLabel.text = @"www.thomas-hollnack.de";
95+
cell.detailTextLabel.text = @"gitti la mar";
9796
}else if(indexPath.row == 3){
9897
cell.textLabel.text = @"Programmierung";
9998
cell.detailTextLabel.text = @"www.pokuslabs.com";
@@ -122,17 +121,11 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *
122121
if(indexPath.row == 0){
123122
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.criticalmass-berlin.org"]];
124123
}else if(indexPath.row == 1){
125-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"https://github.com/headione/criticalmass-berlin"]];
126-
}else if(indexPath.row == 2){
127-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.thomas-hollnack.de"]];
124+
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"https://github.com/headione/criticalmaps-ios"]];
128125
}else if(indexPath.row == 3){
129126
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.pokuslabs.com"]];
130127
}
131128

132-
}else if (indexPath.section == 3){
133-
if(indexPath.row == 0){
134-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TQGCAK3G3Z9GQ"]];
135-
}
136129
}
137130
}
138131

@@ -144,8 +137,6 @@ -(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteg
144137
return @"Social Media";
145138
}else if (section == 2){
146139
return @"About";
147-
}else if (section == 3){
148-
return @"Please donate";
149140
}
150141

151142
return @"";

CriticalMass/PLTwitterViewController.m

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#import "PLLabel.h"
1111
#import "PLConstants.h"
1212
#import "PLTwitterTableViewCell.h"
13+
#import "HOButton.h"
1314

1415

1516
@interface PLTwitterViewController ()
@@ -21,14 +22,16 @@ @implementation PLTwitterViewController
2122
- (void)viewDidLoad {
2223
[super viewDidLoad];
2324

24-
PLLabel *label = [[PLLabel alloc] initWithFrame:CGRectMake(0, 20, self.view.frame.size.width, 50)];
25-
label.text = @"Latest Tweets of #criticalmass";
26-
[label setFont: [UIFont fontWithName:@"HelveticaNeue-Medium" size:18.0f]];
25+
PLLabel *label = [[PLLabel alloc] initWithFrame:CGRectMake(0, 19, self.view.frame.size.width, 50)];
26+
label.text = @"Latest Tweets of #criticalmaps";
27+
[label setFont: [UIFont fontWithName:@"HelveticaNeue-Light" size:16.0f]];
2728
[self.view addSubview:label];
2829

29-
UIButton *reloadBtn = [[UIButton alloc] initWithFrame:CGRectMake(self.view.frame.size.width-52, 35, 22, 20)];
30+
HOButton *reloadBtn = [[HOButton alloc] init];
3031
[reloadBtn setImage:[UIImage imageNamed:@"Reload"] forState:UIControlStateNormal];
32+
reloadBtn.imageEdgeInsets = UIEdgeInsetsMake(10, 9, 10, 9);
3133
[reloadBtn addTarget:self action:@selector(onClickReload:) forControlEvents:UIControlEventTouchUpInside];
34+
reloadBtn.center = CGPointMake(self.view.frame.size.width-40, 40);
3235
[self.view addSubview:reloadBtn];
3336

3437
CGRect frame = CGRectMake(0, 70, self.view.frame.size.width, self.view.frame.size.height - 120);
@@ -77,6 +80,7 @@ - (void)loadTweets {
7780
_statuses = statuses;
7881
[_tableView reloadData];
7982
[_loadingView setHidden:YES];
83+
8084
} errorBlock:^(NSError *error) {
8185
// ...
8286
}];
@@ -122,6 +126,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
122126
cell.selectionStyle = UITableViewCellSelectionStyleNone;
123127
cell.textLabel.lineBreakMode = NSLineBreakByWordWrapping;
124128
cell.textLabel.numberOfLines = 0;
129+
UIFont *myFont = [ UIFont fontWithName: @"Helvetica" size: 14.0 ];
130+
cell.textLabel.font = myFont;
125131
}
126132

127133
NSDictionary *status = [_statuses objectAtIndex:indexPath.row];

CriticalMass/main.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ int main(int argc, char * argv[])
1515
@autoreleasepool {
1616
return UIApplicationMain(argc, argv, nil, NSStringFromClass([PLAppDelegate class]));
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)