Avatar
omochimetaru 6/9/2020 10:21 AM
comparableならクロージャ無しでsortできるけど
10:22 AM
その形だと元の型を最後に取り出したいから、それは使えない
10:25 AM
Hey everyone, I'd like to continue a discussion about sorting ergonomics that I pitched in July. (This is a refined iteration of that pitch, based on great feedback from the original thread). Today, to sort a Collection of non- Comparable elements, we write a closure that re...
❤️ 1
10:25 AM
フォーラムに提案はあるね
10:26 AM
NSArrayのNSSortDescriptorを使うやつが既存の似たやつかも