- HTHighlightedShapeView - Add a highlight effect to arbitrary UIBezierPaths
- HTRadialGradientView - Highly customizable radial gradient view
- HTShapeView - UIView wrapper around CAShapeLayer
- HTGraphicsUtilities.h contains useful functions like:
HTPointAtAngleAndDistanceFromPoint(CGPoint fromPoint, CGFloat angle, CGFloat distance)
HTCenterSizeInRect(CGSize size, CGRect rect)
HTSizeInset(CGSize size, CGFloat xInset, CGFloat yInset)
HTSizeEdgeInset(CGSize size, UIEdgeInsets edgeInsets)
HTSizeScale(CGSize size, CGFloat scale)
HTRectGrowSide(CGRect rect, CGRectEdge edge, CGFloat distance)
HTHighlightedShapeView and HTRadialGradientView can be rasterized using HTRasterView.
See demo in https://github.com/hoteltonight/HTKit
The recommended installation method is cocoapods. Add this line to your Podfile:
pod 'HTGraphics'
HTRasterView is a dependency for those who don't cocoapods.
Tweet the authors @jakejennings, @raylillywhite and @jonsibs, and check out HotelTonight's engineering blog: http://engineering.hoteltonight.com
Also, check out HotelTonight's other iOS open source: