Skip to content

Modifying state during view update, this will cause undefined behavior. #4

@plivesey

Description

@plivesey

I got this runtime warning while running the code. I got this for one of my other preference changes. The only way I could get rid of this warning was to to add a DisapatchQueue.main.async which I know you don't want to do.

It seems to occur whenever the view changes because of an observed object changing. I haven't tried to reproduce this yet.

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