NSLayoutConstraint withVisualFormat - help needed

Hello,

I've been trying to wrap my head arround NSLayoutConstraint withVisualFormat and I'm having a heck of a time. I have three lables and I want to order them in a specific format but I cant seem to get it. I'm doing this in a custom UITableViewCell.



I have tried to draw the cell layout below. How would I accomplist this?


--------------------------------------------------------------------------------

(10 padding)Name

ColorName(10 padding)

(10 padding)Description

--------------------------------------------------------------------------------


Thanks!

Replies

That's a duplicate post. I've answered in the Swift forum.


ttps://forums.developer.apple.com/message/319079#319079

Thanks to close this one.