I’ve got a lot of elements locked down with constraints–nicely I might add.
One of them is a label.
I’d like to be able to swipe left and right to ‘toggle’ between two labels to display the desired content. I’m unsure where to start looking (aside from a swipe gesture basics) because the label is locked down with constraints.
I’d like the label to appear moving (or at least the contents of each label when it’s their turn to move) and not just be replaced with the other label’s data.
I have some ideas about the “math” behind it, using arrays or counters, to essentially make a toggle: In other words, I don’t mind toggling right or left (for right or left-handed folks). I just want a swipe to swap between 2 sources of content.
Is this something more suited for programmatically doing it? IB doesn’t seem to smell like it’s the route to go.
thanks for the patience.