nicklockwood / layout

A declarative UI framework for iOS
MIT License
2.23k stars 97 forks source link

Accessing optional array value #156

Open TwunTee opened 5 years ago

TwunTee commented 5 years ago

Similar to the issue #126 I am not able to access the value of a optional array value using {array[0].value}. Gives me the error

Layout error: Attempted to subscript Optional<Array<Comments>> value stylists in text expression in UILabel in UIView in PostCell in post_cell.xml