As I have mentioned over the past few years (here, and “that other forum”)… One of my pet projects has been writing an application to create iOS and macOS applications in a manner similar to Xojo. I have successfully created a Proof of concept in Xojo the is capable of creating a compilable/operations iOS UI (no methods, just the GUI and events). and also a partial POC doing the same for macOS.
However with my decision to no longer support Xojo in an active manner, I decided to rethink my approach. And have decided to start from ground Zero, and do the entire project in Swift for macOS.
And the macOS enviroment (AppKit/Cocoa) is in some respects VERY different from the same functions for iOS… And I will have to be writing a ton of custom controls.
Of which so far this week I have created a TreeView, an Icon Toolstrip, and a screen splitter. (I spent an entire day trying to get NSSplitView to work, but it is a complicated mess, so I made my own which works quite nicely)
Just getting started. but here is what I have cobbled together so far… not bad for 3 days work actually
I assume the splitter is built into the OS? Xojo doesn’t have one (oddly) so I rolled my own, but not happy with the look of the splitter bar. I would like to have a nice bar with the 3 dots and whatever the equivalent is in Windows (I think just a 3d bar).
TL;DR: Did you create the bar or is it built-in to the OS?
yes… vSplit is the “background” of the splitter, dSplit is the “dot”… it is a seperate image, as it has to by dynamiclly placed depending on how tall the scrollbar is.
Someday I may make a horizontal version… but for now I don’t need that
DOH! I thought it was horizontal and vertical dots. Makes sense. Thank you!
Do you mind if I borrow that image for my splitter (it’s not a commercial app)?