07-21-2023, 08:50 PM
*I can not add comment as of now so adding this as an answer.*
@Andy's answer is good and the same results can be achieved with the following line of code:
tableView.tableFooterView = [UIView new];
'new' method belongs to `NSObject` class and invokes `alloc` and `init` methods for `UIView`.
@Andy's answer is good and the same results can be achieved with the following line of code:
tableView.tableFooterView = [UIView new];
'new' method belongs to `NSObject` class and invokes `alloc` and `init` methods for `UIView`.