Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.62k stars 1.12k forks source link

Custom headers/footers #525

Open RSafargalin opened 2 years ago

RSafargalin commented 2 years ago

Description

Need table delegate methods to work with custom headers and footers:

func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {

}

func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {

}

P.S. Or tell me how to do it right. Thank you!

What type of issue is this?

Requirements


SkeletonView Environment:

SkeletonView version: Last Xcode version: 14.0 Swift version: 5.6+

Expected result:

Ability to return a custom header with filled data

Actual result:

Returns the default header without data. Skeleton works as it should.