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 Weather App with Swift (Retired) Displaying Our Weather Data The End!

Juran-Perez Moodley
Juran-Perez Moodley
2,018 Points

Need help DEBUGGING! PLEASE!

10:38 PM 2015-05-06 22:39:06.110 Stormy[12138:664808] -[Stormy.ViewController refresh:]: unrecognized selector sent to instance 0x7fea8a5a4120 2015-05-06 22:39:06.275 Stormy[12138:664808] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Stormy.ViewController refresh:]: unrecognized selector sent to instance 0x7fea8a5a4120' *** First throw call stack: ( 0 CoreFoundation 0x000000010e1d4a75 exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010fd2cbb7 objc_exception_throw + 45 2 CoreFoundation 0x000000010e1dbd1d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x000000010e1339dc ___forwarding_ + 988 4 CoreFoundation 0x000000010e133578 CF_forwarding_prep_0 + 120 5 UIKit 0x000000010ea68a22 -[UIApplication sendAction:to:from:forEvent:] + 75 6 UIKit 0x000000010eb6fe50 -[UIControl _sendActionsForEvents:withEvent:] + 467 7 UIKit 0x000000010eb6f21f -[UIControl touchesEnded:withEvent:] + 522 8 UIKit 0x000000010eaaeb68 -[UIWindow _sendTouchesForEvent:] + 735 9 UIKit 0x000000010eaaf493 -[UIWindow sendEvent:] + 683 10 UIKit 0x000000010ea7bfb1 -[UIApplication sendEvent:] + 246 11 UIKit 0x000000010ea89227 _UIApplicationHandleEventFromQueueEvent + 17700 12 UIKit 0x000000010ea6423c _UIApplicationHandleEventQueue + 2066 13 CoreFoundation 0x000000010e109c91 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17 14 CoreFoundation 0x000000010e0ffb5d __CFRunLoopDoSources0 + 269 15 CoreFoundation 0x000000010e0ff194 __CFRunLoopRun + 868 16 CoreFoundation 0x000000010e0febc6 CFRunLoopRunSpecific + 470 17 GraphicsServices 0x0000000111ecca58 GSEventRunModal + 161 18 UIKit 0x000000010ea67580 UIApplicationMain + 1282 19 Stormy 0x000000010dbd9eee top_level_code + 78 20 Stormy 0x000000010dbd9f2a main + 42 21 libdyld.dylib 0x0000000110508145 start + 1 22 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

Chris Shaw
Chris Shaw
26,676 Points

Hi Juran-Perez Moodley,

The error is stating that you don't have an method called refresh within your ViewController class, without being able to see you code we really can't say much more than it is indeed missing however is could also be as simple as a typo. If you could please post your code that would help us to help you.

https://teamtreehouse.com/forum/posting-code-to-the-forum