Skip to content

Commit

Permalink
#109 Commented LOGS and STATUS BAR COLOUR
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek9634 committed Nov 28, 2015
1 parent cefad3b commit b3041ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ - (NSArray *)getUnreadMessages:(NSString *) contactId
NSError *fetchError = nil;
NSArray *result = [dbHandler.managedObjectContext executeFetchRequest:fetchRequest error:&fetchError];
//NSLog(@"the fetch request %@",fetchRequest);
NSLog(@"COUNT VALUE: %lu", result.count);
// NSLog(@"COUNT VALUE: %lu", result.count);
return result;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ +(void)userDetailServerCall:(NSString *)contactId withCompletion:(void(^)(ALUser
}
else
{
NSLog(@"SEVER RESPONSE FROM JSON : %@", (NSString *)theJson);
// NSLog(@"SEVER RESPONSE FROM JSON : %@", (NSString *)theJson);
ALUserDetail *userDetailObject = [[ALUserDetail alloc] initWithJSONString:theJson];
// [userDetailObject userDetail];
completionMark(userDetailObject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ -(void)viewWillAppear:(BOOL)animated{
// [self.navigationController.navigationBar setBarTintColor: [ALApplozicSettings getColourForNavigation]];
// [self.navigationController.navigationBar setTintColor:[ALApplozicSettings getColourForNavigationItem]];

// [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; //set color of setTintColor to ehite then this will change to white
[self.tabBarController.tabBar setHidden: YES];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ -(void)serverCallForLastSeen

NSMutableString *temp = tempString;
double value = [temp doubleValue];
NSLog(@"FLOAT VALUE %f",[temp doubleValue]);
// NSLog(@"FLOAT VALUE %f",[temp doubleValue]);

if(value > 0)
{
Expand Down Expand Up @@ -1101,9 +1101,9 @@ -(void)serverCallForLastSeen
NSString *theTime;
int hours = difference / 3600;
int minutes = (difference - hours * 3600 ) / 60;
NSLog(@"MIN : %d",minutes);
NSLog(@"hr : %d",hours);
NSLog(@"differeence = %f",difference);
// NSLog(@"MIN : %d",minutes);
// NSLog(@"hr : %d",hours);
// NSLog(@"differeence = %f",difference);
if(hours > 0){
theTime = [NSString stringWithFormat:@"%.2d:%.2d", hours, minutes];
str = [str stringByAppendingString:theTime];
Expand All @@ -1115,7 +1115,7 @@ -(void)serverCallForLastSeen
str = [str stringByAppendingString:@" min Ago"];
}

NSLog(@"str :%@",str);
// NSLog(@"str :%@",str);
[self.label setText:str];
}

Expand Down
2 changes: 2 additions & 0 deletions sample-with-framework/applozicdemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

0 comments on commit b3041ff

Please sign in to comment.