Skip to content

Commit 6d7093e

Browse files
committed
Fixed warnings.
1 parent 986600d commit 6d7093e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

AnyWall-iOS/AnyWall/PAWPost.m

-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
4040
}
4141

4242
- (instancetype)initWithPFObject:(PFObject *)object {
43-
[object fetchIfNeeded];
44-
4543
PFGeoPoint *geoPoint = object[PAWParsePostLocationKey];
4644
CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake(geoPoint.latitude, geoPoint.longitude);
4745
NSString *title = object[PAWParsePostTextKey];

AnyWall-iOS/AnyWall/PAWWallPostsTableViewController.h

+2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
//
77

88
#import <UIKit/UIKit.h>
9+
910
#import <Parse/Parse.h>
11+
#import <ParseUI/ParseUI.h>
1012

1113
#import "PAWWallViewController.h"
1214

AnyWall-iOS/AnyWall/PAWWallViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatu
305305
NSLog(@"kCLAuthorizationStatusRestricted");
306306
}
307307
break;
308+
default:break;
308309
}
309310
}
310311

0 commit comments

Comments
 (0)