nsomar / OAStackView

Porting UIStackView to iOS 7+
MIT License
2.14k stars 200 forks source link

Any chance of a translation from axis to axisValue (et al). #57

Closed oliverfoggin closed 8 years ago

oliverfoggin commented 8 years ago

Currently in IB you have to set axisValue and so on.

Except there is nothing anything that tells you what the values actually are.

It would take 5 mins to add documentation to these values.

Thanks

delebedev commented 8 years ago

@oliverfoggin you are right, it is pretty easy addition. Can you make PR please? :smiley:

neilbilly commented 8 years ago

@oliverfoggin @garnett: I was just trying to use OAStack today and got stuck on this (http://stackoverflow.com/q/33752916/632735?sem=2); what are the acceptable values for the axis?

delebedev commented 8 years ago

@neilbilly since IB does not really support "enums" as IBInspectable properties, you have to set 0 or 1 in axisValue in IB.

neilbilly commented 8 years ago

Ah right, got it! Thanks @garnett :+1: :smile:

nsomar commented 8 years ago

Will be closing this as there isn't a clear solution for now.