Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sampettersson/placement
- Owner: sampettersson
- License: mit
- Created: 2022-09-16T09:23:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T21:15:42.000Z (3 months ago)
- Last Synced: 2024-12-23T03:06:38.013Z (3 days ago)
- Topics: layout, swiftui
- Language: Swift
- Homepage:
- Size: 5.09 MB
- Stars: 102
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```