AutoFlex

0.3.3

A Swift Autolayout Library for iOS & tvOS & macOS.
liam-i/AutoFlex

What's New

Bump version to 0.3.3

2024-03-28T03:57:39Z
  • Fix defining a version-specific Package.swift

AutoFlex

Swift Platforms CocoaPods SPM Carthage License

A Swift Autolayout Library for iOS, tvOS and macOS.

Requirements

  • iOS 12.0+
  • tvOS 12.0+
  • macOS 11.0+
  • Xcode 14.1+
  • Swift 5.7.1+

Swift Package Manager

...using swift build

If you are using the Swift Package Manager, add a dependency to your Package.swift file and import the AutoFlex library into the desired targets:

dependencies: [
    .package(url: "https://github.com/liam-i/AutoFlex.git", from: "0.3.3")
],
targets: [
    .target(
        name: "MyTarget", dependencies: [
            .product(name: "AutoFlex", package: "AutoFlex")
        ])
]

...using Xcode

If you are using Xcode, then you should:

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/liam-i/AutoFlex.git
  • Select "Up to Next Minor" with "0.3.3"

Tip

For detailed tutorials, see: Apple Docs

CocoaPods

If you're using CocoaPods, add this to your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
# Or use CND source
# source 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
use_frameworks!

target 'MyApp' do
  pod 'AutoFlex', '~> 0.3.3'
end

And run pod install.

Important

CocoaPods 1.14.3 or newer is required.

Carthage

If you're using Carthage, add this to your Cartfile:

github "liam-i/AutoFlex" ~> 0.3.3

And run carthage update --platform iOS --use-xcframeworks.

Example

To run the example project, first clone the repo, then cd to the root directory and run pod install. Then open AutoFlex.xcworkspace in Xcode.

License

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

Description

  • Swift Tools 5.7.1
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Apr 24 2024 06:42:24 GMT-0900 (Hawaii-Aleutian Daylight Time)