[iOS]code style fix
This commit is contained in:
parent
75ebb768af
commit
26cf08a6c5
4 changed files with 2 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue