but, I am unsure about it. I started to be afraid when I read:
Add the following function in your playground
Either it is an innocent word (but in that case, why using it ?) or they forget to tell something at the beginning of the tutorial (requirements for example).
Anyway: what do you think about this tutorial ? Is it worth the time to follow it ?
@DaveS has done some translation to use SQLite in Swift as you would with Xojo. I haven’t yet used it, but I will need to do so when I convert a later project.
I remember earlier today that Bard can have some help.
So, I asked " How to create a ListBox using XCode" and get:
Create ListBox in Xcode
How to create a ListBox using XCode
To create a ListBox using Xcode, you can either use the Interface Builder or create it programmatically.
Using the Interface Builder:
Open your Xcode project and create a new view controller.
Drag an NSScrollView object from the Object Library onto your view controller.
Click and hold the Control key, and then drag from the top edge of the NSScrollView to the bottom edge of the NSScrollView. This will create an NSTableView object inside the NSScrollView.
Resize the NSScrollView and NSTableView as needed.
Select the NSTableView in the Object Library and click the Show Editor button in the bottom right corner of the Xcode window.
In the Attributes Inspector, set the Style property of the NSTableView to List.
In the Controller Connection Inspector, connect the dataSource and delegate properties of the NSTableView to your view controller.
Creating a ListBox Programmatically:
Create an instance of the NSTableView class.
Set the frame of the NSTableView.
Add the NSTableView to your view hierarchy.
Implement the dataSource and delegate methods of the NSTableView.
Here is an example of how to create a ListBox programmatically:
for the time being I will disagree 100%. SwiftUI may have ways to do things “easier”, but there are still places where it has yet to mature. So I will stick with UIKit for now