Latest 0.1.0
Homepage https://github.com/applidium/ADAssertLayout
License MIT
Platforms ios 9.0
Frameworks UIKit

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

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

Requirements

  • iOS 9.0+
  • Swift 4.2

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, email us.
  • 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.

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

Credits

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

License

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

Latest podspec

{
    "name": "ADAssertLayout",
    "version": "0.1.0",
    "summary": "UIView helpers to make assertions on layout.",
    "homepage": "https://github.com/applidium/ADAssertLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Pierre Felgines",
    "source": {
        "git": "https://github.com/applidium/ADAssertLayout.git",
        "tag": "v0.1.0"
    },
    "swift_version": "4.2",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "ADAssertLayout/Classes/**/*",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This