I have a static UITableView, content of each cell I've made in storyboard, but I need to change texLabels of some cells programmatically while runtime. How can I do it?
Ios – Change textlabel in static cells in UITableView
iosobjective cuitableview
Related Topic
- Ios – Eliminate extra separators below UITableView
- Ios – Passing data between view controllers
- Ios – In a storyboard, how to make a custom cell for use with multiple controllers
- Ios – How to use static cells in UITableView without using Storyboards
- Ios – Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
- R – Is a guid as identity field better in domain-driven design
Best Answer
Create a property for each cell you want to change in your table view controller, like so:
Connect each one to a cell in Interface Builder.
When you only need to change the label's text, you can use
If you need to replace the whole label, use