Swiftpack.co - faberNovel/ADAssertLayout as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by faberNovel.
faberNovel/ADAssertLayout v1.0.1
Set of helpers to make layout assertions on UIView
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/faberNovel/ADAssertLayout.git", from: "v1.0.1")

ADAssertLayout

Version License Platform

ADAssertLayout is a set of helpers to make layout assertions on UIView. The project is a Swift port of LinkedIn library LayoutTest-iOS.

Features

  • ☑ Assert a view is within the bounds of its superview
  • ☑ Assert two siblings views are not overlaping
  • ☑ Assert a view has no ambiguous layout
  • ☑ Assert a view is before / after / above / below another view
  • ☑ Assert a view is aligned with another view

Requirements

  • iOS 9.0+
  • Swift 5.1

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate ADAssertLayout into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'ADAssertLayout'
end

Then, run the following command:

$ pod install

Communication

  • If you need help, use Twitter.
  • If you'd like to ask a general question, use Twitter.
  • If you'd like to apply for a job, visit https://careers.fabernovel.com/.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Credits

ADAssertLayout is owned and maintained by Fabernovel. You can follow us on Twitter at @Fabernovel.

License

ADAssertLayout is released under the MIT license. See LICENSE for details.

GitHub

link
Stars: 0
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v1.0.1
1 year ago

Fixed

  • Add SPM support

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