Creating the Logic - Lesson 8 (2024 / SwiftUI)

Published: 08 February 2023
on channel: CodeWithChris
37,147
1k

Learn how to write code that can make decisions! Using conditional logic, we can run different code depending on the situation. In Swift, this is done with IF statements. Lets implement this in our War Card Game to randomize the cards and increment the scores.

👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. https://cwc.to/youtubeoffer

Resources and Downloads:
https://learn.codewithchris.com/cours...

✌️Get Access To MODULE 2 Here:
https://learn.codewithchris.com/cours...

Timestamps:
00:00 Intro
00:12 Randomize Cards
07:02 State Properties
11:08 The Playground: If Statements
18:09 If Statements in The War Card Game
25:08 Outro

This video series will teach a beginner with no programming experience how to make iPhone apps. I'm creating these videos with the assumption that the student has no prior knowledge and is starting from scratch.

CWC+ PROGRAM:
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. https://cwc.to/youtubeoffer

APPLE DEVELOPER PROGRAM:
https://developer.apple.com/programs/

MY FAVOURITE APP RESOURCES:
📖 The SwiftUI Reference Books I Use - SwiftUI Views Mastery - https://cwc.to/swiftui-book
💰 How I Monetize My Apps - RevenueCat - https://cwc.to/revenuecat
🤖 My Automation Tool of Choice - Bitrise - https://cwc.to/bitrise
🧑‍🎨 What I Use For App Design - Figma - https://cwc.to/figma

WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - https://cwc.to/newsletter

CONNECT:
🌍 My website - https://codewithchris.com
😺 GitHub - https://github.com/codewithchris
📸 Instagram -   / codewithchris  
🐦 Twitter -   / codewithchris  

ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! https://cwc.to/reviews

Note: Some of the links in this description are affiliate links that help support this channel. Thank you if you used any of them!

#CodeWithChris #CodeCrew #HowToMakeAnApp


Watch video Creating the Logic - Lesson 8 (2024 / SwiftUI) online without registration, duration hours minute second in high quality. This video was added by user CodeWithChris 08 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 37,147 once and liked it 1 thousand people.