Joe
Joe

Reputation: 87

UIPickerView Datasource & Delegate: ERROR

I'm not sure why this happen?.

Because in other projects, with the same lines, it worked perfectly.


enter image description here


Upvotes: 0

Views: 73

Answers (1)

Ashish Kakkad
Ashish Kakkad

Reputation: 23902

Check your @IBOutLet it's named market

Just change the name with

self.market.datasource = self
self.market.delegate = self

Check the declaration name of UIPickerView.

Upvotes: 1

Related Questions