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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jquery - Keeping Kendo Datepicker in min/max range -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -