Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AsgerLund

macrumors newbie
Original poster
Jun 4, 2015
1
0
I want to style my cell in tableView to show three variables.

I have make a mockup to show the idea:

ex.jpg

But I'm having trouble aligning the right column. Can you show me an example on how to do it in Swift?
 
Are you doing this via code? I would recommend it doing it via storyboard with a prototype cell and auto layout. You can create your layout that will handle the different length text in auto layout very easy.

Screen Shot 2015-06-04 at 9.58.42 AM.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.