title: UIView animation doesn't work properly inside UITableViewCell
body: <p>I have a UITableViewCell, which contains a UIView that is being animated when the TableViewCell's awakeFromNib() is being called.
  The animation does work for cells that are called when the TableViewController appears but the cells that are being generated when scrolling don't move at all.
  How can I solve this?
  <a href="https://github.com/evenwerk/Animation-in-TableView" rel="nofollow">I added an example on Github to demonstrate the issue.</a></p>
  
  <p><strong>The TableViewController</strong></p>
  
  <pre><code>import UIKit
  
  class ViewController: UITableViewController {
  
  override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return 20
  }
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = self.tableView.dequeueReusableCellWithIdentifier("cell") as! TableViewCell
  
      return cell
  }
  
  override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
      // Dispose of any resources that can be recreated.
  }
  
  
  }
  </code></pre>
  
  <p><strong>The TableViewCell</strong></p>
  
  <pre><code>import UIKit
  
  class TableViewCell: UITableViewCell {
  
  @IBOutlet weak var animatorCell: UIView!
  
  override func awakeFromNib() {
      super.awakeFromNib()
      // Initialization code
      UIView.animateWithDuration(0.3, delay: 0.0, options: [.CurveEaseInOut, .Repeat, .Autoreverse], animations: { () -&gt; Void in
          self.animatorCell.transform = CGAffineTransformMakeTranslation(0, 10)
          }, completion: nil)
  }
  
  }
  </code></pre>