About Swift Errors
Learning Path
Swift basics and playground • Optionals and error handling • Object-oriented and protocol-oriented programming • SwiftUI/UIKit • Core Data • Networking • App Store deployment
A powerful and intuitive programming language for macOS, iOS, watchOS, and tvOS.
Swift basics and playground • Optionals and error handling • Object-oriented and protocol-oriented programming • SwiftUI/UIKit • Core Data • Networking • App Store deployment
Problem | Difficulty | Views | Action |
---|---|---|---|
Featured
Why is "Ambiguous use of 'functionName'" appearing in Swift?
Ambiguous function reference... |
Beginner |
202
views
|
View |
|
Intermediate |
208
views
|
View |
|
Intermediate |
194
views
|
View |
|
Intermediate |
226
views
|
View |
Featured
How to solve "Initializer for conditional binding must have Optional type" in Swift?
Conditional binding requirement... |
Beginner |
293
views
|
View |
Featured
What causes "Unexpected non-void return value in void function" in Swift?
Void function return value... |
Beginner |
206
views
|
View |
|
Beginner |
196
views
|
View |
Featured
How can I fix "Cannot assign value of type 'X' to type 'Y'" in Swift?
Type mismatch errors... |
Beginner |
209
views
|
View |
Featured
How to fix 'Cannot assign to value: 'X' is a 'let' constant' error in Swift?
Modifying immutable constants... |
Beginner |
240
views
|
View |
Featured
What's 'Use of unresolved identifier' error in Swift?
Undefined symbols in current scope... |
Beginner |
225
views
|
View |
Why am I seeing 'Type does not conform to protocol' in Swift?
Fixing protocol conformance issues... |
Intermediate |
181
views
|
View |
Swift classes and initializers?
Class initialization rules and patterns... |
Intermediate |
128
views
|
View |
How to define and call functions in Swift?
Flexible function definition syntax... |
Beginner |
156
views
|
View |
Swift: Using the ternary conditional operator?
Concise conditional expressions... |
Intermediate |
180
views
|
View |
Why do I get 'Ambiguous reference to member' in Swift?
Resolving ambiguous member references... |
Intermediate |
175
views
|
View |
Using Dictionaries in Swift?
Advanced dictionary techniques... |
Intermediate |
115
views
|
View |
Creating and using Swift Closures?
Working with anonymous functions... |
Beginner |
115
views
|
View |
Swift: Defining custom structs?
Creating value types in Swift... |
Intermediate |
166
views
|
View |
Swift: How to handle errors with try-catch?
Managing recoverable errors... |
Beginner |
139
views
|
View |
How to address 'Binary operator 'X' cannot be applied to operands of type 'Y' and 'Z'' in Swift?
Mismatched operand types for operators... |
Beginner |
166
views
|
View |