mamaral / Neon

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

Prefix the methods #36

Open johnvuko opened 8 years ago

johnvuko commented 8 years ago

Hi, I think it would be a good idea to prefix every methods you have added to UIView. It would be simpler for others people to find / discover your methods.

jyounus commented 8 years ago

I would welcome that as well. Something like view.neon_x would make things much easier for noobs like me who still need to pick up the syntax. :)

PureLayout uses "auto" as a prefix which made it really easy to see what auto complete options I have.

mamaral commented 8 years ago

I'll think some more about this... Not 100% sold on it as there are really only 4 current prefixes, anchor, align, fill, and group... Perhaps this can be clarified earlier and more succinctly in the documentation?