aschuch / StatefulViewController

Placeholder views based on content, loading, error or empty states

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting emptyView has side effect -> old empty view never gets removed

gunterhager opened this issue · comments

Setting a new empty view while the old one is still displayed has the side effect that the old empty view never gets removed.

This is due to calling removeFromSuperView on a view that is no longer referenced by the viewStateMachine, I will work on a fix as soon as I get some time.