-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the title of REPickerItem can be changed? #248
Comments
are you using swift? |
Yes, I'm using swift. |
I'm using swift also and i'm not able to use the REPickerItem. If you're able to put in data and it doesn't crash I would love some sample code. It's the last piece of my app im trying to add. @erinvilair |
OK, here's the sample code: And in viewDidLoad:
|
Oh, by the way, the infoOptions is: |
Yea mines is crashing in the RETableViewPickerCell file:
THIS LINE--->>> return [[self.item.options objectAtIndex:component] count]; } Error: unrecognized selector sent to instance 0x155837650 Idk what i'm doing wrong I would love if I you can possibly help me with it via: email or text if possible. |
Sorry man, but it seems not many relative APIs about RETableViewPickerCell given by the author. I haven't use it as well. Can you use REPickerItem instead of RETableViewPickerCell to fulfill your require? |
Same issue here. Crashing on the same line. Any solution yet? |
@thankmelater23 The format for the picker should be and array of arrays. The first array is the different components of the picker with sub array of items.
|
I declared a REPickerItem : var infoItemLeftUp: REPickerItem!
Then I do some initialization work of the REPickerItem.
Then I change the title of the REPickerItem with: self.infoItemLeftUp.title = updatedLeftUpTitleString
But the title did't change. Can't the title of REPickerItem be changed? Or I should change the title with another method?
The text was updated successfully, but these errors were encountered: