[iOS]code style fix

This commit is contained in:
Kirill Zhdanovich 2013-08-08 21:53:53 +03:00
parent 75ebb768af
commit 26cf08a6c5
4 changed files with 2 additions and 18 deletions

View file

@ -155,7 +155,7 @@
{
for (UIView * sub in self.searchBar.subviews)
if ([sub isKindOfClass:NSClassFromString(@"UISearchBarBackground")])
[sub removeFromSuperview];
[sub removeFromSuperview];
}
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation

View file

@ -1,11 +1,3 @@
//
// GuideCell.h
// offlineguides
//
// Created by Kirill on 08/08/2013.
// Copyright (c) 2013 offlineguides. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GuideCell : UITableViewCell

View file

@ -1,11 +1,3 @@
//
// GuideCell.m
// offlineguides
//
// Created by Kirill on 08/08/2013.
// Copyright (c) 2013 offlineguides. All rights reserved.
//
#import "GuideCell.h"
@implementation GuideCell

View file

@ -162,6 +162,6 @@ shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherG
-(BOOL)isImage:(NSString *)pageUrl
{
return (([pageUrl rangeOfString:@".svg"].location != NSNotFound) || ([pageUrl rangeOfString:@".png"].location != NSNotFound) || ([pageUrl rangeOfString:@".jpg"].location != NSNotFound));
return (([pageUrl rangeOfString:@".svg"].location != NSNotFound) || ([pageUrl rangeOfString:@".png"].location != NSNotFound) || ([pageUrl rangeOfString:@".jpg"].location != NSNotFound));
}
@end