PowerUpSwift

Overview

Apple doesn’t provide some basic useful utilities to make our iOS Development lives a little easier. This might be for a reason, such as keeping the platform lightweight. It sometimes requires extra time and effort to implement a simple basic feature that you can easily do in Android built-in, so you end up doing a couple more hacks. This library was created to save time, to be more productive, and to be DRY (Don’t Repeat Yourself).

Usage

The documentation reference can be found here.

Inteface Builder

Just set PUButton as the custom class and see the magic! You’ll be able to edit directly on the Interface Builder the corner radius, border width, border color, shadow radius, shadow opacity, shadow offset, shadow color, and etc. This applies to other views and controls such as PUView, PUImageView and many more.

PowerUpSwift

Code

Import into the file as needed.

import PowerUpSwift

PowerUpSwift Code Screenshot

Now you can reduce the bulky Utilities folder that’s filling up your source code.

Installation

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

pod 'PowerUpSwift'

Migration

If you were using an old version of PowerUpSwift and want to bump to the latest one, make sure to check out MIGRATION.md.

Contribute

You are encouraged to help out. See CONTRIBUTING.md.

Support

GitHub Stars GitHub Forks GitHub Watchers

Author

Follow on GitHub Follow on Facebook Follow on Instagram Follow on Twitter

License

PowerUpSwift is available under the MIT license. See the LICENSE file for more info.