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 trialcarmenfedor
5,685 PointsConnect 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.
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
50,595 PointsThat'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 :) )
Holger Liesegang
50,595 PointsHi 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 :(
carmenfedor
5,685 PointsThanks for the response. Same behaviour. Any other suggestions?
carmenfedor
5,685 Pointscarmenfedor
5,685 PointsThat worked! Thanks very much Holger.