Swift Tutorial
- Swift StringsStrings in Swift are an ordered collection of characters, such as
- Swift - Comparison OperatorsComparison operators are used to compare the values of two operands and returns either true or false.
- Swift - CommentsComments are the special text in the programs that are not compiled by the compiler. The main agenda of the comments is to explain to us what is happening in the specific line of code or in the whole program. Programmers generally add comments to explain the line of codes in the program.
- Swift - ConstantsConstants refer to fixed values that a program may not alter during its execution. Constants can be of any data type like an integer, float, character, double, or a string literal. There are enumeration constants as well. They are treated just like regular variables except for the fact that their va
- Swift - VariablesA variable provides us with named storage that our programs can manipulate. Each variable in Swift has a specific type, which determines the size and layout of the variable's memory. A variable can store the range of values within that memory or the set of operations that can be applied to the varia
- Swift - RecursionRecursion is a technique in which a function calls itself directly or indirectly to solve a problem. Instead of solving the entire problem at once it divides the problem into smaller sub-problems and then solves them by calling itself repeatedly until it reaches to the base condition. A recursive fu
Page 1 / 16Next