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

DAY 81

Project 24, part two


If there’s one thing you need to know about language, it’s this: language is complicated. And that’s the number one reason why Swift’s strings are also complicated: they are designed to do the right thing by default, so you get support for all known languages, plus fantasy languages like Klingon and Elvish, and even emoji – all without having to do anything special.

Although this might seem like a pointless technicality, you’d do well to remember this quote from Frank Chimero: “people ignore design that ignores people.” Our job isn’t just to write great code and hope for the best, but instead to put our users needs front and centre all the time – to make sure we meet their needs and solve their problems.

If your software falls on the first hurdle – if it’s unable to handle their language – then you might as well not bother.

Today you should work through the wrap up chapter for project 24, complete its review, then work through all three of its challenges.

That’s another project finished, and one that has given you a glimpse inside Swift’s inner working – make sure you share the extensions you write with others!

Need help? Tweet me @twostraws!

 

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

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

100 Days of Swift


The 100 Days of Swift is a free collection of videos, tutorials, tests, and more to help you learn Swift faster. Click here to learn more, or watch the video below.

Back to 100 Days of Swift

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.