mamaral / Neon

A powerful Swift programmatic UI layout framework.
MIT License
4.58k stars 389 forks source link

Cannot do layout with transform #46

Open leroy75 opened 8 years ago

leroy75 commented 8 years ago

If this property is not the identity transform, the value of the frame property is undefined and therefore should be ignored.

from apple documentation

And if you use any transform on your own view, you cannot do layout with Neon methods

I suggest set transform to "Indentity" before layout and return after in all Neon methods

mamaral commented 8 years ago

Thanks for this - I hadn't considered transforms. I'll take a look as soon as I can.