You want to use the Objective-C
-selfmethod. Getting this is a bit tricky. This will work:
let s = "self" let section = col.section(for: "Foo", collationStringSelector: Selector(s))
There might be a better way but I couldn’t find one that works and doesn’t generate any warnings. Perhaps someone else will chime in.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
What does that string represent (title?) & what will you do w/it once you get it back?
It may be the method you've shown isn't your best friend...
It's just a string to show in the table. It has to be passed through the UILocalizedIndexedCollection so I have no choice but to pass it into that method.