joshaber / Few.swift

Views as functions of their state.
MIT License
1.08k stars 39 forks source link

Don't create views with the Elements frame. #80

Closed joshaber closed 9 years ago

joshaber commented 9 years ago

At the point where createView is called, the Element won’t have been laid out yet. frame is, at best, wrong and at worst contain NaN which will make App/UIKit crash.