agens-no / AGGeometryKit

Quadrilaterals on CALayer, CGGeometry-functions, UIView/CALayer properties and other invaluable tools.
Other
1.27k stars 130 forks source link

Adding subspec for frame accessor #24

Closed langtind closed 10 years ago

langtind commented 10 years ago

Makes it easy to use the excellent frame accessors that you have provided in AGGeometryKit, even when you don't need the full kit.

hfossli commented 10 years ago

CGGeometry+AGGeometryKit.m imports numerous other files.

#import "CGGeometry+AGGeometryKit.h"
#import <QuartzCore/QuartzCore.h>
#import "GLKit/GLKMatrix3.h"
#import "GLKit/GLKVector3.h"
#import "AGKMath.h"
#import "pthread.h"

I'm guessing this won't be entirely independent.

UIKit is also missing as framework.

hfossli commented 10 years ago

This is part of the reason I haven't created subspecs. It should be fairly simple to write "UIView+AGK+Properties.m" to be without any other imports.

langtind commented 10 years ago

I agree. I'm withdrawing this pull request.