In my last article I explained that aspiring iOS App Developers should start by learning swift and not jump into app tutorials.
Before you learn about
NSManagedObject, you need to fully understand
case let, and
So, if you know no Swift at all and don't know a similar programming language, start with Apple's Swift Programming Language book and Swift playgrounds (on the iPad or in Xcode on a Mac). Learn how to write extremely simple functions and then small sets of structs/classes that work together.
It’s important to not just read the book and type in the code you see in it. You should actively write new code based on what you learned
To help, I’ve been working on a series of articles meant to be read after each corresponding chapter in the Swift Programming Language book.Each article has a few exercises that you should be able to do in a playground based on the information in the chapter.
I also show a way to set up an active reading environment and a method for generating exercises on your own if you need to go beyond what I have provided.
There are eleven articles so far, I recommend reading them in order and doing the exercises (because they build on each other). If you know a topic well, it will just take a few minutes to get through them. They are meant to take about 30 minutes for a brand new programmer studying Swift as a first language.
I’ll be starting on Section 2 now, so you could follow me on dev.to if you want to see the articles as they publish.Tweet Follow @app_o_mat