NFDownloadButton
NFDownloadButton copied to clipboard
Failed to update auto layout status: The agent crashed
After I assigned NFDownloadButton to a UIView, I get this error:
IB Designables: Failed to update auto layout status: The agent crashed
And If i want to create it programmatically, get this error:
'NFDownloadButton' initializer is inaccessible due to 'internal' protection level
This is a known issue. It's set as fixed in the next version. Thanks.
Hey, the initializer thing is fixed in the version 0.0.2. Regarding the InterfaceBuilder issue, there are some threads about it, have a look:
https://stackoverflow.com/questions/26799054/failed-to-render-instance-of-ib-designables#answer-26812639 https://stackoverflow.com/questions/31265906/ibdesignable-crashing-agent
I'll spend more time on it properly when I have time.
@LeonardoCardoso thanks for the prompt reply and for this awesome pod!
I end up using the storyboard way, it show the error message but still compile and seems to work as expected.
@simonlinj I'm not sure but it looks like a Xcode bug, because I'm using GraphicsContext and Xcode can't render it properly on Storyboard. I may be wrong though.
Having the same issue, it isn't rendered in storyboard and throws these errors - but runs fine.
The same, XCode 9.2
Any updates? Still an issue here in XCode 10.1
This seems to be a Xcode problem.
Yes, has been around since Xcode 8. It's truly disappointing the engineers at Apple still have yet to fix this issue on complex StoryBoard/View layouts. Poor form Apple!