# Newb stuck on unwrapping error

**URL:** <https://forums.kodeco.com/t/newb-stuck-on-unwrapping-error/13125>\
**Category:** iOS Apprentice\
**Created:** [April 11, 2016, 9:12pm UTC](https://forums.kodeco.com/t/newb-stuck-on-unwrapping-error/13125 "2016-04-11T21:12:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomparadis](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/tomparadis/32/39162_2.png) [@tomparadis](https://forums.kodeco.com/u/tomparadis)\
**Post date:** [April 11, 2016, 9:12pm UTC](https://forums.kodeco.com/t/newb-stuck-on-unwrapping-error/13125/1 "2016-04-11T21:12:45Z")

</div>

Hi there- I’m literally on day 2 of this and new to coding so I’m sure this is obvious but I’m stuck: I’m getting an unwrap error where a value is coming up nil. I even tried copying in the source code from the tutorial verbatim, though, and that seemed to give me the same error. The simulator says build successful for a hot second but then crashes before load with the following error. What am I missing here?

Thanks  
Tom

 ![](https://raywenderlich-com-v3-forums.s3.amazonaws.com/original/3X/d/2/d289863d323988b001827f920815458a9fe04b14.png)

---

<div class="post-metadata">

**Author:** ![tomparadis](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/tomparadis/32/39162_2.png) [@tomparadis](https://forums.kodeco.com/u/tomparadis)\
**Post date:** [April 11, 2016, 9:30pm UTC](https://forums.kodeco.com/t/newb-stuck-on-unwrapping-error/13125/2 "2016-04-11T21:30:24Z")

</div>

Heyyyy I think I figured it out myself. Since it didn’t seem to be code within the View Controller I checked out the difference in the connections in my storyboard and apparently I was missing the referencing outlet between the slider and the View Controller.

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [April 12, 2016, 5:59am UTC](https://forums.kodeco.com/t/newb-stuck-on-unwrapping-error/13125/3 "2016-04-12T05:59:23Z")

</div>

Yep, that’s exactly what the error message is telling you. It would be nicer if it said “you probably forgot to connect the outlet”, but Xcode isn’t that smart. 😉
