Programming for Non-Programmers: iOS 16 and Swift 5

Programming for Non-Programmers: iOS 16 and Swift 5

2h 27mBeginner2023-02-06

Authors

Todd Perkins

Todd Perkins

Developer specializing in iOS

Course details

Do you want to develop native iOS applications, but aren’t sure where to start? This course gives you a chance to try it out with a simple iOS application that you can create in a single day. Instructor Todd Perkins uses visual representations of conceptual aspects of coding to make the content relatable and digestible. Todd shows you how to set up your coding environment, work with variables to build a user interface, use conditional statements to manage control flow, and much more. Plus, he goes over best practices for finishing your application, including how to format numbers and add an app icon. At the end of the course, you’ll have the skills needed to create an iOS app on your own.

Skills covered

SwiftiOS DevelopmentiOSMobile DevelopmentAppleProgramming LanguagesSoftware DevelopmentDeep Dive (X:Y)

Concepts

Introduction

  • Build a simple application in one day
  • What you should know before watching
  • The finished app

Setting Up Your Coding Environment

  • Creating an Xcode project
  • Understanding the Xcode interface
  • Adjusting Xcode preferences

Programming Building Blocks - Variables

  • Understanding how programming works
  • Understanding variables and constants
  • Working with variables in a playground
  • Using variables in SwiftUI

Using Variables to Build a UI

  • SwiftUI stacks
  • Creating custom SwiftUI components
  • Creating calculator buttons
  • Setting button width
  • Setting button colors
  • Setting button text
  • Challenge - Create the value text view
  • Solution - Create the value text view

Programming Building Blocks - Methods

  • Understanding methods
  • Using methods
  • Running code when a button is pressed
  • Using a method as a variable
  • Passing parameters to method variables
  • SwiftUI binding
  • Using different methods to handle different events
  • Challenge - Create methods for the equal button
  • Solution - Create methods for the equal button

Programming Building Blocks - Control Flow

  • Understanding conditional statements
  • Using conditional statements and Booleans
  • Handling the numeric button presses
  • Optionals and if let statements
  • Enums
  • Challenge - Conditionals
  • Solution - Conditionals

Finishing the Application

  • Storing the saved number
  • Showing the total when the equals button is tapped
  • Formatting the total number
  • Adding an app icon
  • Challenge - Clear button
  • Solution - Clear button

Conclusion

  • Next steps
80,000 Toman