ios - Rewriting this Line from Objective C to Swift -
i know little trivial life of me can't seem line of objective-c code right in swift.
any ideas?
obj c code:
cardview *view = (cardview *)draggableview;
i tried:
let view : cardview = draggableview(cardview)
i'm forgetting small.
try -
let view = draggableview as! cardview
Comments
Post a Comment