Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
Fix Xcode 8.3 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Federman committed Mar 28, 2017
1 parent 0293e6d commit f6d79e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Classes/Editor/DZNPhotoEditorViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#import "DZNPhotoEditorViewController.h"

#define DZN_IS_IPAD [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad
#define DZN_IS_IOS8 [[UIDevice currentDevice].systemVersion floatValue] > 8.0
#define DZN_IS_IPAD ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
#define DZN_IS_IOS8 ([[UIDevice currentDevice].systemVersion floatValue] > 8.0)

typedef NS_ENUM(NSInteger, DZNPhotoAspect) {
DZNPhotoAspectUnknown,
Expand Down

0 comments on commit f6d79e4

Please sign in to comment.