1) why do you want to declare variables that you never use?
, ! , , , , . : , , , - , . ( .
if let _ = titleString {
}
- Swift. , .. . :
func externalizedParameters(first: Int?, second: Int?) {
...
}
externalizedParameters(5, second: 6).
- , , , , , . "_", :
func swap(first: Int?, _ second: Int?) {
...
}
swap(5, 6), swap(5, second: 6).
2) , _. 3) , ?
. , .