我不想使用@objc。有没有一个纯粹快速的解决方案来解决这个问题?
public protocol Dequeable {
@available(iOS, deprecated: 10.0, obsoleted: 11.0, message: "Because ! Use 'hasXib' instead.") // errors here
func register(cellType: DequeableComponentIdentifiable.Type, hasNib: Bool)
func register(cellType: DequeableComponentIdentifiable.Type, hasXib: Bool)
}
Run Code Online (Sandbox Code Playgroud)