#swift
Read more stories on Hashnode
Articles with this tag
Swift has first-class functions. First-class functions can be Stored into variable Returned from a function Passed as an argument Returning a...
Reduce is defined as below: Returns the result of combining the elements of the sequence using the given closure. Can we form the result of a...
Struct: It has value semantics and hence variable and value is unified. Each instance can have only one owner The value held by a variable can not...
Serial Queue: Executes only one item at a time irrespective of the number of tasks in the Queue Good when there is a necessity to provide controlled...
Javascript: console.log("A" > "a") //Intuition says true Swift: print("A">"a") //Intuition says true What is the expected result? My mental about...