Tag

ios

Teaching 100,000 People to Code

Six Questions for Tanmay Bakshi, author of Hello Swift!

Tanmay Bakshi is a fifteen-year-old Canadian coder who works in AI and ML. He has addressed over 200,000 people at international conferences, schools, universities, and corporations, and has delivered keynotes at the United Nations, Linux Foundation, Apple, IBM, and more. Find him at @TajyMany on Twitter and Tanmay Teaches on YouTube.

Free eBook: Exploring Swift

ExploringSwift_FCC

Chapters selected by Craig Grummitt

What Is an Array and What can I Do with One?

From Hello Swift! by Tanmay Bakshi

This article, excerpted from chapter 7 of Hello Swift! , tells you what an array is and gives quite a few examples of how one can be used.

Creating a Tic-Tac-Toe AI with Swift and the minimax Algorithm

From Classic Computer Science Problems in Swift by David Kopec

This article will teach you how to use the minimax algorithm to create a Tic-Tac-Toe AI that plays the game flawlessly.

Programming Tricks with Swift: when to use enums instead of subclassing

From Swift in Depth by Tjeerd in ‘t Veen

In this article, we’re going to explore these limitations of modeling our data via subclassing in a real-world scenario and how to address those limitations with the help of enums.

When to Use “or” and “and” in Swift

From Swift in Depth by Tjeerd in ‘t Veen

This article, adapted from chapter 2 of Swift in Depth, discusses the “or” and “and,” also known or sum and product types, respectively, and how they can be used in Swift.

Solving Mazes with Swift

From Classic Computer Science Problems in Swift by David Kopec

This article is all about finding a path through mazes, which is an analogous to many common search problems in computer science. Examples are in Swift.

Diagram for String Reversal Logic

From Hello Swift!

diagram-for-string-reversal-logic

iOS Development Tricks: size classes in Interface Builder

From iOS Development with Swift by Craig Grummitt

This article discusses layout adjustment using size classes in the Interface Builder.

Why Should you Learn Swift?

From iOS Development with Swift by Craig Grummitt

Learning a new programming language is a huge investment in time, so why should you learn Swift? Well, in short, it’s only going to get more popular!

© 2020 Manning — Design Credits