Skip to content

Commit

Permalink
Set version number; Minor modifications; Cleanup; release
Browse files Browse the repository at this point in the history
  • Loading branch information
normansander committed Jun 9, 2015
1 parent b47a927 commit 167e2fb
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CriticalMass/CriticalMaps-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.6.0</string>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.6.0.2</string>
<string>1.0.1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
Expand Down
15 changes: 7 additions & 8 deletions CriticalMass/PLChatViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ - (void)viewDidLoad {
self.btnSend = [HOButton buttonWithType:UIButtonTypeRoundedRect];
self.btnSend.frame = CGRectMake(260, 0, 50, 50);
self.btnSend.layer.borderWidth = 1.0;
[self.btnSend setBackgroundColor:[UIColor magicColor]];
[self.btnSend setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[self.btnSend setBackgroundColor:[UIColor clearColor]];
[self.btnSend setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
[self.btnSend addTarget:self action:@selector(onSend) forControlEvents:UIControlEventTouchUpInside];
[self.btnSend setTitle:@"SEND" forState:UIControlStateNormal];
[self.btnSend setTitle:@"send" forState:UIControlStateNormal];
[self.controlView addSubview: self.btnSend];
}

Expand Down Expand Up @@ -106,7 +106,7 @@ - (void)onSend {
self.textField.text = @"";
}

- (void)moveContent:(BOOL)moveUp{
- (void)moveContent:(BOOL)moveUp {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.3]; // if you want to slide up the view

Expand Down Expand Up @@ -211,12 +211,12 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
return rect.size.height + 20;
}

-(BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
[self moveContent:YES];
return YES;
}

-(void)textFieldDidEndEditing:(UITextField *)textField {
- (void)textFieldDidEndEditing:(UITextField *)textField {
[self moveContent:NO];
}

Expand All @@ -230,8 +230,7 @@ - (void)onMessagesReceived {
// [self.tableView scrollToRowAtIndexPath: ipath atScrollPosition: UITableViewScrollPositionTop animated: YES];
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
[self.textField resignFirstResponder];
}

Expand Down
5 changes: 3 additions & 2 deletions CriticalMass/PLDataModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ - (void)initLocationManager
}else{
[self enableGps];
}
}
#else
[self enableGps];
[self enableGps];
#endif

}

- (void)initHTTPRequestManager
{
Expand Down
5 changes: 4 additions & 1 deletion CriticalMass/PLTwitterViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ - (void)viewDidLoad {
@"hamburg",
@"dresden",
@"köln",
@"potsdam"
@"potsdam",
@"stuttgart",
@"münchen",
@"frankfurt"
];

_data = [PLDataModel sharedManager];
Expand Down
Binary file removed Gfx/Launch1.png
Binary file not shown.
Binary file removed Gfx/Launch2.png
Binary file not shown.
Binary file removed Gfx/appicon/[email protected]
Binary file not shown.
Binary file removed Gfx/appicon/[email protected]
Binary file not shown.
Binary file removed Gfx/appicon/[email protected]
Binary file not shown.
Binary file removed Gfx/appicon/[email protected]
Binary file not shown.

0 comments on commit 167e2fb

Please sign in to comment.