aschuch / StatefulViewController

Placeholder views based on content, loading, error or empty states
MIT License
2.14k stars 149 forks source link

the placeholder view's inset should better be inset calculated in superview? #59

Open ruixingchen opened 7 years ago

ruixingchen commented 7 years ago

I think the size and origin of the placeholder view should be defined by the their superview not themself, there can be a function in Controller called frameForPlaceholder or something?