Skip to content

Provides assert function that check autolayout error in Swift

License

Notifications You must be signed in to change notification settings

tarunon/XCTAssertAutolayout

Repository files navigation

XCTAssertAutolayout

Build Status Carthage compatible pod

Provides autolayout test cases for Swift.

Found ambiguous layout from hooked UIViewAlertForUnsatisfiableConstraints.

Requirement

  • This function doesn't work on real device. Should run on iPhone Simulator.

Support version

iOS 9.0~ Swift 4.2~

Instration

Carthage

github "tarunon/XCTAssertAutolayout"

CocoaPods

Write it below Pods for testing.

pod 'XCTAssertAutolayout'