Tag: swift

Chapter 9 : Swift Constants

  Constants is the fixed value of a program that may not be changed during the program execution, means we cannot change or modified its value after its definition. Constant can be a Enumeration/character / String / Float / Integer type .  Syntax:  we have to use let keyword for it let Name_of_constant =  initialize_value

Chapter 8 : Swift Tuples

As per definition of english word Tuple – A data structure consisting of multiple parts. So tuples are used to group multiple values in a single value.Its of any type. Syntax : var Tuple_name = (Tuple_value1, Tuple_value2, Tuple_value1….to any number of values) For Example : 1) Single value tuple var errorType = (404) we can

Chapter 5 : Swift Data types

In programming language we need to use different type of variables to store and transfer information from one view to another. Whenever a variable is  created we reserve some space to the memory,So variable are the reserved memory locations to store values. There are different type of variables in swift like character , string ,float

Chapter 2 : Overview

Swift 4.0 is release at 2017-09-19, and its stable version is released at 2017-03-29 by Apple Inc for iOS and OS X development. It adopts best of objective-C and C-language. Its  a new programming language, according to chris Lattner’s Homepage, he started work on the swift programming language in july of 2010. Safe programming patterns

Chapter 1 : Introduction

Paradigm : Swift is a general purpose multi-paradigm , compiled programming language developed by Apple In for iOS , macOS,watchOS,tvOS and linux. Designed By : Chris Lattner and Apple Inc Developer  : Apple Inc. First Appeared : 2 June 2014 Stable release : 4.1.2 May 31, 2018 Typing discipline : Static , strong, inferred OS