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!

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


Christopher Young
Christopher Young
Courses Plus Student 5,506 Points

I get the error message (use of unresolved identifier) when I try to instantiate the NetworkOperation struct.

The compiler doesn't recognise the NetworkOperation.swift struct at all, even when I try to instantiate it outside of the getForcast function in the global scope ? I would appreciate some help...

Nathan Tallack
Nathan Tallack
22,159 Points

Can you show us your code? Be sure to comment it correctly so that it formats right in the forum. Read the Markdown Cheatsheet for info on how to do that.

1 Answer

Albert González
Albert González
22,953 Points

Share the code, please. Thank you :)