Free online content available in this course.
Last updated on 4/27/23
Understand Table Customization and Notifications
- Implement custom reusable components
- Implement local notifications
How can a cell with custom functionality be implemented?
By connecting the UI elements of the cell in the storyboard to the view controller code that correspond to the screen with table view.
UITableViewclass and connecting cell's UI components to the code of the subclass
UITableViewCellclass and connecting cell's UI components to the code of the subclass .
By implementing a protocol that a cell must comply to.
How can cell content be accommodated that is of a dynamic size?
By using maximum possible size for each element on the storyboard.
It's handled automatically by UITableView functionality.
Creating different cell prototypes for each size possibility.
Using Auto Layout, using priority of constraints to accommodate dynamic in content size variations.
Select the true statements regarding using delegation in table cell - view controller relationship:Careful, there are several correct answers.
Delegation can be used to implement communication from table view cell subclass to the view controller.
To use delegation, a table cell subclass needs to declare a delegate of a required protocol that a view controller can be assigned to.
A view controller must comply to a required cell's protocol in order to handle cell's actions.
A cell must comply to a specified protocol in order to accept a view controller as a delegate of that protocol.
- Up to 100% of your training program funded
- Flexible start date
- Career-focused projects
- Individual mentoring