0

I am having an issue when editing Storyboard views. When I click on a ViewController and attempt to assign it a custom class, nothing appears except UIViewController.

I have ensured the .m files appear in Compile Sources.

Here is the strange thing: If I store the project in my users /Documents/ directory, this issue happens randomly to all projects saved in there. If I copy the project folder to my Desktop and open it in XCode, my custom classes show up. I have the same issue on my Macbook as well.

  • "If I store the project in my users /Documents/ directory, this issue happens randomly to all projects saved in there" Well, then don't do that! - My first thought is, of course, that you should quit Xcode and clear the caches, as I explain here: http://stackoverflow.com/a/6247073/341994 – matt Jan 25 '15 at 00:52
  • By the way, I never expect anything to "appear". I just type the name of my view controller class. Does that work, at least? – matt Jan 25 '15 at 00:53
  • No, that didn't work. I tried cleaning Derived Data too. I should also mention I can type the name of my custom VC, but I still can't hook up any IBOutlets. – Michael Berse Jan 26 '15 at 04:16
  • The part about the Documents directory is the weird part. I just have to suggest that if working on the Desktop works, then do that! [You should be able to keep a project folder anywhere. I wonder whether the project got messed up so that paths are not relative?] – matt Jan 26 '15 at 04:29

0 Answers0