SpokaneDude
SpokaneDude

Reputation: 4974

Unable to create a new outlet connection for UIImage

I have an iPad app, using Storyboards, XCode 4.5. On one of my scenes, I have a UIImage that I am trying to create a @property and make a connection to it. So I do a CTRL drag from the UIImage to the .h file. I have cleaned the app several times (CMD+OPTION+K), and get this message: enter image description here

I've never had this problem before. First of all, what is causing this and secondly, how do I fix this?

Upvotes: 1

Views: 589

Answers (2)

J Shapiro
J Shapiro

Reputation: 3861

Try removing the derived data for this app.

1) Close the project, but keep Xcode open.

2) Go to Xcode's Organizer and select the Projects pane.

3) Delete the Derived Data for the project (if it doesn't disappear after the first delete, try doing it again).

4) Shut down / Restart Xcode, do another "clean," and try again.

Upvotes: 2

Lefteris
Lefteris

Reputation: 14677

Happened to me once.

  1. Close & reopen Xcode
  2. Make Sure that the Nib file class is set correctly to the appropriate class name

Upvotes: 1

Related Questions