title: Observe value change from Cell to ViewController Swift
body: <p>I'm in trouble because I have a TableView with inside a CollectionView and I don't know how I can pass the current data that are inside my CollectionViewCell once the user clicked on it (didSelectItemAt). </p>
  
  <p>So I would wish to know if there is a way for observe the value that changed inside a variable. </p>
  
  <p>For example. When user is clicking the cell, a variable is updated with the current data contained in that cell and then I'm receiving the update in my ViewController that once that has been observed the value change, will call a function for update some values in it.</p>
  
  <p>Thanks! </p>