Create polygons, stars, hearts, and arrows directly in Xcode's Interface Builder using IBInspectable and IBDesignable.
EPShapes is a Swift library for iOS that allows developers to create and customize shapes like polygons, stars, hearts, and arrows directly within Xcode's Interface Builder. It solves the problem of manually coding complex UIBezierPaths by providing visual design tools and live previews, streamlining the UI development process.
iOS developers and UI designers working with UIKit who want to quickly prototype or implement custom-shaped UI elements without writing extensive drawing code.
Developers choose EPShapes for its seamless integration with Interface Builder, offering real-time visual feedback and eliminating the back-and-forth between code and design, which accelerates UI development and ensures consistency.
Design shapes in Interface Builder
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
IBInspectable properties allow direct shape customization in storyboards with live IBDesignable previews, eliminating code changes for adjustments, as shown in the GIF screenshots.
Includes ready-to-use shapes like polygons, stars, hearts, and arrows with customizable properties such as number of sides and extrusions, detailed in the README features.
Supports both Interface Builder design and programmatic creation via UIBezierPath extensions, offering flexibility for different workflows, as stated in the Key Features.
Available through CocoaPods, Carthage, and manual installation, making integration straightforward for iOS projects, per the installation section.
The README badges indicate support only for Swift 3.0, which is several versions behind current Swift, potentially leading to compatibility issues or lack of maintenance.
Focuses on predefined shapes; creating entirely new shape types requires manual UIBezierPath coding, reducing benefits for advanced custom designs not covered in the features.
Heavy reliance on IBDesignable and IBInspectable, which can be unstable in large projects or with alternative tools, a common critique in iOS development not addressed in the README.