Published on May 3, 2017 by CodeWithChris

These are the solutions for the programming challenges that can be found here:

Learn Swift 3 for Beginners

To do these challenges, I recommend that you have finished this video playlist first:

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

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 (www.betterwithmusic.com/)

Leave a Reply

40 Comments on "Learn Swift – Solutions for the Programming Challenges"

Notify of
avatar

Suniel Casey
Guest
Suniel Casey
13 days 5 hours ago

More challenges would be fun.

MautriX
Guest
MautriX
18 days 3 hours ago

You are awesome teacher, Chris! On youtube, there is tonn of programming tutorials from guys who can just code not teach. They do not see the difference.I was making 3th challenge for about 3-4 hours and you did it in 10 minutes. xD Is it really "beginner" challenges? If I didn't study web, i probably could not make this.Good luck everyone and remember – don't give up!

Thomas Hafner
Guest
Thomas Hafner
20 days 10 hours ago
at 14:55 you delete the final return "" for the checkOut function and instead use else to cover it, but wouldn't it be more efficient to just get rid of the else and just have the return "Successfully checked out" instead of it? In this case, else covers all the other outcomes which in this case is only if the book exists in the catalogue, but since there is a return function in the other two situations that will exit the function anyway, the only way the code could end up past the previous two possibilities is if it is… Read more »
damn, son
Guest
damn, son
1 month 17 days ago

the third one never runs for me lol

FreshestCrew
Guest
FreshestCrew
1 month 28 days ago

Hey Chris, can you please explain why in the second challenge it has to be : for s in body { printString += s and no other letter then s ? Because when i tried to put a c instead it failed but "s" never got declared anywhere, or am i wrong about this? Thank you for those tutorials!

Nawab Hussaunnawab
Guest
Nawab Hussaunnawab
1 month 29 days ago

Hey Chris thanks for all the help u have been giving me, i have finally created my first app and it is on app store its name is "Jetster", could u plz download it and give me some feedback. thx.

Brian Rouse
Guest
Brian Rouse
2 months 1 day ago
Hi Chris can you help me get from Main Game Scene To Another and back without the Main Game Scene being restarted? Thanks!// Game Scene 1 let sceneTwo = GameScene(fileNamed: "Scene2") sceneTwo?.scaleMode = .aspectFill self.view?.presentScene(sceneTwo!,transition: SKTransition.fade(withDuration: 0.5))//Game Scene 2 let sceneOne = GameScene(fileNamed: "GameScene") sceneOne?.scaleMode = .aspectFill self.view?.presentScene(sceneOne!,transition: SKTransition.fade(withDuration: 0.5))
Jacob Baehr
Guest
Jacob Baehr
2 months 4 days ago

Thank you so much for making these, everything you do helps people

CodeWithChris
Guest
CodeWithChris
1 month 7 days ago

+Jacob Baehr thanks for watching Jacob 🙂

NRX
Guest
NRX
2 months 10 days ago

are you going to any iOS conferences this year?I was thinking of AltConf and also will be attending 360iDev in Denver in August.Any experience with them in the past?

CodeWithChris
Guest
CodeWithChris
1 month 7 days ago

+NaturalRX I've never attended an iOS conference 🙁 lots of Microsoft ones but not iOS unfortunately. Hopefully next year!

Chisom Odimmegwa
Guest
Chisom Odimmegwa
2 months 10 days ago

Sir can you please make a tutorial on C programming on mac or find a friend that can help with it cuz all the tutorial I found on youtube are like 3 to 5 years old. Thank you

Chisom Odimmegwa
Guest
Chisom Odimmegwa
1 month 7 days ago

CodeWithChris alright thanks sir

CodeWithChris
Guest
CodeWithChris
1 month 7 days ago

+Chisom Odimmegwa sorry I'm not sure where then! Udemy maybe?

Chisom Odimmegwa
Guest
Chisom Odimmegwa
1 month 7 days ago

CodeWithChris i mean C programming not Objective C

CodeWithChris
Guest
CodeWithChris
1 month 7 days ago

+Chisom Odimmegwa hey Chisom check out GeekyLemon for objective C programming!

wpDiscuz