Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Replacement for SQL Server Compact (CE)? Pin
Peter Adam7-Jul-23 2:45
professionalPeter Adam7-Jul-23 2:45 
AnswerRe: Replacement for SQL Server Compact (CE)? Pin
Steve Naidamast7-Jul-23 6:07
professionalSteve Naidamast7-Jul-23 6:07 
GeneralRe: Replacement for SQL Server Compact (CE)? Pin
PIEBALDconsult7-Jul-23 6:18
mvePIEBALDconsult7-Jul-23 6:18 
AnswerRe: Replacement for SQL Server Compact (CE)? Pin
jkirkerx7-Jul-23 7:52
professionaljkirkerx7-Jul-23 7:52 
GeneralRe: Replacement for SQL Server Compact (CE)? Pin
PIEBALDconsult7-Jul-23 10:47
mvePIEBALDconsult7-Jul-23 10:47 
GeneralRe: Replacement for SQL Server Compact (CE)? Pin
jkirkerx7-Jul-23 11:43
professionaljkirkerx7-Jul-23 11:43 
AnswerRe: Replacement for SQL Server Compact (CE)? Pin
Glen Harvy7-Jul-23 13:26
Glen Harvy7-Jul-23 13:26 
GeneralWhat You May Not Know About Apple Dev Pin
raddevus5-Jul-23 9:41
mvaraddevus5-Jul-23 9:41 
I originally learned apple development back in 2016 bec I wanted to write my C'YaPass app as a native iOS app.
At that time you had to learn UIKit to design the User Interface. It was always so clunky with very odd interactions with the IDE (Xcode) that I just never enjoyed it.
For example to tie a click to a button you had to do this odd Command-Key / mouse thing to add an @IBAction (Interface Builder action). Ugh!

Visual C++ / Visual Studio
I always wondered why other IDEs and development systems never got to the amazing drag-n-drop type of UI design with pre-defined controls like Visual Studio??

Apple Finally Did It: They Beat Visual Studio

Well, I hadn't been kicking around on AppleDev for a while but back in 2019 they released a new way to design the UI -- and it is freakin' amazin'!! Seriously.

SwiftUI: It's The New Way
The new thing is called SwiftUI and you can build interfaces super fast and they've created a fantastically simple (AND READABLE) way to do databinding.
DataBinding Is So Elegant
It is quite elegant. Look at this simple example. You can probably understand all the code you need for this simple example which includes databinding. It's really quite amazing.

You can see the final UI here (image snapshot)[^].

Swift
struct ContentView: View {
    
    // marking a var as @State sets up the binding
    @State private var wifiEnabled = true

    @State private var userName = ""

var body: some View {

        VStack {
            Toggle(isOn: $wifiEnabled) {  // using $ binds the control to the value
              Text("Enable Wi-Fi")        // when user toggles then image (below) will be updated.
            }

            TextField("Enter user name", text: $userName)
            Text(userName) // when you type in TextField, then Text will be updated
            Image(systemName: wifiEnabled ? "wifi" : "wifi.slash")  
        }
    }
}


IDE Does Layout For You
All of the layout work is done by the IDE for you. It's amazing. You can build really nice UIs now and it is very easy.

I didn't previously like Apple Dev much at all, but Swift was a huge language improvement and now with SwiftUI UI building system it is exactly what you expected from Visual Studio all along. It's actually better than Visual Studio UI building. Amazing.

Learn SwiftUI & iOS App Dev
Here's a great book that I read to learn SwiftUI. The author, Neil Smyth, covers everything (including Swift language itself) really well. It's one of those great books you can read and actually learn to use the system.

Amazon.com: SwiftUI Essentials - iOS 16 Edition: Learn to Develop iOS Apps Using SwiftUI, Swift, and Xcode 14 eBook : Smyth, Neil: Kindle Store[^]

It all just amazes me because it takes me back to the days of learning to program Windows (3.1/95) and the fun of learning. Android Development brings that feeling a bit too, but this is even better.
Check it out. It's a lot of fun and you can build some really cool apps.
GeneralRe: What You May Not Know About Apple Dev PinPopular
dandy725-Jul-23 9:56
dandy725-Jul-23 9:56 
GeneralRe: What You May Not Know About Apple Dev Pin
raddevus5-Jul-23 10:30
mvaraddevus5-Jul-23 10:30 
GeneralRe: What You May Not Know About Apple Dev Pin
Member 148605856-Jul-23 4:02
Member 148605856-Jul-23 4:02 
GeneralRe: What You May Not Know About Apple Dev PinPopular
Graeme_Grant5-Jul-23 19:39
mvaGraeme_Grant5-Jul-23 19:39 
GeneralRe: What You May Not Know About Apple Dev Pin
Pete O'Hanlon6-Jul-23 4:22
mvePete O'Hanlon6-Jul-23 4:22 
GeneralRe: What You May Not Know About Apple Dev Pin
BBar26-Jul-23 2:55
BBar26-Jul-23 2:55 
RantRe: What You May Not Know About Apple Dev Pin
MSBassSinger6-Jul-23 2:58
professionalMSBassSinger6-Jul-23 2:58 
GeneralRe: What You May Not Know About Apple Dev Pin
dandy726-Jul-23 3:16
dandy726-Jul-23 3:16 
GeneralRe: What You May Not Know About Apple Dev Pin
MSBassSinger6-Jul-23 3:24
professionalMSBassSinger6-Jul-23 3:24 
GeneralRe: What You May Not Know About Apple Dev Pin
jschell6-Jul-23 5:56
jschell6-Jul-23 5:56 
GeneralRe: What You May Not Know About Apple Dev Pin
raddevus6-Jul-23 5:01
mvaraddevus6-Jul-23 5:01 
GeneralRe: What You May Not Know About Apple Dev Pin
MSBassSinger6-Jul-23 5:16
professionalMSBassSinger6-Jul-23 5:16 
GeneralRe: What You May Not Know About Apple Dev Pin
Graeme_Grant6-Jul-23 13:27
mvaGraeme_Grant6-Jul-23 13:27 
GeneralRe: What You May Not Know About Apple Dev Pin
MSBassSinger6-Jul-23 14:06
professionalMSBassSinger6-Jul-23 14:06 
GeneralRe: What You May Not Know About Apple Dev Pin
Graeme_Grant6-Jul-23 15:27
mvaGraeme_Grant6-Jul-23 15:27 
GeneralRe: What You May Not Know About Apple Dev Pin
jlongo7-Jul-23 9:37
jlongo7-Jul-23 9:37 
GeneralRe: What You May Not Know About Apple Dev Pin
raddevus7-Jul-23 10:00
mvaraddevus7-Jul-23 10:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.