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 masonry protocolbuffer工程不兼容 #542

Open huhaharui opened 5 years ago

huhaharui commented 5 years ago

massory 在xcode 10 以后更新约束无法响应,点击方法发现 警告: Parameter of overriding method should be annotated with attribute((noescape))

请问如何解决?

huhaharui commented 5 years ago

Parameter of overriding method should be annotated with attribute((noescape))

lionnner commented 5 years ago

podfile 里面的 platform :ios, '9.0' 不要注释 就没警告了

hasakey commented 5 years ago

在.m里加上noescape 就没有警告了