How to properly do buttons in table view cells using Swift closures
Note: This post is an upgrade of the original post…
There’s a lot of discussion online on what’s best for aspiring iOS developers. Swift, the new programming language by Apple, or the good ol’ Objective-C that’s been around for more than 30 years.
Make one Google search and you’ll become even more confused with what path you should choose.
The wrong answer to this question is learn both. You’re going to have a hard time simultaneously learning two programming languages with different syntax. You’re going to feel overwhelmed and chances are, you’re going to throw in the towel very soon. We don’t want that, do we?
The truth is, the correct answer is pretty simple if you know your goals.
First, answer this:
Do you wish to finally make and publish your first iOS app OR do you want to make a career (= get a job) as an iOS developer?
Then, by all means, go with Swift.
Then, of course, go with Objective-C.
Well, obviously, you can’t get a job as an iOS developer with zero experience. In that case, you’re still going to make your first app (in Swift), then once you get the hang of it, start digging into Objective-C and drawing parallels between both languages.
Swift is the more beautiful language and it lets you write pretty code and bring you joy. On the other hand, the “old” Objective-C with its weird syntax, is still a lot more used and sought after in the industry. Whatever you choose, you’ll encounter Objective-C. Whether it’s Apple’s core libraries or some external ones you’ll be including in your project. But if you define your goals, just pick one language and start really learning by coding, you’ll quickly see if you made the right decision.
And remember – at the end, it’s all about making the first step. So make your decision now and start building apps!
Take part in the 5-day course with actionable tasks that will let you become a master at recognizing and solving the most common mistakes iOS developers do with Auto Layout.
Let Auto Layout become a tool you swing with your utmost confidence!