Avatar
norio_nomura 7/27/2017 6:55 AM
そうか、こんな書き方できるのか。 enum EE { case a(Int, Int) } let ee = EE.a(12, 1) if case let .a(12, y) = ee { print(y) }