Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App (iOS7) Animating and Intercepting Events Image Based Animation

Connect greyed out when adding Referencing Outlet

I've run into an issue where when I try to connect a referencing outlet to my background the Connect button on the dialog is always disabled.

screenshot

I've tried restarting, and made sure I has the background image view selected but still stuck.

What am I doing wrong?

thanks!

2 Answers

Holger Liesegang
Holger Liesegang
50,595 Points

That's really weird. Ok then, can you insert @property (strong, nonatomic) IBOutlet UIImageView *backgroundImageView; to the @interface and ctrl drag from there to the Image View, please? (in reverse order so to say :) )

That worked! Thanks very much Holger.

Holger Liesegang
Holger Liesegang
50,595 Points

Hi Carmen,

Please try the following:

  • Product-->Clean

  • ctrl dragging from the Image View in the left overview panel (please see pic)

Oh, and yes, Xcode (esp. the Storyboard) has this kind of hiccups from time to time :(

Thanks for the response. Same behaviour. Any other suggestions?