Topics
Published on October 26, 2017 by CodeWithChris

In the last lesson you learned about variables, constants and data types.

You also learned how to write print statements and simple Swift code statements to assign data to variables/constants.

In this video, you’ll build from there and learn how to organize that Swift code into blocks of code called Functions.

You can download the Cheatsheet and Worksheet from here:

How to Make an App for Beginners (Lesson 6)

More on Functions #1 (Video)

More on Functions #2 (Video)

Apple documentation on Swift Functions
developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Functions.html#//apple_ref/doc/uid/TP40014097-CH10-ID158

Learn how to make an app even if you have no programming experience!

This is a 10 part video series designed for beginners in mind to teach the fundamental skills for making apps on iOS.

This video series uses the latest and greatest from Apple (Xcode 9, Swift 4, iOS 11) 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:

How To Make An App (for beginners) – Start 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.com
Twitter: twitter.com/CodeWithChris

CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. 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 4, Xcode 9 and app building from my course and materials!

Here’s just a sample of the success stories my students have sent in:

68 Beginners Share Their Success Stories

Leave a Reply

83 Comments on "How to Make an App for Beginners – Lesson 6 (Learn Swift Basics 2)"

Notify of
avatar

David Jiang
Guest
David Jiang
1 day 7 hours ago

When I have an error, it doesn't show up on a line like yours does(example: 1:36). I have Xcode version 9. Is there any way to make my errors look like yours?

Jones Smith
Guest
Jones Smith
3 days 12 hours ago

Hello, the function explanation is very good, makes me very easy to understand.

CodeWithChris
Guest
CodeWithChris
3 days 9 hours ago

Thank you for learning with me! Please join us on Facebook to continue the conversation bit.ly/CWCCommunity

MR YUP
Guest
MR YUP
12 days 3 hours ago

I'm reviewing right now and I see that at 9:36 the sayHelloTo function only has a parameter and no argument label. Does the parameter act as both the parameter and argument in this occasion?

Tayeb Fakhruddin
Guest
Tayeb Fakhruddin
13 days 7 hours ago
I'm sorry but I have a different opinion than others in comment section. Your first few videos with XCode UI Development were so brilliantly made that a 5 year old could understand them. But once you started with Swift language, you started rushing things off a bit and I'm finding it difficult to really understand the meanings and reasons behind all these codes. I'm sorry but the swift programming videos, you haven't done that great of a job as I expected seeing the first few videos.Nevertheless, you still are by far the best Teacher for this Subject on the whole… Read more »
CodeWithChris
Guest
CodeWithChris
11 days 20 hours ago

Thank you for the constructive comments!I understand Swift can be challenging at time. Do not rush forward before understanding a concept. Make sure to come back to a previous video and watch it again. Also, it is good to try different code you have seen on a video by yourself.Finally, I would suggest to connect with other iOS students. This is the best way to learn: www.facebook.com/groups/codewithchriscommunity

Guy Hartstein
Guest
Guy Hartstein
16 days 3 hours ago

*Parentheses

peradotto13
Guest
peradotto13
18 days 6 hours ago

hey chris, videos are great. Unfortunately my Xcode app > My playground does not function properly it seems. No text displays along right window as well as the bottom while i am following your videos/listening to your instructions. I have clicked on the small square on the bottom window to click on " Automatically Run" but it just reverts back to the square. Any ideas?

CodeWithChris
Guest
CodeWithChris
17 days 8 hours ago

The Playground is currently a pretty big headache has it just stops working. Kill the app (cmd + q) and relaunch the whole thing. Restart your computer can help too.

The Self Made Man
Guest
The Self Made Man
30 days 9 hours ago

When I start using my playground it runs and displays the printed material in the right and bottom columns. After some time it stops and displays nothing in either of the columns that is printed. It just stops out of the blue and doesn't start again. The top of the screen just says "running". When I open a new playground it initially works then does the same thing again. Please help me so I can continue with your lessons. I am really enjoying them.

CodeWithChris
Guest
CodeWithChris
30 days 26 minutes ago

At this moment, and even after Apple's last week update, the Playground is still running in a "hit or miss" way. If it gets unresponsive, you'll just have to Quit the app (cmd + q) and start again. Hopefully they fix that very soon!

rwoodvet
Guest
rwoodvet
1 month 10 days ago

Thank you or making functions easier to understand!

CodeWithChris
Guest
CodeWithChris
1 month 9 days ago

You'r Welcome!

Eric Braverman
Guest
Eric Braverman
2 months 10 days ago

These are great tutorials, thank you very much!

Julio Lacayo
Guest
Julio Lacayo
2 months 17 days ago

Chris you are hands on, you teach step by step, really easy to understand…you are a Rock Star, thank you!!Looking forward to get some practice…

CodeWithChris
Guest
CodeWithChris
1 month 7 days ago

Thank you sir!

1 2 3 5
wpDiscuz