Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sampettersson/placement

Layout protocol & ViewThatFits backport for iOS 14-15
https://github.com/sampettersson/placement

layout swiftui

Last synced: 3 days ago
JSON representation

Layout protocol & ViewThatFits backport for iOS 14-15

Awesome Lists containing this project

README

        

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](https://placement.sampettersson.com/)

## Installation

#### [Swift Package Manager](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app)

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

#### [Carthage](https://github.com/Carthage/Carthage)

```shell
github "sampettersson/Placement" >= VERSION
```

#### [Cocoa Pods](https://github.com/CocoaPods/CocoaPods)

```ruby
platform :ios, '9.0'
use_frameworks!

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