ios - EXC_BREAKPOINT in Swift -
i set var tagtextfield: uitextfield in set method. later when call method want var tagtextfield: uitextfield, namely:
var pos1 = tagtextfield.positionfromposition(tagtextfield.beginningofdocument, indirection: uitextlayoutdirection.right, offset: 0) i following error:
thread 1: exc_breakpoint (code=1, subcode=0x1000e4280) i tried see if var tagtextfield: uitextfield == nil, same error. suggestions why is? if need more code, let me know.
thanks in advance
edit:
here error. no breakpoint 
you set breakpoint on xcode (probably mistake when trying access specific line). breakpoints represented blue tabs , allow stop execution of code check variable states instance. click on again deactivate (it turn light blue).

Comments
Post a Comment