Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Cards Array? #90

Open
willsmillie opened this issue Nov 9, 2017 · 0 comments
Open

Dynamic Cards Array? #90

willsmillie opened this issue Nov 9, 2017 · 0 comments

Comments

@willsmillie
Copy link

I have a card with a few UIButtons which act as radio buttons. When one of these radio buttons is selected I'd like to change cards which are set to be presented.

For example. If I have card A loaded with the radio buttons, and I selected button 1, I'd like to load card B, and C. However if I choose button 2, I'd like to load card C, and D.

I have tried adding and removing objects from my card array, and then reloading the cards with

[self.swipeableView discardAllViews];
[self.swipeableView loadViewsIfNeeded];

After calling that the new cards will load, but card A doesn't show, even though it is still in the array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant