Drastic.PureLayout 1.0.4

dotnet add package Drastic.PureLayout --version 1.0.4
NuGet\Install-Package Drastic.PureLayout -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Drastic.PureLayout" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Drastic.PureLayout --version 1.0.4
#r "nuget: Drastic.PureLayout, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

NuGet Version License

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 382 11/20/2022