Here is what I have at the moment.
How do I refer to this so that I can change the text colour to match my index list? The sectionForSectionIndexTitle worked well for adding in the correct section title but how exactly does one access the title element?
Or is it impossible and I need to redraw the view and add it with viewForHeaderInSection?
you can use the one of
UITableViewDelegate
's methodswift3 and above
objective C
for Reference I taken the model answer from here
Custom Title:
One liner solution (using optional chaining):
I would use the Appearance() proxy class. I usually add them in a function in AppDelegate and call them didFinishLaunching.
You can make your own section title (header/footer) view, and it is easy.