4 ms·
That's a Obj-C problem, because it's being fixed with what Swift does with it's '?' on variables. :)
by photojosh 12y ago
That's a Obj-C problem, because it's being fixed with what Swift does with it's '?' on variables. :)
- chc 12y agoNot exactly. This program would have the same problem in Swift, because rather than returning optionals, Swift arrays have the same explode-on-invalid-accesses behavior as NSArray.