SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
MIT License
18.05k stars 3.14k forks source link

Xcode Warning Parameter of overriding method should be annotated with __attribute__((noescape)) #564

Open cadaverousblue opened 5 years ago

cadaverousblue commented 5 years ago

New Issue Checklist

🚫 If this template is not filled out your issue will be closed with no comment. 🚫

Issue Info

Info Value
Platform ios
Platform Version 12.0
Masonry Version 1.1.0
Integration Method cocoapods

Issue Description

warning show: Parameter of overriding method should be annotated with attribute((noescape)) Please solve it, thanks

imWalsh commented 5 years ago

(void(NS_NOESCAPE ^)(MASConstraintMaker *make))block

mengqutaoyuan commented 1 year ago

Hope to fix this warning soon