PinLayout v1.10.0 Release Notes
-
๐ Released on 2021-05-18
๐ New Objective-C interface
Instead of using verbose Objective-C with all brackets (
[ ]
):[[[[[[logo.pinObjc top] left] width:100] aspectRatio] marginWithTop:topLayoutGuide + 10 horizontal:10 bottom:10] layout];
It now use a function chaining:
logo.pinObjc.topInsets(safeArea).leftInsets(safeArea).width(100).aspectRatio().margin(margin).layout();