• Stars
    star
    387
  • Rank 110,971 (Top 3 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Design shapes in Interface Builder

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

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.