AhmedNasserSh / SmoothPicker

MIT License
45 stars 8 forks source link

Does not seem to be available cocoa pods #1

Open ferdinandl007 opened 5 years ago

ferdinandl007 commented 5 years ago

!] Unable to find a specification for SmoothPicker

AhmedNasserSh commented 5 years ago

I think you need to run pod repo update

Raihan-iOS commented 5 years ago

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

omarojo commented 5 years ago

@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 { ...