title: CarbonKit : How To pass tab array title ID to UIViewController?
body: <p><a href="https://i.stack.imgur.com/7L2AZ.png" rel="nofollow noreferrer">enter image description here</a>I'm using <code>CarbonKit</code> in <code>ViewController</code>. Its working fine. Here, I'm using one <code>tableview</code> for all Segment Array title ID. And i got title ID when i was selected Tab and swipe, and stuck with passing array title ID to server(<code>TableView</code>) when i'll changing index from left ---> right &amp; right ---> left. </p>
  
  <p>My Code: Names Array</p>
  
  <pre><code> self.carbonTabSwipeNavigation = CarbonTabSwipeNavigation(items: self.names as [AnyObject], delegate: self)
  </code></pre>
  
  <p>setting <code>ViewController</code></p>
  
  <pre><code> func carbonTabSwipeNavigation(_ carbonTabSwipeNavigation: CarbonTabSwipeNavigation, viewControllerAt index: UInt) -&gt; UIViewController {
  
      studentid = studentidArray.object(at: Int(index)) as! String
      print(studentid)
      return self.storyboard!.instantiateViewController(withIdentifier: "LeaveTableVC") as! LeaveTableVC
  }
  </code></pre>
  
  <p>I has shown names on 'ViewController' with 'tableview'. Now I need to send name of ID to server, when swipe and tap the segment tab.  Please help i'm stuck. Thank you</p>