Skip to content

Commit

Permalink
Fix compiling ASDimension if Yoga enabled (#389)
Browse files Browse the repository at this point in the history
Exposes the <UIKit/UIGeometry.h> otherwise under some circumstances UIEdgeInsets is not defined.
  • Loading branch information
maicki committed Jun 26, 2017
1 parent b14ea8b commit f257193
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions Source/Layout/ASDimension.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
//

#pragma once
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIGeometry.h>
#import <AsyncDisplayKit/ASAvailability.h>
#import <AsyncDisplayKit/ASBaseDefines.h>
#import <AsyncDisplayKit/ASAssert.h>
Expand Down
2 changes: 0 additions & 2 deletions Source/Layout/ASDimension.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#import <AsyncDisplayKit/ASDimension.h>

#import <UIKit/UIGeometry.h>

#import <AsyncDisplayKit/CoreGraphics+ASConvenience.h>

#import <AsyncDisplayKit/ASAssert.h>
Expand Down

0 comments on commit f257193

Please sign in to comment.