[ASLayout] General Layout Cleanup (#2920)

* Remove duplicate import

* Move `ASLayoutController` related code out of CoreGraphics+ASConvenience

* Further cleanup

* Move private layout files to Privat/Layout

* Move ASLayoutElementStylePrivate into Private/Layout

* Further cleanup

* Move tvOS related files to tvOS folder

* Further cleanup
This commit is contained in:
Michael Schneider
2017-01-24 11:54:05 -08:00
committed by GitHub
parent 9a5f6d3ece
commit d9be4783e5
43 changed files with 229 additions and 199 deletions

View File

@@ -18,14 +18,20 @@ NS_ASSUME_NONNULL_BEGIN
@class ASCellNode;
ASDISPLAYNODE_EXTERN_C_BEGIN
typedef struct {
CGFloat leadingBufferScreenfuls;
CGFloat trailingBufferScreenfuls;
} ASRangeTuningParameters;
FOUNDATION_EXPORT ASRangeTuningParameters const ASRangeTuningParametersZero;
struct ASDirectionalScreenfulBuffer {
CGFloat positiveDirection; // Positive relative to iOS Core Animation layer coordinate space.
CGFloat negativeDirection;
};
typedef struct ASDirectionalScreenfulBuffer ASDirectionalScreenfulBuffer;
FOUNDATION_EXPORT BOOL ASRangeTuningParametersEqualToRangeTuningParameters(ASRangeTuningParameters lhs, ASRangeTuningParameters rhs);
ASDISPLAYNODE_EXTERN_C_END
@protocol ASLayoutController <NSObject>