swift - For...in is giving "SourceKitService Terminated" -
every time typed "for x in variable" (trying iterate on textfield) error "sourcekitservice terminated"
does know if known issue? there fix? thanks!
edit:
code:
for token in expressiontextfield.text { pf.expression += token }
make sure expressiontextfield.text non-nil before iterating through it.
if let str = expressiontextfield.text{ token in str{ pf.expression += token } } that being said, bug xcode's parser should fixed fall.
Comments
Post a Comment