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

Using YLProgressBar with auto-layout? #44

Open
chungfk opened this issue Aug 5, 2016 · 5 comments
Open

Using YLProgressBar with auto-layout? #44

chungfk opened this issue Aug 5, 2016 · 5 comments

Comments

@chungfk
Copy link

chungfk commented Aug 5, 2016

Hi, in my app, I'm implementing auto-layout. When i try to implement YLProgressBar in my xib file, i'm getting "Failed to load designables from path (null)".

Can the question is how can i use this library in xib that contains auto-layout?

@yannickl
Copy link
Owner

yannickl commented Aug 7, 2016

Hi,

Yes you can use this library in xib that contains auto-layout. However I have to investigate why it does not work in interface builder.

@chungfk
Copy link
Author

chungfk commented Aug 8, 2016

@yannickl an update...i've tried manually inserting the library and there is no error. Only through cocoa pods did the above error happened.

@yannickl
Copy link
Owner

That's strange, may be interface builder does not load framework like current project one. I need more time to investigate why.

Thank you for the report! 👍

@chungfk
Copy link
Author

chungfk commented Aug 19, 2016

Hi, sometimes i'm also getting this error in my storyboard but it won't cause the build to fail.

"IB Designables: Failed to update auto layout status: The agent raised a "NSInvalidArgumentException" exception: *** setObjectForKey: object cannot be nil (key: NSParagraphStyle)"

@radekwilczak
Copy link

I have the same error as chungfk :(

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

3 participants