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

Connecting properties in Xcode via Storyboard

Hello all, I am trying to connect a UIView which is on a UIViewController to the property DSLCalendarView (this comes from a project on github which is a calendar control at link: https://github.com/PeteC/DSLCalendarView/tree/master/DSLCalendarView) but whenever I try to connect this UIView to the DSLCalendarView property, the property does not highlight as to indicate that they are able to connect. What am I doing wrong and what should I do to solve this problem? Thank you!

3 Answers

Make sure that your viewController links to the subclass files you're wanting to code with. Go to the storyboard, click the viewController you're talking about, go to the identity inspector in the Utilities and select "DSLCalenderView" from the Custom Class list. You should be able to connect the two now.

I got it thank you!

But now I have a different problem, now when I try to declare the calendarView object as a delegate of self, it gives me a sigbart message. What should I do?