UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

How to improve your Swift skills

Recorded – watch the full episode on YouTube.

What would you advise for iOS developers who would like to take their Swift programming further?

John Sundell: Imagine you have this virtual toolbox, and this toolbox contains many different tools. For me, I always want to just keep collecting tools into that toolbox. Whether that is coming from Swift, or whether it's coming from something Apple promotes, whether it comes from another community, whether it comes from another language, whether it comes from 20, 30, 40 years ago, it's all about trying to collect as much of those tools as you can.

“Imagine you have this virtual toolbox, and this toolbox contains many different tools. For me, I always want to just keep collecting tools into that toolbox.”

And then when you have them, I think it also makes you think more about when to apply which tool, because sometimes you see people who have clearly focused a lot on a specific framework or a specific methodology, or a specific tool, and they kind of use it as a silver bullet. They're like, “I love this technology, or this framework, or this particular way of doing things, so whichever problem I am encountering, I'm always going to tackle it this way.”

It's that classic thing: "if all you have is a hammer, everything looks like a nail." And I think as humans, that's kind of how we're built, right? We're built to recognize patterns, and then, if we find a solution, we're sticking to that solution because we know it works. But I think one way to combat that way of thinking, and something I do personally all the time, is just to keep trying to be open-minded and look for new things, because that way I don't fall into that trap of just thinking along the same lines over and over and over again.

This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.

Listen on Apple Podcasts

BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.

Get it on Hacking with Swift+

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.