Closed feemi closed 6 years ago
Yes, please address before Swift 3.2 goes live. Thanks!
Hi, I created a Swift 3.2 branch for this (using current Xcode 9 Beta 5). I noticed an issue with both Swift 3.2 as well as Swift 4.0:
When you open the view controller containing a card text field and closing it again (without entering text in the text field), the app crashes after the view was dismissed. Not so, if you enter something in the text field prior to closing the view. In this case no crashes occur. Unfortunately I wasn't able to get any error about why this is failing yet and am still investigating.
Any news?
I'm seeing this with XCode 9 as well.
Using Xcode 9. couldn't run
The Swift 4 branch has been merged and the current version supports Swift 4.
StringExtension.swift
NSMakeRange(utf16view.startIndex.distance(to: from), from.distance(to: to))
Value of optional type 'String.UTF16View.Index?' (aka 'Optional