An open API service indexing awesome lists of open source software.

https://github.com/rightpoint/swiftilities

A collection of useful Swift utilities.
https://github.com/rightpoint/swiftilities

Last synced: about 1 year ago
JSON representation

A collection of useful Swift utilities.

Awesome Lists containing this project

README

          

# Swiftilities

[![Swift 4.2, 5.1](https://img.shields.io/badge/Swift-4.2,%205.1-orange.svg?style=flat)](https://swift.org)
[![CircleCI](https://img.shields.io/circleci/project/github/Rightpoint/Swiftilities.svg)](https://circleci.com/gh/Rightpoint/Swiftilities/tree/master)
[![Version](https://img.shields.io/cocoapods/v/Swiftilities.svg?style=flat)](https://cocoapods.org/pods/Swiftilities)
[![License](https://img.shields.io/cocoapods/l/Swiftilities.svg?style=flat)](https://cocoapods.org/pods/Swiftilities)
[![Platform](https://img.shields.io/cocoapods/p/Swiftilities.svg?style=flat)](https://cocoapods.org/pods/Swiftilities)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

## What's Inside?

- AboutView
- AccessibilityHelpers
- [Acknowledgements](Pod/Classes/Acknowledgements/README.md) - Simple solution for adding acknowledgement section with pod licenses.
- BetterButton
- ColorHelpers
- Compatibility
- CoreDataStack
- Deselection
- DeviceSize
- FormattedTextField
- Forms
- [HairlineView](Pod/Classes/HairlineView/README.md) - A horizontal or vertical hairline view
- ImageHelpers
- Keyboard
- LicenseFormatter
- [Lifecycle](Pod/Classes/Lifecycle/readme.md) - Declaratively customize your app's behavior and look/feel
- [Logging](Pod/Classes/Logging/README.md) - Log events by priority
- Math
- RootViewController
- Shapes
- StackViewHelpers
- TableViewHelpers
- [TintedButton](Pod/Classes/TintedButton/README.md) - UIButton with border and default highlighting
- Views:
- [GradientView](Pod/Classes/Views/Gradient/README.md) - UIView containing a color gradient.
- [Text Views](Pod/Classes/Views/Textview/README.md) - UITextViews that can present placeholder text or expand height to accommodate content.

## Usage

To run the example project, clone the repo, and run `pod install` from the Example directory first.

### Adding A New Subspec
1. Create a new directory within the Classes folder (or Assets, if required)
2. Add the new files to the directory created in step 1
3. Add a subspec to the Swiftilities.podspec following this pattern:
```ruby
#

s.subspec "" do |ss|
ss.source_files = "Pod/Classes//*.swift"
ss.frameworks = [""]
end
```
4. Append an `ss.dependency` to `s.subspec` within the podspec file with the following format:

```ruby
ss.dependency 'Swiftilities/'
```

5. Navigate to the example project directory and run `bundle exec pod update`

## Requirements

## Installation

Swiftilities is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "Swiftilities"
```

## Author

Rightpoint, opensource@rightpoint.com

## Code of Conduct
Please read our contribution [Code of Conduct](./CONTRIBUTING.md).

## License

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