How to Write Decoupled CodeDecoupling code in Swift involves designing your classes, structs, and functions so that they have minimal dependencies on one another…Jan 11, 20231Jan 11, 20231
Swift Strong and Weak ReferencesIn Swift, ARC (Automatic Reference Counting) automatically handles the allocation and deallocation of memory.Oct 4, 2022Oct 4, 2022
Swift Hashable: compare instancesIn Swift, a Hashable is a protocol that provides a hashValue to our object. The hashValue is used to compare two instances.Oct 4, 2022Oct 4, 2022
Swift Access ControlIn Swift, access controls are used to set the accessibility (visibility) of classes, structs, enums, properties, methods, initializers, and…Oct 4, 2022Oct 4, 2022
Swift GenericsSwift Generics allows us to create a single function and class (or any other types) that can be used with different data types.Oct 4, 2022Oct 4, 2022
Swift: "try, try?, and try!"Many developers are confused by the different flavours of the try keyword.Oct 4, 2022Oct 4, 2022
Swift ClosuresA closure is a special type of function without the function name.Oct 3, 2022Oct 3, 2022
Swift RangesIn Swift, a range is a series of values between two numeric intervals.Oct 3, 2022Oct 3, 2022
Internet connectivity: NWPathMonitorApple’s Network framework provides a number of useful classes for working with network data, including one specifically designed to monitor…Oct 3, 2022Oct 3, 2022
Swift OperatorsOperators are special symbols that perform operations on variables and values.Oct 3, 2022Oct 3, 2022