The Interface Builder crashes with the following error:
Pods/LabelSwitch/LabelSwitch/Classes/LabelSwitch.swift: 63: 28: Fatal error: Use of unimplemented initializer 'init(frame:)' for class 'LabelSwitch.LabelSwitch'
I think the only thing required is to implement init(frame:). It could be as simple as this:
public override init(frame: CGRect) {
self.init(center: .zero, leftConfig: .defaultLeft, rightConfig: .defaultRight)
}
The Interface Builder crashes with the following error:
Pods/LabelSwitch/LabelSwitch/Classes/LabelSwitch.swift: 63: 28: Fatal error: Use of unimplemented initializer 'init(frame:)' for class 'LabelSwitch.LabelSwitch'I think the only thing required is to implement
init(frame:). It could be as simple as this: