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

How to add UILabels and UIImageViews on flickableView? #4

Open
waseefakhtar opened this issue Feb 24, 2017 · 2 comments
Open

How to add UILabels and UIImageViews on flickableView? #4

waseefakhtar opened this issue Feb 24, 2017 · 2 comments

Comments

@waseefakhtar
Copy link

I could do that in the Interface Builder but I want to change the text or image programmatically. How can I achieve that? I don’t have a separate class for the UIViewController, so I can’t connect the IBOutlets anywhere.

@jakelawson1
Copy link
Owner

Hey @waseefakhtar. When you instantiate the FlickToDismissViewController you can pass in any view you like as long as it is a subclass of UIView. So just setup your view as you usually would, which can be programmatic or through interface builder. Check out the readme to see how to do this programmatically. I hope this has answered your question... if not just shout :)

@waseefakhtar
Copy link
Author

I already have a UIView as flickableView but I want UILabels and UIImages on top of that. I could achieve that programmatically by view.addSubview() but I want to achieve that with the Interface Builder.

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

2 participants