Simplifying Swift Data Conversion
Protocol Conformance vs. Mapping Functions
7 min readSep 5, 2023
Data transformation, a common task for iOS engineers, arises in various forms throughout one’s career. Whether it’s translating an API response into a model object or adapting a model object for display purposes, the process of conversion is inevitable. Yet, amidst this array of scenarios, how do you determine the most suitable…