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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom list placeholder view? #1

Closed
Daltron opened this issue Sep 20, 2017 · 3 comments
Closed

Custom list placeholder view? #1

Daltron opened this issue Sep 20, 2017 · 3 comments

Comments

@Daltron
Copy link

Daltron commented Sep 20, 2017

Hi @malkouz! 馃槃 This looks promising but the ability to not be able to define a custom view as the placeholder is an absolute deal breaker for me. Do you plan to support this functionality in the future?

@malkouz
Copy link
Owner

malkouz commented Sep 26, 2017

Hello @Daltron, Thank you for your contribution.

The placeholder is now supported for custom view.

@malkouz malkouz closed this as completed Sep 26, 2017
@Daltron
Copy link
Author

Daltron commented Sep 26, 2017

@malkouz Awesome! However, an example in the README showing exactly how to use a custom view might be nice. The example right now doesn't really show how to create a custom placeholder. What do I inherit from? Do I make it part of the table/collection view? etc.. Further documentation would be great! 馃槃

@malkouz
Copy link
Owner

malkouz commented Sep 26, 2017

For custom placeholder, you need just build it via IB then connect it with IBOutlet
and just call showLoader() method.

once you want to hide placeholder call method hideLoader() then hide your view or remove it from superView

Regards

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