File tree Expand file tree Collapse file tree 16 files changed +80
-80
lines changed Expand file tree Collapse file tree 16 files changed +80
-80
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ func checkCaseCondition() {
58
58
}
59
59
60
60
func checkOptionalBindingCondition(optional: String?) {
61
- if let unwraped = optional {
62
- print(unwraped )
61
+ if let unwrapped = optional {
62
+ print(unwrapped )
63
63
}
64
64
65
- if var unwraped = optional {
66
- unwraped += "!"
67
- print(unwraped )
65
+ if var unwrapped = optional {
66
+ unwrapped += "!"
67
+ print(unwrapped )
68
68
}
69
69
}
70
70
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ func checkCaseCondition() {
60
60
}
61
61
62
62
func checkOptionalBindingCondition(optional: String?) {
63
- if let unwraped = optional {
64
- print(unwraped )
63
+ if let unwrapped = optional {
64
+ print(unwrapped )
65
65
}
66
66
67
- if var unwraped = optional {
68
- unwraped += "!"
69
- print(unwraped )
67
+ if var unwrapped = optional {
68
+ unwrapped += "!"
69
+ print(unwrapped )
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ func checkCaseCondition() {
58
58
}
59
59
60
60
func checkOptionalBindingCondition(optional: String?) {
61
- if let unwraped = optional {
62
- print(unwraped )
61
+ if let unwrapped = optional {
62
+ print(unwrapped )
63
63
}
64
64
65
- if var unwraped = optional {
66
- unwraped += "!"
67
- print(unwraped )
65
+ if var unwrapped = optional {
66
+ unwrapped += "!"
67
+ print(unwrapped )
68
68
}
69
69
}
70
70
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ break
60
60
}
61
61
62
62
func checkOptionalBindingCondition(optional: String?) {
63
- if let unwraped = optional {
64
- print(unwraped )
63
+ if let unwrapped = optional {
64
+ print(unwrapped )
65
65
}
66
66
67
- if var unwraped = optional {
68
- unwraped += "!"
69
- print(unwraped )
67
+ if var unwrapped = optional {
68
+ unwrapped += "!"
69
+ print(unwrapped )
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ break
60
60
}
61
61
62
62
func checkOptionalBindingCondition(optional: String?) {
63
- if let unwraped = optional {
64
- print(unwraped )
63
+ if let unwrapped = optional {
64
+ print(unwrapped )
65
65
}
66
66
67
- if var unwraped = optional {
68
- unwraped += "!"
69
- print(unwraped )
67
+ if var unwrapped = optional {
68
+ unwrapped += "!"
69
+ print(unwrapped )
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ func checkCaseCondition() {
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
60
switch optional {
61
- case let unwraped ?:
62
- print(unwraped )
61
+ case let unwrapped ?:
62
+ print(unwrapped )
63
63
default:
64
64
break
65
65
}
66
66
67
- if var unwraped = optional {
68
- unwraped += "!"
69
- print(unwraped )
67
+ if var unwrapped = optional {
68
+ unwrapped += "!"
69
+ print(unwrapped )
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
64
switch optional {
65
- case var unwraped ?:
66
- unwraped += "!"
67
- print(unwraped )
65
+ case var unwrapped ?:
66
+ unwrapped += "!"
67
+ print(unwrapped )
68
68
default:
69
69
break
70
70
}
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition(optional: String?) {
60
- if let unwraped = optional {
61
- print(unwraped )
60
+ if let unwrapped = optional {
61
+ print(unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += "!"
66
- print(unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += "!"
66
+ print(unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ func checkCaseCondition() {
57
57
}
58
58
59
59
func checkOptionalBindingCondition( optional: String ? ) {
60
- if let unwraped = optional {
61
- print ( unwraped )
60
+ if let unwrapped = optional {
61
+ print ( unwrapped )
62
62
}
63
63
64
- if var unwraped = optional {
65
- unwraped += " ! "
66
- print ( unwraped )
64
+ if var unwrapped = optional {
65
+ unwrapped += " ! "
66
+ print ( unwrapped )
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ func checkCaseCondition() {
63
63
}
64
64
65
65
func checkOptionalBindingCondition( optional: String ? ) {
66
- if let unwraped = optional {
67
- print ( unwraped )
66
+ if let unwrapped = optional {
67
+ print ( unwrapped )
68
68
}
69
69
70
- if var unwraped = optional {
71
- unwraped += " ! "
72
- print ( unwraped )
70
+ if var unwrapped = optional {
71
+ unwrapped += " ! "
72
+ print ( unwrapped )
73
73
}
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments