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 Playlist Browser with Objective-C Refactoring Our Code Determining Playlists Programmatically

don't see outlet collection in connections inspector

I created the property playlistImageViews in the playlistMasterViewController as such:

@property (strong, nonatomic) IBOutletCollection(UIImageView) NSArray *playlistImageViews;

After I went to the storyboard clicked on the playlistMasterViewController view and checked the connection inspector. I was unable to see any options for outlet collections.

2 Answers

Ryan Jin
Ryan Jin
15,337 Points

You first have to select the view controller. To do that, click on the view, and hit the left button on the top, which is yellow. You can then go to the connection inspector and you will see all the connections between your code and the view.

I had the same problem until I added a semi-colon after my property statement. Try that.