13
모든 열거 형 값을 배열로 가져 오는 방법
다음 열거 형이 있습니다. enum EstimateItemStatus: Printable { case Pending case OnHold case Done var description: String { switch self { case .Pending: return "Pending" case .OnHold: return "On Hold" case .Done: return "Done" } } init?(id : Int) { switch id { case 1: self = .Pending case 2: …