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();
    

    โž• Added by protosse in Pull Request #229