TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

DAY 91

Core Graphics redux

Fred Donaldson has spent the last 40 years researching how and why children play, has taught at three US universities, written multiple books, and created a foundation to help teach his learning approach to the wider world.

One of the quotes he’s most famous for is this one: “Children learn as they play. Most importantly, in play children learn how to learn.” That’s huge, if you stop and think about it: play helps teach kids the thing they are working with, but also deepens in them the concepts underlying all of learning itself.

Of course, play doesn’t apply just to kids – as George Bernard Shaw said, “we don’t stop playing because we grow old; we grow old because we stop playing.” And so today’s second consolidation day is geared around giving you the space and time to play around with Core Graphics to see what you can do.

I’ve created a special Swift playground that walks you through a variety of Core Graphics techniques. However, I’ve made two versions, and it’s important you choose the right one.

Today you should work through my Learn Core Graphics playground, either in Swift Playgrounds (preferred) or Xcode.

Remember: experimentation like this is a powerful way to learn Core Graphics, but also learning how to learn in general. Enjoy it!

If you have an iPad

Please install Apple’s “Swift Playgrounds” app from the App Store. It’s free, and allows you to experience my Core Graphics playground in its fullest.

Once you have Swift Playgrounds installed on your iPad, visit on your iPad and click the big green “CLICK TO SUBSCRIBE” button. That should subscribe you to my source of Swift playgrounds.

Finally, select my Learn Core Graphics playground and dive in.

If you do not have an iPad

I’ve made a special version of my Learn Core Graphics playground that works in Xcode 10.2 on your Mac. It doesn’t have all the same features because Xcode’s playground support isn’t as extensive as the Swift Playgrounds app, but it should still work great.

To try this approach, please download and run the playground from here:

Need help? Tweet me @twostraws!


Hacking with Swift is sponsored by Superwall.

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

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.