/EPShapes

Design shapes in Interface Builder

Primary LanguageSwiftMIT LicenseMIT

EPShapes

EPShapes

Create shapes(Polygons, Stars, Hearts, Arrows) in Interface builder using IBInspectable and IBDesignable

CI Status Swift 3.0 Version License Platform Carthage compatible Twitter: @HaveYouMetPrabu

Features

  1. Design shapes in interface builder using IBInspectable and IBDesignable Protocols
  2. UIBezierPath extensions that can easily draw polygons, stars, arrows and hearts
  3. Designable classes that can be used with custom views
  4. Support for creating programmatically
  5. Scale shapes
  6. Apply extrusions for stars to generate different star shapes
  7. Create stars with n number of corners
  8. Equilateral Polygon UIViews/UIImageViews/UIButtons with 'n' number of sides can be designed directly from IB/ Storyboards

Screenshots

Polygon Star Heart Arrow

Installation

EPShapes is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "EPShapes"

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.