I just create a new class in Swift, it's called myViewController
and it's a UIViewController
.
Now I'm trying to make it a UIPickerViewDelegate and DataSource but i got a strange error
import UIKit
class myViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource {
...
}
It says Type "myViewController" does not conform to protocol UIPIckerDataSource
over the UIPickerViewDataSource.
Is it a bug of Xcode-Beta 3??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…