草庐IT

XLFormDescriptorCell

全部标签

swift - 在 Swift 中解析问题/预期 CGFloat 的类型

我添加了XLForm,一个ObjectiveC库,添加到我使用Xcode6beta6的Swift项目。编译器在XLFormDescriptorCell.h中协议(protocol)定义的方法原型(prototype)上出错#import...@protocolXLFormDescriptorCell...@optional+(CGFloat)formDescriptorCellHeightForRowDescriptor:(XLFormRowDescriptor*)rowDescriptor;^ParseIssue/Expectedatype另外一个警告:“语义问题:‘forDescr