Swiftpack.co - Rightpoint/Swiftilities as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Rightpoint.
Rightpoint/Swiftilities 0.26.0
A collection of useful Swift utilities.
⭐️ 177
🕓 3 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/Rightpoint/Swiftilities.git", from: "0.26.0")

Swiftilities

Swift 4.2, 5.1 CircleCI Version License Platform Carthage compatible

What's Inside?

  • AboutView
  • AccessibilityHelpers
  • Acknowledgements - Simple solution for adding acknowledgement section with pod licenses.
  • BetterButton
  • ColorHelpers
  • Compatibility
  • CoreDataStack
  • Deselection
  • DeviceSize
  • FormattedTextField
  • Forms
  • HairlineView - A horizontal or vertical hairline view
  • ImageHelpers
  • Keyboard
  • LicenseFormatter
  • Lifecycle - Declaratively customize your app's behavior and look/feel
  • Logging - Log events by priority
  • Math
  • RootViewController
  • Shapes
  • StackViewHelpers
  • TableViewHelpers
  • TintedButton - UIButton with border and default highlighting
  • Views:
  • GradientView - UIView containing a color gradient.
  • Text Views - 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:

    # <Your Subspec Name>
    
    s.subspec "<Your Subspec Name>" do |ss|
    	ss.source_files = "Pod/Classes/<Your Subspec Name>/*.swift"
    	ss.frameworks   = ["<Any Required Modules>"]
    end
    
  4. Append an ss.dependency to s.subspec within the podspec file with the following format:

    ss.dependency 'Swiftilities/<Your Subspec Name>'
    
  5. Navigate to the example project directory and run bundle exec pod update

Requirements

Installation

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

pod "Swiftilities"

Author

Rightpoint, opensource@rightpoint.com

Code of Conduct

Please read our contribution Code of Conduct.

License

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

GitHub

link
Stars: 177
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

Version 0.26.0
1 year ago

New Features:

  • Add Swift Package Manager support #177

Misc:

  • Use Xcode 12 on CI #179
  • Add Swift 5.1 to badge #171

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics