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

instance method conflicts with same method from another category 警告 #586

Open RenShengBaiTai opened 4 years ago

RenShengBaiTai commented 4 years ago

产生原因:

主要是Masonry里View+MASShorthandAdditions,以及NSArray+MASShorthandAdditions,这两个类别,把方法声明和实现都写到.h,文件了,在xcode11里这么写会造成项目中多个target或者framework库以及.a库 引入 Masonry时产生大量  instance method  conflicts with same method from another category 警告