Swift Day 5 - Strings
- Swift Day 5 – Strings Challenges
- Swift Day 5 – String – Multiline String pt1
- Swift Day 5 – String – Create a constant String pt2
- Swift Day 6 – String – Will it work
- Swift Day 7 – String – Unicode Scalar
- Swift Day 8 – String – UTF-8, String is empty
- Swift Day 9 – String Characters index, insert,count
- Swift Day 10 – Substring, index,range
- Swift Day 12 Print
- Swift Day 13 – Comment
- Swift Day 19 – Sort an Array of Names with an Enclosure
- Swift Day 25 – Does it exist
- Swift Day 26 – ScoreKeeper
- Swift Day 27 – Is it a number?
- Swift Day 28 RegexIT
- Swift Day 29 Split and Join
- Swift Day 30 Copy And Paste
Xcode 11 - SwiftUI
SpriteKit - Games
UI - Storyboard
Xcode 12 NEW!!!
Swift Day 20 – Fireworks!!
Swift Day 20 – Challenge
- Create a firework emitter
- Make it explode where ever you touch the screen
Note: In the video it mentions me forcing the first touch. This means you place an exclamation mark (!) at the end of the object you are forcing to unwrap.
Unwrapping an object by force is also using the exclamation point.
For e.g. first!
When you unwrap something you are saying to the compiler that you know there will be something there.
It is not the best thing to do in programming as the object might not be there and the program will crash therefore you should use guard and if let statements to protect your program.
I’ll explain to you in more detail on guard and if let when I break free from my kids! 🙂
Like and Subscribe for more videos.
#Swiftprogramming, #100daysofswift, #swifttutorials, #swiftlang
Please Like and Subscribe the video. 🙂