I'm having a repeating problem in Xcode 4.5 and would like to ask for help/advice.
Have been creating a new class, BIDSwitchViewController, which is a subclass of UIViewController. When I go to the Identity Inspector to layout the .xib file, of course I want to change the class it belongs to to BIDSwitchViewController, so that I can layout my objects and make my connections.
But BIDSwitchViewController doesn't show up in the dropdown list for Custom Class in Identity Inspector. So then I hardcode "BIDSwitchViewController" into the text box, but then that doesn't stick.
What am I doing wrong,and what can I do to fix this?
Thanks in advance.
My way to solve this problem is to restart my Xcode! Then all works fine. Just have a try!
If restarting doesn't fix it...
.Storyboard
or .XIB
....Or try and open up your .Storyboard
or .XIB
in a new tab. Basically you just want to force the IB
to reload and re-render.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With