nsomar / OAStackView

Porting UIStackView to iOS 7+
MIT License
2.14k stars 200 forks source link

[XIB] Does not work on xib file? #95

Open stonezhang1412 opened 7 years ago

stonezhang1412 commented 7 years ago

I am trying to add stackview into my cel xib, but get error: - Unknown class OAStackView in Interface Builder file. - Failed to set (axisValue) user defined inspected property on (UIView): [<UIView 0x7f95e3cd4f70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key axisValue. - Failed to set (spacing) user defined inspected property on (UIView): [<UIView 0x7f95e3cd4f70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key spacing. Failed to set (alignmentValue) user defined inspected property on (UIView): [<UIView 0x7f95e3cd4f70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key alignmentValue. - Failed to set (distributionValue) user defined inspected property on (UIView): [<UIView 0x7f95e3cd4f70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key distributionValue.

Btw I already tested successfully on storyboard.