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

M T
M T
11,934 Points

FaceSnap: Use of instance member 'MediaPickerManager' on type 'PhotoListController'; did you mean to use. . .

Get this error:

"Use of instance member 'MediaPickerManager' on type 'PhotoListController'; did you mean to use a value of type 'PhotoListController' instead?"

For the following code at MediaPickerManager(presentingViewController:self)

[CODE] lazy var mediaPickerManager: MediaPickerManager = { let manager = MediaPickerManager(presentingViewController:self) manager.delegate = self return manager }() [/CODE]

I don't feel the problem is this block of code itself - because when I look at the supplied code from the teacher's notes/downloads I don't get this error. I haven't been able to identify missing code; since I lack some understanding, I haven't been able to distinguish between the code I've yet to write and a single line I should have written within the completed files.