AhmedNasserSh/SmoothPicker

Does not seem to be available cocoa pods

ferdinandl007 opened this issue · 3 comments

!] Unable to find a specification for SmoothPicker

I think you need to run pod repo update

Code Line
let firstItemWidth = (dataSource?.itemForIndex(index: 0, pickerView: self).frame.size.width)!

Got 'Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)' Error

@Raihan-iOS are you assigning the delegates and datasource ?
yourPickerView.dataSource = self
yourPickerView.delegate = self

and ofcourse conform to those delegates
class ViewController: UIViewController,SmoothPickerViewDelegate,SmoothPickerViewDataSource { ...