How To Make an App – Ep 16 – Using IF statements in Swift 3

[ad_1]
How To Make iPhone Apps with NO Programming Experience!
Lesson 16: Determining a Winner with IF Statements
In this video, we learn to use IF statements to determine a winner!

Download the Key Takeaways Lesson Notes!

My Courses:

This video series uses the latest and greatest from Apple (Xcode 8, Swift 3, iOS 10) and 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.

The lesson plan for the How To Make an App series can be found on my site here:

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!

Website:

CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 3, Xcode 8 and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (


Posted

in

by

Tags:

Comments

6 responses to “How To Make an App – Ep 16 – Using IF statements in Swift 3”

  1. Sarah Albassam Avatar

    Hi, Chris, I have a problem when applying this lesson 3 messages accrues
    "Desktop/war game/war game/ViewController.swift:41:6: Statements are not allowed at the top level"

    "se of unresolved identifier 'leftNumber'"

    "Use of unresolved identifier 'rightNumber'"

    how to solve these problems!

    thanx again for your efforts to present these awesome lessons.

  2. OmryVevo Avatar

    this was awesome!

  3. Gary Searson Avatar

    Hi ChrisThat was great.I will be buying your courseI think you need one more video in this series, should have app exit reset for score and cards, also a game restart button may be fun also maybe use as drinking game, option to change player and CPU to actual names then first to whatever number takes a drink, could have new screen pop up with flashing message drink ( whatever name was loser)

  4. carnafillian113 Avatar

    I just randomly decided i want to learn how to make some simple apps for my phone and your videos are actually helping me make it happen pretty easily haha thanks man!

  5. Ali Emre Avatar

    Hey Chiris, can you share the short form of if statement? in one set of brackets w/o else typing.

  6. Fairbanks O'Neills Avatar

    Hi Chris, at the end of episode 15 I was tying the dealing function and noticed both players were dealt the exact same card (6 hearts). How do we prevent that?

Leave a Reply

Your email address will not be published. Required fields are marked *