nsomar / OAStackView

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

Interacting with a stackView created in Storyboard in code crashes #79

Open m-levi opened 8 years ago

m-levi commented 8 years ago

I have an OAStackView that I created in my storyboard. In storyboard, I set the class to OAStackView, and set its constraints. I made an IBOutlet to this stackView in my code. In my code, when I try to edit any attributes of the stackView, like the distribution, or adding another view, the app crashes and gives me the following error:

-[UIView setDistribution:]: unrecognized selector sent to instance 0x155d6500

Not really sure what I'm doing wrong, any help would be greatly appreciated, Thanks!!

zhorkov023 commented 8 years ago

Try to delete Module at Custom Class for OAStackView in InterfaceBuilder.