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

DAY 70

Project 20, part one


When Steve Jobs first announced the iPhone, he asked an important question: “how are we going to communicate with this?” His answer was as follows:

“We don’t want to carry around a mouse, right? So what are we going to do? Oh, a stylus, right? We’re going to use a stylus. No! Who wants a stylus? You have to get them and put them away, and you lose them – yuck. Nobody wants a stylus, so we’re not going to use a stylus. We’re going to use the best pointing device in the world. We’re going to use a pointing device we’re all born with, we’re born with ten of them – we’re going to use our fingers.”

It might sound odd today, but the idea of touching the screen with your fingers was pretty revolutionary back then, not least because most phone screens were small.

But these days – well over a decade after Jobs made that announcement – the feeling of manipulating apps by tapping your fingers on a thin layer of glass is still amazing, and the game we’re starting to build today is a good example of that.

In this game players will need to select and detonate groups of fireworks, which means tapping and swiping around the screen. You can try it in the simulator, of course, but it’s just not the same – if you’re able to use a real iPad for your tests please do!

Today you have three topics to work through, and you’ll learn about UIBezierPath, SKAction.follow(), for case let, and more.

Need help? Tweet me @twostraws!

 

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!

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.