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
Using Storyboards? #50
Comments
Indeed, the PreviewLayer is created in I am working on a new build where the PreviewLayer is |
Awesome! I had something like that in mind, but for now I'll stick to |
Can you elaborate on this concept (calling |
I was doing just that... for each of my custom buttons, calling its superview |
Hmm. Yeah, no matter what I seem to do, I can't get my UIButton or SwiftyButton to appear. I even tried to use the Debug View Hierarchy tool, and I can't see anything from my xib on it. |
While I love this component and how simple it is, I'm having quite a weird situation...
I've got everything working as per the demo example, but there is a thing that keeps me bothering, and it's creating the buttons in runtime with fixed frames. Since I hate working with constraints in code I decided to build a simple XIB and setup the buttons there.
The problem is that the previewView hides the buttons! From what I understand, the previewView is added later on, so it covers everything that's there; so adding the buttons after view did load manages to put the buttons above.
For now I'm gonna try moving the buttons to front, but is there any other way?
The text was updated successfully, but these errors were encountered: