I want to get the associated value of swift enum object, is there a way to do it shorter/better than in switch statement below?I want to get the associated value of swift enu
I want to get the associated value of swift enum object, is there a way to do it shorter/better than in switch statement below?I want to get the associated value of swift enu