有的可以,有的不可以。如图? SnapKit 不导入就不可以,我们自己写的类HZPerson就可以。 转载于:https://juejin.im/post/5b4720205188251b11095da2