We will use the sample json mentioned below to explain Playground file is attached to test the below mentioned examples. Codable What’s encoding and decoding in simple terms in the context. Decoding : We need to convert JSON response to the objects defined in our projectt Encoding : We need to convert ourContinue reading “JSON serialization using Codable Swift”
Author Archives: GMRF
Access specifiers across dynamic frameworks and apps – Swift iOS
Access control defines how to allow access to parts of your code from code in other files and modules/frameworks. This feature enables you to hide the implementation details of your code, and to specify a preferred interface through which that code can be accessed and used.You can assign specific access levels to individual types likeContinue reading “Access specifiers across dynamic frameworks and apps – Swift iOS”
iOS Localization – Device specific, Width specific, Singular/plural strings
This is a quick write up on localization based on different scenarios we encounter in app development , how Stringsdict file is more advantageous in certain scenarios that plain strings file.This article assumes basic understanding of localization on iOS. Scenario 1: What if I want to show different localization strings for singular and plural stringContinue reading “iOS Localization – Device specific, Width specific, Singular/plural strings”