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

Blocking Overlay with Progress View #28

Open
zmears opened this issue Feb 25, 2017 · 1 comment
Open

Blocking Overlay with Progress View #28

zmears opened this issue Feb 25, 2017 · 1 comment

Comments

@zmears
Copy link

zmears commented Feb 25, 2017

I did not see a blocking overlay with a progress view so I attempted to create one.

I think the progress view should be really be above the text, but I was not sure how to get it there without a bunch of copy pasta code.

Maybe there could be a layout option? something that puts the accessory view above the label instead of beside it.

https://github.com/zmears/SwiftOverlays/tree/blockingProgressView

@zmears
Copy link
Author

zmears commented Feb 26, 2017

I updated my branch with centering logic that worked for my use case. I am not 100% sure this is the correct approach as I could not find any examples of frame.offsetBy and I do no normally do layout programatically.

I would love some feedback on my changes and look forward to further discussion.

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