0

I have three(can be many) parameters and their values like :

School     : Bomey School
Degree     : MBA
Profession : Student

I want to display above texts as it is on a view. But suppose the profession is Lecturer, I dont want to show the line saying Degree at all.

So the profession field should be moved up. For this reason, I cant use the labels and textfields with bindings to populate data on UI.

So how can I populate data like above dynamically using code instead of using IB components and connections? The colons should be aligned vertically in single line.

laalto
  • 150,114
  • 66
  • 286
  • 303

0 Answers0