iwantcoding
.com
Tutorials
▾
Web Frontend
HTML
CSS
HTML5
CSS3
JavaScript
TypeScript
Sass
React
Vue
Svelte
Tailwind
Backend
Python
PHP
Node.js
Java
Go
Rust
Ruby
C#
Databases
SQL
MySQL
PostgreSQL
MongoDB
Firebase
GraphQL
Redis
Mobile
React Native
Flutter
Swift
Kotlin
Ionic
Cloud & DevOps
AWS
Docker
Kubernetes
CI/CD
Linux/Bash
AI & Data
NumPy/Pandas
Machine Learning
TensorFlow
PyTorch
LangChain
RAG
Cybersecurity
XSS
SQL Injection
CSRF
OWASP Top 10
Cryptography
Ethical Hacking
Tools
Git
DSA
Design Patterns
RegEx
VS Code
Specialty
Game Dev
WordPress
Web3/Solidity
Three.js
Capstone
Enterprise Architecture
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
TYPESCRIPT
REACT
NODEJS
MONGODB
DOCKER
GIT
TAILWIND
GRAPHQL
LINUX-BASH
AWS
KUBERNETES
VUE
SVELTE
SASS
THREEJS
GO
RUST
JAVA
RUBY
CSHARP
WORDPRESS
POSTGRESQL
MYSQL
REDIS
FIREBASE
REACT-NATIVE
FLUTTER
SWIFT
KOTLIN
IONIC
CICD
NUMPY-PANDAS
ML
TENSORFLOW
PYTORCH
LANGCHAIN
XSS
SQLI
CSRF
OWASP
CRYPTO
DSA
DESIGN-PATTERNS
REGEX
VSCODE
GAMEDEV
WEB3
ENTERPRISE
CAPSTONE
ETHICAL-HACKING
🔥 Daily
👥 Rooms
🏆 Top
Log in
Sign up
AI ✨
Swift Tutorial
BOSS QUIZ
10 questions · 5 minutes · pass at 70% to clear the track.
05:00
Start
Q1.
A protocol is most similar to…
from Protocols
A subclass
An interface
A namespace
A macro
Q2.
Optionals model…
from Optionals
Numbers
Possibly-missing values
Threads
Errors
Q3.
Prefer structs over classes when…
from Structs
You need identity / shared state
You need value semantics / no shared state
Always
Never
Q4.
await is allowed inside…
from async / await
Any function
async functions / Task closures
Only main()
Only @MainActor
Q5.
Isolated mutable state in concurrency is provided by…
from async / await
Locks only
Actors
GCD only
Semaphores only
Q6.
Swift memory is managed by…
from Intro
GC
ARC
Borrow checker
Manual free
Q7.
Inside a mutating method on a struct you need…
from Structs
Nothing
The mutating keyword
@MainActor
inout
Q8.
Structs in Swift are…
from Structs
Reference types
Value types
Always immutable
GC-managed
Q9.
Swift is developed by…
from Intro
Google
Apple
Mozilla
JetBrains
Q10.
Swift was released in…
from Intro
2010
2014
2018
2020
Submit
Back to Swift Tutorial
🏆
Achievement unlocked!