Swiftpack.co - sampettersson/Placement as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by sampettersson.
sampettersson/Placement 1.6.0
Layout protocol & ViewThatFits backport for iOS 14-15
⭐️ 94
🕓 24 weeks ago
iOS
.package(url: "https://github.com/sampettersson/Placement.git", from: "1.6.0")

A polyfill for the new Layout protocol from iOS 16. Supports iOS 14 and above, on iOS 16 Placement favors the built in Layout protocol and uses that instead of Placements own layouter.

Documentation

You can find the documentation at placement.sampettersson.com

Installation

Swift Package Manager

https://github.com/sampettersson/Placement.git

Carthage

github "sampettersson/Placement" >= VERSION

Cocoa Pods

platform :ios, '9.0'
use_frameworks!

target 'Your App Target' do
  pod 'Placement', '~> VERSION'
end

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