2021-09-30から1日間の記事一覧
こう書くとerrorDescriptionの型はStringになる. import Foundation struct MyError: LocalizedError { var errorDescription = "myError description" } print(MyError().localizedDescription) // The operation couldn’t be completed. (__lldb_expr_183…