EPShapes
Create shapes(Polygons, Stars, Hearts, Arrows) in Interface builder using IBInspectable and IBDesignable
Features
- Design shapes in interface builder using IBInspectable and IBDesignable Protocols
- UIBezierPath extensions that can easily draw polygons, stars, arrows and hearts
- Designable classes that can be used with custom views
- Support for creating programmatically
- Scale shapes
- Apply extrusions for stars to generate different star shapes
- Create stars with n number of corners
- Equilateral Polygon UIViews/UIImageViews/UIButtons with 'n' number of sides can be designed directly from IB/ Storyboards
Screenshots
Installation
CocoaPods
EPShapes is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "EPShapes"
Carthage
To integrate EPShapes into your Xcode project using Carthage, specify it in your Cartfile:
github "ipraba/EPShapes"
Manual Installation
Just drag and drop the files in Pod/Classes
folder into your project
License
EPShapes is available under the MIT license. See the LICENSE file for more info.