Forum Archive

Alphabet index for TableView

polymerchm

is the alphabet quick index exposed in pythonista. I'm loathe to make 26 cute little buttons, but will do so if necessary.

dgelessus

If that's what you're looking for, you can import string and use the string.ASCII_LOWERCASE and string.ASCII_UPPERCASE lists, which contain a-z and A-Z respectively.

PS: Sorry, I may have misunderstood your question. I thought you wanted to create 26 buttons from A to Z for a UI.

omz

No, the section index isn't available in the ui module.