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.
- Host: GitHub
- URL: https://github.com/rightpoint/swiftilities
- Owner: Rightpoint
- License: other
- Created: 2016-02-05T21:17:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T23:08:40.000Z (almost 4 years ago)
- Last Synced: 2025-04-03T20:45:44.524Z (about 1 year ago)
- Language: Swift
- Size: 3.04 MB
- Stars: 183
- Watchers: 9
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Swiftilities
[](https://swift.org)
[](https://circleci.com/gh/Rightpoint/Swiftilities/tree/master)
[](https://cocoapods.org/pods/Swiftilities)
[](https://cocoapods.org/pods/Swiftilities)
[](https://cocoapods.org/pods/Swiftilities)
[](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.