So for the past few years, I've always been programming in languages like HTML, CSS, and PHP. I've developed some nice web applications in conjunction with MySQL DB. I also learned a little bit of C++ back in high school and made some cool DOS-like applications.
Last year, I glimpsed through C and Objective-C and couldn't seem to understand it much. I was able to create a CLI of a calculator but that was it. Enter a number, followed by a symbol and another number and it output the result. Most likely I programmed it the way I remembered 10 years ago and probably didn't take advantage of the newer functions/classes.
With Swift, Apple says its supposed to be a lot easier to learn for beginners, so I began reading the first 50 pages. It doesn't look too bad, but my question was, how do you go from the programming language to the visual piece of the app? Most of my programming in C++ produced a shell application with no GUI. PHP is similar. The only visually piece I was ever able to do is with HTML/CSS but it seems to much easier.
For those who started programming, how did you transition from coding shell stuff to GUI? I'd like to make something simple like a calculator. How do you create the buttons, how do you assign it a value, and finally, how do you take those mouse inputs, calculate it, and output a result? I don't necessarily want the answer literally, but how you went on to learn how to do it so I can teach myself.
Last year, I glimpsed through C and Objective-C and couldn't seem to understand it much. I was able to create a CLI of a calculator but that was it. Enter a number, followed by a symbol and another number and it output the result. Most likely I programmed it the way I remembered 10 years ago and probably didn't take advantage of the newer functions/classes.
With Swift, Apple says its supposed to be a lot easier to learn for beginners, so I began reading the first 50 pages. It doesn't look too bad, but my question was, how do you go from the programming language to the visual piece of the app? Most of my programming in C++ produced a shell application with no GUI. PHP is similar. The only visually piece I was ever able to do is with HTML/CSS but it seems to much easier.
For those who started programming, how did you transition from coding shell stuff to GUI? I'd like to make something simple like a calculator. How do you create the buttons, how do you assign it a value, and finally, how do you take those mouse inputs, calculate it, and output a result? I don't necessarily want the answer literally, but how you went on to learn how to do it so I can teach myself.