Swiftpack.co - Package - Rightpoint/Swiftilities

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: 174

Dependencies

Used By

Total: 0

Releases

Version 0.26.0 -

New Features:

  • Add Swift Package Manager support #177

Misc:

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

-

See all commits since 0.25.0.

Bug Fixes

  • Added toggle, for debug purposes, that logs the content offset of the Hairline Fade's scrollview. (#175, @needhamwoodj)

-

See all commits since 0.24.0.

Bug Fixes

  • Make HairlineView redraw on bounds change. Fixes issue where it was sometimes clear. (#172, @ZevEisenberg)

-

See all commits since 0.23.0.

New Features

  • Made index path utilities public (they were accidentally internal). (#170, @ZevEisenberg)
  • Make index path utilities usable without a table view. (#170, @ZevEisenberg)

Bug Fixes

  • Fix crash in NavBarHairlineFadeBehavior. (#137, @KingOfBrian)

Other Fixes

  • Update gems and pods in example project. (#170, @ZevEisenberg)
  • Clean up projects. (#163, @armcknight)
  • Clean up docs. (#168, #169, @armcknight)

Version 0.23.0 -

See all commits since 0.22.1.

  • TintedButton docs and screenshots #164
  • Add logging documentation #165
  • Swift 5 #167

Version 0.22.1 -

Version 0.22.0 -

See all commits since 0.22.1.

Breaking Changes

New Features

Version 0.21.1 -

See all commits since 0.21.0.

  • Fix Swift 4.2 warnings #151
  • Resolves Swift 5 compatibility issue #155
  • Republish podspec using CocoaPods 1.6 #157

0.21.0 -

See all commits since 0.20.0.

Breaking Changes

  • Change in Better Button .custom API

New Features

  • Update Cocoapods to 1.7.0.beta.3
  • Better Button support for any UIControl.State with change in Better Button .custom API
  • Typo Fixes
  • Updated Documentation

-

See all commits since 0.19.0.

Breaking Changes

  • Drop Xcode 9 support

New Features

  • Full Xcode 10 and Swift 4.2 support

Bug Fixes

  • Fix keyboard avoidance animation curve crash

0.19.0 -

See all commits since 0.18.0.

Breaking Changes

New Features

  • Xcode 10 support (#138, @chrisballinger)
  • The Math subspec now works on all of Apple's platforms, not just iOS. (#139, @ZevEisenberg)

0.13.0 -

0.14.0 -

0.15.0 -

0.16.0 -

0.17.0 -

See all commits since 0.16.0.

Breaking changes

  • Drop Swift 3.x support.

New Features

  • Add Swift 4.0 support.

0.12.0 -

See all commits since 0.11.0

New Features

  • Added logging handler so you can pass the output of the Swiftilities logger to crash reporters and their kin. (#112 via #113, @ZevEisenberg)

Other changes

  • Update source code to use SwiftLint 0.18.0
  • Trivial code changes and cleanup

0.11.0 -

New Features

  • Adds AboutView, née RZAbout - (@ateliercw, @ZevEisenberg, #107)

Lifecycle Observation -

New Features

Fixes

  • Fixed memory leak in RootViewController where the previous root view controller wouldn't be deallocated if it was modally presenting a view controller - ( @ZevEisenberg , @zadr, @ateliercw)

Valid Validators -

New Features

  • Refactored and expanded validators ( @ZevEisenberg / @nevillco )

Updates

  • Reduced compile times by optimizing slowest to compile functions ( @ateliercw )
  • Added margins to AcknowledgementViewController ( @atwoodjw / @ateliercw)

A Sense of Scale -

New Features

  • Added DeviceSize, with tools for scaling CGFloat and CGSize based on screen size

Updates

  • Updated Math helpers to follow Swift 3 naming conventions

Credit Where Credit is Due -

New Features

  • Added LicenseFormatter and Acknowledgements subspecs to make it easier to display Acknowledgements of dependancies used
  • Started linting code with SwiftLint

All the things! -

New Features

  • iTunes store style tinted button
  • Accessibility Helpers
  • Hairline View
  • Hexadecimal UIColor helpers
  • UIStackView helpers

⚠️Emoji Logging⁉️ -

  • Replaced colored log statements with emoji because Xcode 8 no longer supporting the Xcode Colors plugin

Access Control -

  • Updated Badging in Readme.md
  • Made Keyboard class public to allow of custom keyboard observations / #24
  • Made all extensions on Apple Objective-C classes @nonobjc to prevent namespace collisions

Better Layout Guides -

  • Fixed #24, views should now lay out properly before any animations due to the keyboard layout guide are applied.

Cleaning House -

Breaking Changes

  • Swift 3.0 support

New

  • Testing and deployment via CI
  • Field Validation
  • View Lookup
  • Minor updates and changes throughout