{"id":8916,"date":"2016-04-11T14:05:07","date_gmt":"2016-04-11T14:05:07","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/resources\/?p=8916"},"modified":"2020-08-11T20:29:07","modified_gmt":"2020-08-11T14:59:07","slug":"swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","title":{"rendered":"Swift Code Syntax : Important Cheat sheet &#038; references for Swift programmers"},"content":{"rendered":"<p class=\"mb20\">There\u2019s a lot of new syntax in Swift, so we thought it might be useful if we put together a cheat sheet\/quick reference on this particular language. Without further ado, let\u2019s see what are they:<\/p>\n<p class=\"mb20\">1. No .h and .m file, only one file with .swift extension<\/p>\n<p class=\"mb20\">2. No semicolon at the end of the statement<\/p>\n<p class=\"mb20\">3. No @ for literal strings<\/p>\n<p class=\"mb20\">4. No pointers. So, no use of asterisk<\/p>\n<p class=\"mb20\">5. Cannot use \u2019nil\u2019 with non-optional variables or constants<\/p>\n<p class=\"mb20\">6. No Mutable or Immutable concepts, var use to declare mutable and let use to declare immutable data type.<\/p>\n<p class=\"mb20\">7. In swift, strings are value type not object type.<\/p>\n<p class=\"mb20\">8. Constants declared as \u2018let\u2019 and variables with \u2018var\u2019<\/p>\n<p class=\"mb20\">9. Declaration and initialisation i.e. var message. For example, String= \u201cHello\u201d<\/p>\n<p class=\"mb20\">10. Multiple declaration i.e. var red, green,blue i.e. Double<\/p>\n<p class=\"mb20\">11. Print to console i.e. println(\u201cPrint\u201d)<\/p>\n<p class=\"mb20\">12. String interpolation i.e. \\(variable_name)\u201d)<\/p>\n<p class=\"mb20\">13. No parenthesis for if i.e. if age &lt; 60<\/p>\n<p class=\"mb20\">14. Assertion i.e. assert(age &gt;= 0, &#8220;A person&#8217;s age cannot be less than zero\u201d)<\/p>\n<p class=\"mb20\">15. Compound assignment operators i.e. +=<\/p>\n<p class=\"mb20\">16. Unary minus operator i.e. number<\/p>\n<p class=\"mb20\">17. Arithmetic i.e. 2+3<\/p>\n<p class=\"mb20\">18. Reminder operators i.e. 2%3<\/p>\n<p class=\"mb20\">19. Comparison operators i.e. a==b<\/p>\n<p class=\"mb20\">20. Overflow operators i.e. &amp;+<\/p>\n<p class=\"mb20\">21. Nil coalescing operators i.e. a ?? b<\/p>\n<p class=\"mb20\">22. Range operator i.e. 1\u20265<\/p>\n<p class=\"mb20\">23. Half open rage operator i.e. 1..<\/p>\n<p class=\"mb20\">24. Logical operators i.e. a || b<\/p>\n<p class=\"mb20\">25. String Concatenation i.e. string3 = string1 + string2 or string.append(\u201cstring\u201d)<\/p>\n<p class=\"mb20\">26. Array declaration &amp; initialication i.e. var shppinglist i.e. [String] = [\u201cEggs\u201d,\u201cmilk\u201d]\n<p class=\"mb20\">27. Set value of element in array i.e. set value i.e. shoppingList[0] = \u201cBaking powder\u201d<\/p>\n<p class=\"mb20\">28. Get value from array i.e. var value = shoppingList[0]\n<p class=\"mb20\">29. Change range of value of an array i.e. shoppingList[0\u20262] = [\u201cApple\u201d,\u201dBlackberry\u201d]\n<p class=\"mb20\">30. Array has functions like i.e. iEmpty, Append,InsertAtIndex,RemoveAtIndex, RemoveLast<\/p>\n<p class=\"mb20\">31. Array Iteration 1, for example,<\/p>\n<pre>        for (index, value) in enumerate(shoppingList)\n        {\n            statements\n        }\n<\/pre>\n<p class=\"mb20\">32. Array Iteration 2, for example,<\/p>\n<pre>    for index in 1\u20265\n    {\n        statements\n    }\n<\/pre>\n<p class=\"mb20\">33. Array Iteration 3, for example<\/p>\n<pre>    for _ index in 1\u20265\n    {\n        statements\n    }\n<\/pre>\n<p class=\"mb20\">34. Array Iteration 4, for example<\/p>\n<pre>    for var index = 0; index &lt; 5; ++index\n    {\n        statements\n    }\n<\/pre>\n<p class=\"mb20\">35. Dictionary declaration and initialisation i.e. var nameDict i.e.[string, string] = [\u201cFirstName\u201d &#8211; \u201cnam\u201d, \u201cLastName\u201d &#8211; \u201clastname\u201d]\n<p class=\"mb20\">36. Set value in dictionary i.e nameDict[\u201cFirstName\u201d] = \u201cMahesh\u201d<\/p>\n<p class=\"mb20\">37. Get value in dictionary i.e var firstName = nameDict[\u201cFirstName\u201d]\n<p class=\"mb20\">38. Dictionary has functions like isEmpty, count, updateValue(_,Forkey) ,removeValueForKey, keys,values<\/p>\n<p class=\"mb20\">39. Iteration with dictionary like<\/p>\n<pre>    for (key,value) in nameDict\n    {\n        statements\n    }\n<\/pre>\n<p class=\"mb20\">40. Empty Dictionary initialisation i.e. var dict = [Int, String] ()<\/p>\n<p class=\"mb20\">41. While loop :<\/p>\n<pre>     while condition\n     {\n        statements\n     }\n<\/pre>\n<p class=\"mb20\">42. Do-while loop :<\/p>\n<pre>     Do\n     {\n        statements\n     } while condition\n<\/pre>\n<p class=\"mb20\">43. If -else :<\/p>\n<pre>    if condition\n     {\n        statements\n     } else\n    {\n        statements\n    }\n<\/pre>\n<p class=\"mb20\">44. Switch :<\/p>\n<div style=\"padding-left: 30px;\">\n<pre>1.    switch \u2018value\u2019\n        {\n        case value1 :\n        \u2019statements'\n         case value2 :\n         \u2019statements\u2019\n        Default:\n         \u2019Statements\u2019\n        }\n<\/pre>\n<p class=\"mb20\">2. No implicit fall through<\/p>\n<p class=\"mb20\">3. Tuples can be used as case value in switch<\/p>\n<p class=\"mb20\">4. Control transfer statements are also available like break, continue &amp; fall through<\/p>\n<\/div>\n<p class=\"mb20\">45. Function i.e.<\/p>\n<pre>    Keyword FunctionName Parameter:DataType Return type\n    func sayHello:(helloInput:String) -&gt;String\n    {\n        return stringValue\n    }\n<\/pre>\n<p class=\"mb20\">46. Variadic function<\/p>\n<pre>    func arithmeticMean (numbers: Double...) -&gt; Double\n    {\n       var total: Double = 0\n       for number in numbers {\n           total += number\n       }\n       return total \/ Double(numbers.count)\n    }\n<\/pre>\n<p class=\"mb20\">47. Functions with multiple parameters Extra info about parameter Extra info about parameter<\/p>\n<pre>    func sayHello(to person: String, and anotherPerson: String) -&gt; String\n    {\n        return \"Hello \\(person) and \\(anotherPerson)!\"\n    }\n<\/pre>\n<p class=\"mb20\">48. Call by reference with inout and &amp; operator<\/p>\n<pre>    var arr = [1, 2, 3]\n\n    func addItem(inout localArr: [Int])\n    {\n       localArr.append(4)\n    }\n\n    addItem(&amp;arr)\n<\/pre>\n<p class=\"mb20\">49. Function with return type as Tuple<\/p>\n<pre>    func minMax(array: [Int]) -&gt; (min: Int, max: Int) {\n       var min\n       var max\n       return (currentMin, currentMax)\n    }\n<\/pre>\n<p class=\"mb20\">50. Nested functions :<\/p>\n<pre>    func chooseStepFunction(backwards: Bool) -&gt; (Int) -&gt; Int\n    {\n       func stepForward(input: Int) -&gt; Int { return input + 1 }\n       func stepBackward(input: Int) -&gt; Int { return input - 1 }\n       return backwards ? stepBackward : stepForward\n    }\n<\/pre>\n<p class=\"mb20\">51. Closure declaration :<\/p>\n<pre>    Structure\n    { (parameters) -&gt; return type in\n    statements\n    }\n\n    Example\n    {  (s1:string,s2:String) -&gt; Bool in\n        return s1 &gt; s2\n    }\n<\/pre>\n<p class=\"mb20\">52. Enumeration declaration :<\/p>\n<pre>    enum name\n     {\n    case 1\n    case 2\n    case 3\n    }\n<\/pre>\n<p class=\"mb20\">53. Enumeration with associated values :<\/p>\n<pre>     enum barcode\n    {\n        case UPCA(Int, Int, Int, Int)\n        case QRCode(String)\n     }\n<\/pre>\n<p class=\"mb20\">54. Strings, Array, Dictionaries, Structures are value types and Classes are reference types<\/p>\n<p class=\"mb20\">55. \u201coverride\u201d is the keyword used to override observers, getter\/setter, functions or subscript<\/p>\n<p class=\"mb20\">56. \u201cfinal\u201d is the keyword used to stop overriding<\/p>\n<p class=\"mb20\">57. External name means \u201cuser-defined-name\u201d is used to differentiate the definition of multiple init method with single parameter<\/p>\n<p class=\"mb20\">58. Class getting Properties from base must be initialised<\/p>\n<p class=\"mb20\">59. In case of optional chaining use \u201c?\u201d to unwrap data, Instead of using \u201c!\u201d<\/p>\n<p class=\"mb20\">60. For down casting a reference type variables use \u201cas?\u201d &amp; \u201cas!\u201d. While for value type use \u201cas\u201d keyword<\/p>\n<p class=\"mb20\">Hope the aforementioned cheat sheet &amp; references were insightful for all the Swift programmers.<\/p>\n<p class=\"mb20\"><strong>Written by \u2013 <\/strong><br \/>\nMahesh Asabe<br \/>\nTech Lead \u2013 Mobisoft Infotech<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s a lot of new syntax in Swift, so we thought it might be useful if we put together a cheat sheet\/quick reference on this particular language. Without further ado, let\u2019s see what are they: 1. No .h and .m file, only one file with .swift extension 2. No semicolon at the end of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8919,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[450],"tags":[],"class_list":["post-8916","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mguide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Swift Code Syntax : Important Cheat sheet &amp; references for Swift programmers - Mobisoft Infotech<\/title>\n<meta name=\"description\" content=\"Check out the important cheatsheet &amp; references for Swift programmers to create highly scalable mobile apps as per user requirements.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Swift Code Syntax : Important Cheat sheet &amp; references for Swift programmers - Mobisoft Infotech\" \/>\n<meta property=\"og:description\" content=\"Check out the important cheatsheet &amp; references for Swift programmers to create highly scalable mobile apps as per user requirements.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-11T14:05:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-11T14:59:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"830\" \/>\n\t<meta property=\"og:image:height\" content=\"380\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pritam Barhate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pritam Barhate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\"},\"author\":{\"name\":\"Pritam Barhate\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"headline\":\"Swift Code Syntax : Important Cheat sheet &#038; references for Swift programmers\",\"datePublished\":\"2016-04-11T14:05:07+00:00\",\"dateModified\":\"2020-08-11T14:59:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\"},\"wordCount\":563,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg\",\"articleSection\":[\"MGuide\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\",\"name\":\"Swift Code Syntax : Important Cheat sheet & references for Swift programmers - Mobisoft Infotech\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg\",\"datePublished\":\"2016-04-11T14:05:07+00:00\",\"dateModified\":\"2020-08-11T14:59:07+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"description\":\"Check out the important cheatsheet & references for Swift programmers to create highly scalable mobile apps as per user requirements.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg\",\"width\":830,\"height\":380,\"caption\":\"iPhone Programming\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Swift Code Syntax : Important Cheat sheet &#038; references for Swift programmers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\",\"name\":\"Pritam Barhate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"caption\":\"Pritam Barhate\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Swift Code Syntax : Important Cheat sheet & references for Swift programmers - Mobisoft Infotech","description":"Check out the important cheatsheet & references for Swift programmers to create highly scalable mobile apps as per user requirements.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","og_locale":"en_US","og_type":"article","og_title":"Swift Code Syntax : Important Cheat sheet & references for Swift programmers - Mobisoft Infotech","og_description":"Check out the important cheatsheet & references for Swift programmers to create highly scalable mobile apps as per user requirements.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","og_site_name":"Mobisoft Infotech","article_published_time":"2016-04-11T14:05:07+00:00","article_modified_time":"2020-08-11T14:59:07+00:00","og_image":[{"width":830,"height":380,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg","type":"image\/jpeg"}],"author":"Pritam Barhate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pritam Barhate","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2"},"author":{"name":"Pritam Barhate","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"headline":"Swift Code Syntax : Important Cheat sheet &#038; references for Swift programmers","datePublished":"2016-04-11T14:05:07+00:00","dateModified":"2020-08-11T14:59:07+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2"},"wordCount":563,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg","articleSection":["MGuide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2","name":"Swift Code Syntax : Important Cheat sheet & references for Swift programmers - Mobisoft Infotech","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg","datePublished":"2016-04-11T14:05:07+00:00","dateModified":"2020-08-11T14:59:07+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"description":"Check out the important cheatsheet & references for Swift programmers to create highly scalable mobile apps as per user requirements.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/04\/In-house-Banner1.jpg","width":830,"height":380,"caption":"iPhone Programming"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/swift-code-syntax-important-cheat-sheet-references-for-swift-programmers-2#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Swift Code Syntax : Important Cheat sheet &#038; references for Swift programmers"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee","name":"Pritam Barhate","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","caption":"Pritam Barhate"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/8916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=8916"}],"version-history":[{"count":11,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/8916\/revisions"}],"predecessor-version":[{"id":8946,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/8916\/revisions\/8946"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/8919"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=8916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=8916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=8916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}