Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath:indexPath) as MyCell
- cell.setMyCell(self.data[0]["content"]!)
- cell.textAlignment red line appear and say "textAlignment in unavailable: API deprecated"
- cell.textLabel?.textAlignment = .center
- MyLabel1.textAlignment = NSTextAlignment.Center
- label.textAlignment = .Center
Add Comment
Please, Sign In to add comment