Put this wallpaper on cuz it looks cool

How I wasted hours trying to fix an error

“Thread 1 exception bla bla”, alright I need to fix this. Let’s look at what line it is.

*Solves it* okay now compile.

“Fatal error: found nil while trying to unwrap an optional value” AAAAAARGHH.

WHY CAN’T I LOAD THIS SIMPLE XIB FILE

This has been going on for hours, error after error.

Okay said, calm down, you can do this.

I sit back and just look at my screen, suddenly I realise something.

My xib file name was named “contentView”, when I tried to load the xib file I accidentally wrote “contView”.

…..

Lesson learned:

Next time double check how you wrote the file name.

Follow me on twitter @bachtarysevsaid