Skip to content

is Closures doesn't support custom-observed property in swift ? #60

@howoften

Description

@howoften

i define an observed property, and use observe(_, until: _, changeHandler: _) to get value changed callback,
most of time it works fine, but in iOS 10.3.3, i receive a crash log!
crash description: " *** was deallocated while key value observers were still registered with it";

i declare property like this
class Person {
@objc dynamic var age: Int = 18
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions