Learning Swift

Hi everyone,

Recently, I have been learning to code using Xcode and the Develop in Swift Fundamentals book. So far, I have been understanding everything it is teaching me, but I think what would help me learn faster is knowing/understanding how all of the individual parts and pieces will eventually create a whole functioning app.

Does anyone have any advice for me?
Accepted Answer
What is it you want to know ?

There are a lot of articles on the web is you search Understanding iOS Architecture.
Surch as:
https:// medium. com/@lucideus/understanding-the-structure-of-an-ios-application-a3144f1140d4

Or this tutorial:
https:// www.raywenderlich. com/477-design-patterns-on-ios-using-swift-part-1-2
https:// www.raywenderlich. com/476-design-patterns-on-ios-using-swift-part-2-2

Or the Stanford course for iOS which is excellent.

But the best way to learn by doing: imagine a simple application of your own, even if it is not targetting the AppStore, and start design it. You will understand how all pieces join together or at least clarify the questions you may have.
The example may be anything: related to your pets, to your hobbies, to the books you read…
My main thing was how all of the functions and variable and all of those pieces would eventually create an app.
When app launches, it loads the initial view (the one you have declared as entry point in storyboard).

And this loads all the IBOutlets, IBActions, properties.
When you tap on an object, it looks for action to execute… goes to another view…
and so on.

Note that SwiftUI has a different logic, where app manages states of objects and asks to draw UI according to these states.
Ok, that makes sense, so you practically have to think of everything in pieces and how everything goes together.

Just one last question, how is an app like Instagram built? (Thank you for replying and supporting me! I’m in high school and have had an interest in coding for a while and finally decided to learn, and maybe will do something in college revolving around it!)
Learning Swift
 
 
Q