You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some people reach me out reporting about some properties which aren't working when PickerView is implemented in an Objective-C project.
The known properties with issues:
scrollingStyle: When its set to .Infinite, or rawValue 1, it causes a crash.
selectionStyle: Not working.
currentSelectedRow: Usually it sets a initial selected value to PickerView but its not appearing as a public property when exposed to Objective-C (even if it is declared as public in PickerView).
Unfortunately I can't fix this right now, so I'm opening this issue as a [help-wanted].
If you can help, please interact here and/or submit a pull request.
Thanks.
The text was updated successfully, but these errors were encountered:
Optional values of non-Objective-C types aren't bridged into Objective-C. So for currentSelectedRow change it from Int! to NSNumber and convert the object to its intValue. This should fix the inaccessible variable.
In your case, you can either convert lat and long to be non-Optional or switch them to be instances of NSNumber
filipealva
changed the title
Some properties are not working when using from Objective-C project.
[BUG] Some properties are not working when using from Objective-C project.
Oct 23, 2018
filipealva
changed the title
[BUG] Some properties are not working when using from Objective-C project.
[IMPROVEMENT] Some properties are not working when using from Objective-C project.
Oct 23, 2018
Some people reach me out reporting about some properties which aren't working when
PickerView
is implemented in an Objective-C project.The known properties with issues:
scrollingStyle
: When its set to.Infinite
, or rawValue1
, it causes a crash.selectionStyle
: Not working.currentSelectedRow
: Usually it sets a initial selected value toPickerView
but its not appearing as a public property when exposed to Objective-C (even if it is declared aspublic
inPickerView
).Unfortunately I can't fix this right now, so I'm opening this issue as a
[help-wanted]
.If you can help, please interact here and/or submit a pull request.
Thanks.
The text was updated successfully, but these errors were encountered: