Paul Zabelin

3pods

ImageCoordinateSpace

Convert CGPoint and CGRect between UIImage and UIImageView coordinates respecting UIViewContentMode and using UICoordinateSpace

License: MIT

  • Swift

OutputTo

Returns string containing output captured during execution of a block. Typical use to assert log output made by code under the test. Could be used in production code. Works with printf(), NSLog() and other loggers. Can capture output to stdout or stderr streams.

License: MIT

  • Objective C

swizzleCfunction

Substitute C function with your own implementation temporarily. Useful for testing code that calls C Language functions. This allows to provide fake implementations that take effect only while running a block of code under test. Uses on https://cocoapods.org/pods/fishhook - a very simple library that enables dynamically rebinding symbols in Mach-O binaries running on iOS in the simulator and on device.

License: MIT

  • Objective C