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"