Swift – Optional Chaining
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 - 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.…
This chapter is about Swift - Subscripts. Accessing the element members of a collection, sequence and a list in Classes, Structures and Enumerations are carried out with the help of…
This topic is about Swift - Methods. In Swift 4 language Functions associated with particular types are referred to as Methods. In Objective C Classes are used to define methods,…
This topic is about Swift - Properties. Swift 4 language provides properties for class, enumeration or structure to associate values. Properties can be further classified into Stored properties and Computed…
This topic is about Swift - Classes. Classes in Swift 4 are building blocks of flexible constructs. Similar to constants, variables and functions the user can define class properties and…
This topic is about Swift - Structures. Swift 4 provides a flexible building block of making use of constructs as Structures. By making use of these structures once can define…