Tuesday, 15 September 2015

swift - Dynamic vars copy object -



swift - Dynamic vars copy object -

when declaring dynamic var in class follows

dynamic var selectedelement : element?

and calling

self.selectedelement = e

results in exception

-[app.element copywithzone:]: unrecognized selector sent instance

are dynamic vars copied - , if yes documented?

swift

No comments:

Post a Comment