yonaskolb / Stylist

Define UI styles for iOS apps in a hot-reloadable yaml or json file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance impact

snoozemoose opened this issue · comments

I'm experiencing severe performance reduction in UICollectionViews, even if no cells (or subviews) are styled at all. I'm guessing that this is caused by the swizzling of func willMove(toSuperview newSuperview: UIView?) that will check every view ever moved to a parent to see if a style should be applied? Any input, past experience, or other help of how to work around the performance reduction would be highly appreciated!