[swift-users] unowned self in closure in a playground

Marco S Hyman marc at snafu.org
Tue Feb 21 21:54:43 CST 2017

> The problem with this solution is that this changes the semantics.  I want a value for every Demo instance.

My error... I read too fast and missed the () instantiation of Demo in the failing call.  I was reading it as Demo.increment().

Never mind.

More information about the swift-users mailing list