Has anyone come up with a solution for the missing Picker control in iOS builds? I’m currently considering using a Table and making it as tall as the section title and one row, but that feels too kludgy.
BTW - is there a feature request for the Picker and Data Picker controls?
I looked at the picker and as a workaround, I would try using a table, and fading out the text color up and down. It would not have the wheel effect of text seen in perspective distortion, but it could be close enough. That said, using iOSCellData, one could paint the text that way, or compress it.
If I have time, I will try doing it.
Unless one of our declare guru can come up with the native picker, of course
That bit of work from @jim mckay has just introduced me to some new points of frustration - no more “rnd”, ValueforKey has disappeared from the Dictionary class, and odd errors when assigning width values to controls via code.
Jim, if you’re around, have you tested that project in 14r3 release?
I’m still running on Mediterranean time, or I’d have shut this all off hours ago
– in fact, I believe it’s time for a bit of Destiny!
WOW… while in my opinion a UITABLEVIEW is one of the more difficult controls to deal with in ObjC/Swift, a Picker is less complex, and a DatePicker is even simpler, yet these are not implemented yet? I also noticed that ProgressWheel is implemented only as SMALL, and didn’t even bother to extend it to be in color (trivial to do by the way)… Haven’t explored all of it yet, but now am wondering what else is missing? or not fully implemented
Actually, Norman says that Pickers have some tricky elements to them.
There’s a LOT of items that are not yet implemented. We have a basic set of controls so far. They have promised to add more with each release. I think the point was to get it out sooner with fewer controls rather than later with everything. Not a bad approach because a lot of apps can be built with the control set available.
We both know a ProgressWheel is relatively easy to create. I have done so during the beta stage. But indeed it is strange that when the native control allows bigger size, the Xojo implementation be so limited.
Is there a way to create a library of these somewhere? I know some other folks had worked on declare based controls as well. Until Xojo comes out with “real” controls, these are what we are left with. It would just be nice to have one place where we can go to post and download controls like this… Do the forums allow for this?