Reputation: 29
Please I need help, I searched everywhere on Internet but didn't found no answer.
How to use a variable in a Label text in the interface builder with the storyboard (Swift 5, Xcode 13) ?
To be more precise, I want from my IB to display in a label a string variable already initialized. How is it possible?
Thank you very much !
Upvotes: 0
Views: 660
Reputation: 1
In macOS the solution would be to use
NSString * variable = @"variable string";
kTextField_label.cell.text = variable;
Upvotes: -1