title: Swift: How to pass Data into my shopping Cart(Array)?
body: <p>Im new here and trying to write my first little App in Swift. 
  I have to program a little Book-Shopping-App but now I have a problem. 
  If I press the "add to card"-Button in my DetailView I want to pass my Book-Data to my Shopping-Card-Class. The Shopping-Card-Class is a TableView with an Array.
  So this my DetailView: <a href="http://fs5.directupload.net/images/160120/tpsdezys.png" rel="nofollow">http://fs5.directupload.net/images/160120/tpsdezys.png</a></p>
  
  <p>If I press this I want to pass it to my Shopping-Card-Class/Screen, here:
  <a href="http://fs5.directupload.net/images/160120/qhsbi6aq.png" rel="nofollow">http://fs5.directupload.net/images/160120/qhsbi6aq.png</a></p>
  
  <p>In my DetailView is all the book stuff like :
  var autorName: String?
  var title: String?
  var price: String?
  var image: String?</p>
  
  <p>And in the Shopping-Card-Class is a Array, thats it, but I dont know how to pass the data :/</p>
  
  <p>If I press the button I just add the book, I dont switch the screens.</p>
  
  <p>I've used Delegates before but never in combination with arrays, 
  pls help :/
  I used it here, look: fs5.directupload.net/images/160121/8zmfqef4.png
  and passed the data to this screen:
  fs5.directupload.net/images/160121/2263tiwl.png</p>