title: In iOS, how to connect a Label to a View using a storyboard?
body: <p>I'm making a simple iOS app and I've seen that you can connect a Label to a view controller using the storyboard by holding the control button and dragging from the Label to the view controller, creating an IBOutlet. I like how convenient this is.</p>
  
  <p>I'm wondering how to make an IBOutlet to a view, <em>not</em> the view controller. I've made a custom view and put some Labels on it. I want these labels to be referenced in my <em>view</em> class, not the <em>view controller</em>. But XCode doesn't seem to let me make an IBOutlet unless I drag to a <em>view controller</em>. Is there a way around this?</p>
  
  <p>The only other option I can think of is to create the Labels on the view programmatically, but I would rather not do this. I'm trying to keep the labels as part of the view, I don't think the view controller needs to know about them.</p>
  
  <p>On the <em>possible duplicate</em>: My question is specific about trying to connect a Lable (or any control really) to a view rather than a view controller using the storyboard. The question linked is not specific, and seems more like a new user asking for help using xcode. The accepted answer there is not helpful to my question.</p>