One way to provide the sorting closure is to write a normal function of the correct type, and to pass it in as an argument to the sorted(by:) method: func ...
確定! 回上一頁