I'm added in two labels into a table cell, the top one being left justified and the bottom being right justified, however the text isn't displaying properly.
I added the proper constraints for the tableview in storyboard but that hasn't resolved the issue. Here is the code i used to set up the labels and the resulting screenshot, I'm only using the borders for debugging purposes
    let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath)
    var label1 = UILabel(frame: CGRectMake(0,0, cell.bounds.width, cell.bounds.height/3))
    var label2 = UILabel(frame: CGRectMake(0,cell.bounds.height/3, cell.bounds.width, cell.bounds.height/3 * 2))
    label1.textAlignment = .Left
    label1.text = "AAAA"
    label1.layer.borderColor = UIColor.blackColor().CGColor
    label1.layer.borderWidth = 1.0
    label2.textAlignment = .Right
    label2.text = "BBBB"
    label2.layer.borderColor = UIColor.redColor().CGColor
    label2.layer.borderWidth = 1.0
    cell.addSubview(label1)
    cell.addSubview(label2)
edit: adding in new picture to show constraints


 
     
     
    