filipealva / PickerView

🔸 A customizable alternative to UIPickerView in Swift.
MIT License
527 stars 92 forks source link

Fix in documentation #12

Closed yuravake closed 8 years ago

yuravake commented 8 years ago

Small fix in documentation : "And the title for each row: func pickerView(pickerView: PickerView, titleForRow row: Int, index: Int) -> String { let item = itemsThatYouWantToPresent[row] return item.text } " But we need to use let item = itemsThatYouWantToPresent[index], not row. It is correct in Example project but not in documentation.

filipealva commented 8 years ago

Hello

Well observed! Thank you so much for reporting.

Solved in: #13