• Inheritance and Subclassing Explained in Swift

    Inheritance and Subclassing Explained in Swift
    With subclassing, a class can inherit functions and properties from another class. That allows you to reuse your code, which is a good thing. In this tutorial, we'll discuss how you can use subclassing and inheritance in Swift.

  • Properties in Swift Explained

    Properties in Swift Explained
    You use properties in Swift to tack some data onto an object, like 'cookie.flavor = "Chocolate Chip"'. Properties in Swift pack quite a punch! In this tutorial, we're going to discuss stored/computed properties, getters and setters, and property observers.

  • Classes in Swift Explained

    Classes in Swift Explained
    Classes are one of the most fundamental building blocks of Swift code. In this tutorial, we're going to discuss how classes work, what instances are, how inheritance works, and much more.

  • How To: Using Notification Center In Swift

    How To: Using Notification Center In Swift
    Swift's NotificationCenter is super useful for sending data from one part of your app to another. But how does it work? When do you use it? You'll find out in this tutorial, including a ton of code examples, use cases, and helpful advice. Let's get started!

  • Struct vs. Class in Swift Explained

    Struct vs. Class in Swift Explained
    What's the difference between classes vs. structs? They're so alike! It's best to use structs by default, and classes in specific scenarios – but when? Let's find out!

  • Working with Codable and JSON in Swift

    Working with Codable and JSON in Swift
    Every webservice uses JSON nowadays. You can use the Codable protocol to encode and decode data, like JSON, to Swift objects. In this tutorial you learn how to map Swift objects to JSON with the Codable protocol. Let's get started!

  • Quit Coding? Here's How To Start Building Apps Again

    Quit Coding? Here's How To Start Building Apps Again
    Coding is hard, right? It's easy to give up – and that's OK. Here's how you can get back to coding again, after you've quit.

  • Optionals in Swift: The Ultimate Guide

    Optionals in Swift: The Ultimate Guide
    Do you find Swift's optionals confusing? In this article, I'll give you a complete tour of optionals in Swift. We'll find out what optionals are, why they're useful, and how you can work with them to make your code safer, bug-free and easier to maintain.

  • Working with Recursive Algorithms in Swift

    Working with Recursive Algorithms in Swift
    A recursive function is a function that calls itself. It's an intriguing approach to solve specific coding challenges. In this article, you'll learn how to work with recursion in Swift.

  • Learn Swift Programming The Simple Way

    Learn Swift Programming The Simple Way
    Swift is an easy to learn programming language for iOS, macOS, and more. Learning how to code Swift is simple, a lot of fun, and you can build awesome apps with it! In this article, we'll discuss simple approaches to learn Swift coding.

  • How To Learn iOS App Development

    How To Learn iOS App Development
    In this tutorial, we'll discuss how you can learn iOS app development. When you've finished reading this article, you will have a step-by-step plan for learning how to code, and you'll be ready to build your own iOS apps from scratch!

  • Conway's Game of Life in Swift

    Conway's Game of Life in Swift
    Conway's Game of Life is a fun simulation game, and we're going to code it in Swift! Based on 3 simple rules, we'll see which of the pixels makes it to the next generation. It's great coding practice, perfect for a Sunday afternoon.

  • Working with List in SwiftUI

    Working with List in SwiftUI
    A List view in SwiftUI shows rows in a vertical, single column. It's a scrollable list of data that you can interact with. In this tutorial, we'll discuss how you can create and customize a List view with SwiftUI.

  • The @State Property Wrapper in SwiftUI Explained

    The @State Property Wrapper in SwiftUI Explained
    With @State, you tell SwiftUI that a view is now dependent on some state. If the state changes, so should the User Interface. It's a core principle of SwiftUI: data drives the UI. But how does that work?

  • How To: Xcode 12 Tutorial for Beginners

    How To: Xcode 12 Tutorial for Beginners
    We're going to take a look at the most important aspects of Xcode 12. You'll get a tour around Xcode, so you can get up to speed with Swift programming and iOS app development. It's Xcode 101!

  • How To Create a New Xcode App Project

    How To Create a New Xcode App Project
    You'd think that creating a new app project in Xcode is as simple as File → New → Project, but that approach actually hides interesting complexity. In this tutorial, we'll discuss Xcode's new project options and the effect on your app.

  • How to Use

    How to Use "where" in Swift
    You use the 'where' keyword to filter things in Swift. Loop over all items 'where x = true', for example. It's simple and powerful! In this tutorial, we'll discuss the various scenarios in which you can use 'where' in Swift.

  • Fun with print() in Swift

    Fun with print() in Swift
    You use print() in Swift to print text to the Console. It's super useful for finding out what's going on in your code. In this tutorial, we'll discuss how you can customize print() to code more productively.

  • How To Fix Strong Reference Cycles in Swift

    How To Fix Strong Reference Cycles in Swift
    A strong reference cycle causes a memory leak in your iOS app, and that's a bad user experience. In this tutorial, we'll discuss what causes strong reference cycles and how you can resolve them.

  • Weak vs. Strong References in Swift

    Weak vs. Strong References in Swift
    Creating a strong reference to an instance in Swift, means that the instance is kept in the iPhone's memory until you're done with it. You can also create weak references. Both are part of the memory management mechanism called ARC. In this tutorial, we'll discuss how weak and strong references work on iOS with Swift.

  • Automatic Reference Counting (ARC) in Swift

    Automatic Reference Counting (ARC) in Swift
    Automatic Reference Counting (ARC) is a mechanism to manage memory in Swift. Working with ARC concepts is essential in day-to-day iOS development. In this tutorial, we'll discuss how ARC is used to manage memory on iOS.

  • Self and self in Swift

    Self and self in Swift
    In Swift, "self" typically refers to the current object within a class or struct. But there's more: "self", "Self" and even ".self". How does that work? Get ready for some introspection and metaprogramming, as we discover The Self in Swift!

  • Keypaths in Swift Explained

    Keypaths in Swift Explained
    With keypaths in Swift, you're referencing a property, as opposed to its value. You can pass these keypaths around in your code, and create all sorts of metaprogramming mayhem with it. Let's find out more!

  • Working with Files on iOS with Swift

    Working with Files on iOS with Swift
    You use FileManager to work with files and directories on iOS. It's a Swift API that helps you read from, and write to, various data and file formats. In this tutorial, you learn how to work with files on iOS with Swift.

  • Storing Data with NSCoding and NSKeyedArchiver

    Storing Data with NSCoding and NSKeyedArchiver
    You can use NSCoding and NSKeyedArchiver to save and load simple data objects with Swift. It's perfect for scenarios when you don't need a more complex tool, like Core Data. Let's dive in!