Swift – Access Control
This topic is about Swift - Access Control. To restrict access to code blocks, modules and abstraction is done through access control. Classes, structures and enumerations can be accessed according…
This topic is about Swift - Access Control. To restrict access to code blocks, modules and abstraction is done through access control. Classes, structures and enumerations can be accessed according…
This topic is about Swift - Generics. Swift 4 language provides 'Generic' features to write flexible and reusable functions and types. Generics are used to avoid duplication and to provide…
This topic is about Swift - Protocols. Protocols provide a blueprint for Methods, properties and other requirements functionality. It is just described as a methods or properties skeleton instead of…
This topic is about Swift - Extensions. Functionality of an existing class, structure or enumeration type can be added with the help of extensions. Type functionality can be added with…
This topic is about Swift - Type Casting. To validate the type of an instance 'Type Casting' comes into play in Swift 4 language. It is used to check whether…
This topic is about Swift - Optional Chaining. The process of querying, calling properties, subscripts and methods on an optional that may be 'nil' is defined as optional chaining. Optional…
This topic is about Swift - ARC Overview. Memory management functions and its usage are handled in Swift 4 language through Automatic reference counting (ARC). ARC is used to initialize…
This topic is about Swift - Deinitialization. Before a class instance needs to be deallocated 'deinitializer' has to be called to deallocate the memory space. The keyword 'deinit' is used…
This topic is about Swift - Initialization. Classes, structures and enumerations once declared in Swift 4 are initialized for preparing instance of a class. Initial value is initialized for stored…
This topic is about Swift - Inheritance. The ability to take than more form is defined as Inheritance. Generally a class can inherit methods, properties and functionalities from another class.…