Drastic.PureLayout
1.0.4
dotnet add package Drastic.PureLayout --version 1.0.4
NuGet\Install-Package Drastic.PureLayout -Version 1.0.4
<PackageReference Include="Drastic.PureLayout" Version="1.0.4" />
paket add Drastic.PureLayout --version 1.0.4
#r "nuget: Drastic.PureLayout, 1.0.4"
// Install Drastic.PureLayout as a Cake Addin #addin nuget:?package=Drastic.PureLayout&version=1.0.4 // Install Drastic.PureLayout as a Cake Tool #tool nuget:?package=Drastic.PureLayout&version=1.0.4
Drastic.PureLayout
Drastic.PureLayout is binding of PureLayout, a layout library for iOS and macOS that enables helper extension methods for handling Auto Layout. While there is an existing binding available with PureLayout.Net, this version contains some new features.
- In addition to the existing iOS and Mac targets, Drastic.PureLayout includes Mac Catalyst and tvOS bindings.
- Drastic.PureLayout removes the legacy Xamarin bindings and replaces them with modern
dotnet
versions. This is a drop-in replacement for the PureLayout.Net versions. Switch out the nuget, replace the namespace, and it should work the same.
Setup
Include the Nuget in your iOS/macOS/tvOS project
Install-Package Drastic.PureLayout
The nuget comes with the PureLayout framework bundled in.
Howto
The documentation for PureLayout.Net also applies to this library. The only difference is the namespace.
Building
To build Drastic.PureLayout
- Clone the repo with
git clone --recursive https://github.com/drasticactions/Drastic.PureLayout.git
- Run
make
in the root directory.
This should compile PureLayout, build the xcframework, and build the binding.
Pack the nuget
Build the project, then run make pack
. This will create the nuget package. The version number is currently contained with src/Directory.Build.Props
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-ios16.0 is compatible. net6.0-maccatalyst15.4 is compatible. net6.0-macos12.3 is compatible. net6.0-tvos16.0 is compatible. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. |
-
net6.0-ios16.0
-
net6.0-maccatalyst15.4
-
net6.0-macos12.3
-
net6.0-tvos16.0
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.4 | 726 | 11/20/2022 |