Flexgrid was working great but I had some memory issues when loading a lot of pictures.
The big advantage of ARiOSMobileCollectionView is the use of a datasource. Only the visible controls are loaded, scrolling is handled automatically and many features wouldn’t be available without declares.
Here’s an example of ARiOSMobileCollectionView in Packr app
ARiOSMobileCollectionView looks powerful too; I saw that recently, too. A little overkill for a stack view control, perhaps.
I need a quick way to lay out an arbitrary number of controls evenly—the floating control island in the screenshot. I’m replacing the stock iOS toolbar below it, which has that handy flexible space item.
Hiding/Showing of controls in the stack. Hope to add animation.
Layout code is starting to get little difficult because, unlike in cocoa dev, XOJO won’t let you mix attributes. In cocoa, for example, it’s handy to derive a control’s X position (say, centerX) as a fraction of the parent’s width. If you want to equally space three objects horizontally in the parent control, you will set the centerX to be equal to the parent width with multipliers of 0.25, 0.5, and 0.75. XOJO doesn’t permit this type of mixing and matching.