alokc83 / MASegmentedControl

Super customizable segmented control
MIT License
80 stars 31 forks source link

Unknown class MASegmentedControl in Interface Builder file. #9

Open DouglasHennrich opened 4 years ago

DouglasHennrich commented 4 years ago

I'm trying to use your framework(0.0.5) with Pods. I added a view on IB and change it's class to MASegmentedControl but when I run the project and the view controller opens, I get this message on console and a crash.

2020-08-20 00:12:17.003496-0300 ObjB2WLoja[23179:11584913] [Storyboard] Unknown class _TtC20ObjB2WBarcodeScanner18MASegmentedControl in Interface Builder file.
2020-08-20 00:12:17.004296-0300 ObjB2WLoja[23179:11584913] Failed to set (padding) user defined inspected property on (UIView): [<UIView 0x7ffe7039d4b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key padding.
alokc83 commented 3 years ago

It seem like you have storyboard connection issue. I would recommend to remove the control from storyboard. Build, it should build. Then add control to storyboard.

alokc83 commented 3 years ago

Also let me know what Xcode are you using. I haven't tested control on xcode 12.0 yet

alokc83 commented 3 years ago

@DouglasHennrich Did you get your issue resolved?