# Chapter 22 - Can't connect IBOutlet to Message Label

**URL:** <https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248>\
**Category:** iOS Apprentice\
**Created:** [September 28, 2020, 6:31pm UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248 "2020-09-28T18:31:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveb\_la](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/steveb_la/32/102075_2.png) [@steveb\_la](https://forums.kodeco.com/u/steveb_la)\
**Post date:** [September 28, 2020, 6:31pm UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248/1 "2020-09-28T18:31:56Z")

</div>

I starting MyLocations in iOS Apprentice 8.3.0 with XCode 12. I’ve added the IBOutlets in CurrentLocationViewController and all the labels to the Tag Scene. When I ctrl-drag from the Message label to the IBOutlet, it doesn’t connect. I’ve tried dragging from the outline and that doesn’t connect either. One note is that the initial view controller has been deleted from the storyboard and a tab bar controller has been dragged to the storyboard.

Any suggestions would be appreciated.

---

<div class="post-metadata">

**Author:** ![syedfa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/syedfa/32/101500_2.png) [@syedfa](https://forums.kodeco.com/u/syedfa)\
**Post date:** [September 29, 2020, 3:40am UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248/2 "2020-09-29T03:40:23Z")

</div>

@steveb_la Thanks very much for your question!

The first thing I would ask is, have you linked the CurrentLocationViewController to the screen in the storyboard? I believe what you are referring to as the “tag scene”? Please check and make sure that you have done this.

---

<div class="post-metadata">

**Author:** ![steveb\_la](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/steveb_la/32/102075_2.png) [@steveb\_la](https://forums.kodeco.com/u/steveb_la)\
**Post date:** [September 29, 2020, 5:33pm UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248/3 "2020-09-29T17:33:12Z")

</div>

Thank you, Syedfa. I had missed that part. I needed to change the class on the Tag Scene to CurrentLocationViewController. I will update my notes on the tab bar controller issue.

---

<div class="post-metadata">

**Author:** ![syedfa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/syedfa/32/101500_2.png) [@syedfa](https://forums.kodeco.com/u/syedfa)\
**Post date:** [September 30, 2020, 7:38am UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248/4 "2020-09-30T07:38:40Z")

</div>

@steveb_la Happy to help!

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [March 14, 2021, 10:31am UTC](https://forums.kodeco.com/t/chapter-22-cant-connect-iboutlet-to-message-label/121248/5 "2021-03-14T10:31:59Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
