Closed lovince closed 9 years ago
Nevermind! I found the issue.
I had set the top level view in Xib as CustomView instead of a standard UIView!
Worth a highlight in the Readme.
@lovince could you provide a sample project showcasing this? Would like to see it.
Also which Xcode version are you using?
My custom view from NibDesignable is crashing on line 64 of NibDesignable.swift
with EXC_BAD_ACCESS(code=2) when the view gets instantiated at run time. Placing breakpoints on the line suggests an infinite loop of sorts where the initializer gets called over and over again.
I am currently debugging in a bare project and have also stripped my custom class to a bare skeleton as:
Any ideas?