{"id":3479,"date":"2017-11-24T06:12:28","date_gmt":"2017-11-24T10:12:28","guid":{"rendered":"https:\/\/www.freelancinggig.com\/blog\/?p=3479"},"modified":"2017-11-24T06:12:28","modified_gmt":"2017-11-24T10:12:28","slug":"swift-programming-cheat-sheet","status":"publish","type":"post","link":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/","title":{"rendered":"Swift Programming Cheat Sheet"},"content":{"rendered":"<p>Swift is a programming language developed by Apple Inc for the development of Apple iOS and OS X development. The Swift programming language adopts the best of C and Objective-C without the constraints of C compatibility. Writing the Swift code is simple, and interactive. The designing of Swift programming language is highly secured and also produces the high-speed software. This language has greater robustness and stability which provides source code compatibility. The following cheat sheet gives the knowledge of the syntax of the Swift programming language. <a href=\"https:\/\/www.freelancinggig.com\/\">Find freelancers<\/a> to get started using this programming language.<\/p>\n<p><strong>&#xA0;Basic Syntax of Swift Programming Language<\/strong><\/p>\n<p>var someDict = [KeyType: ValueType]()<\/p>\n<p>Variable in Swift Programming Language<\/p>\n<p>The variable in the Swift programming language has a specific type which finds the size and layout of the variables memory and variable are also the values stored in that memory. Following are the types of the Variables.<\/p>\n<ul>\n<li>Int or UInt- The Int or UInt is for specifying the whole numbers.<\/li>\n<li>Float- Float is for specifying the 32-<a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/bit\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>bit<\/a> floating point number.<\/li>\n<li>Double &#x2013; This data type is for representing a 64-bit floating-point number.<\/li>\n<li>Bool- This is for representing the <a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/boolean\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>Boolean<\/a> value which defines only two values that is true or false.<\/li>\n<li>String- String is the collection of characters.<\/li>\n<li>Characters- This is the single character string literal.<\/li>\n<\/ul>\n<p><strong>Tuples in Swift Programming language:<\/strong><\/p>\n<p>The Swift programming language also introduces the Tuples types that are very useful to combine the multiple values in a single compound value.<\/p>\n<p>Here&#x2019;s the syntax of Tuple declaration &#x2013;<\/p>\n<p>var TupleName = (Value1, value2,&#x2026; any number of values)<\/p>\n<p><strong>Constants in Swift Programming Language:<\/strong><\/p>\n<p>The Swift programming language also declares the constant variable. The term constants variable is same as the simple variable except the fact that you can&#x2019;t modify this value after their definition. In Swift programming language the constants variables are declared using the let keyword. Following are the syntax of the constants in Swift.<\/p>\n<p>let constantName = &lt;initial value&gt;<\/p>\n<p><strong>Operators:<\/strong><\/p>\n<p>Operators are the collection of symbols that work on the operand. The operators tell the compiler to perform the specific mathematical and logical operation.<\/p>\n<ul>\n<li>Arithmetic Operators<\/li>\n<li>Comparison Operators<\/li>\n<li>Logical Operators<\/li>\n<li>Bitwise Operators<\/li>\n<li>Assignment Operators<\/li>\n<li>Range Operators<\/li>\n<li>Misc Operator<\/li>\n<\/ul>\n<p><strong>String in Swift Programming Language<\/strong><\/p>\n<p>The string is the collections of characters. Following are the syntax for the creation of String.<\/p>\n<p>\/\/ stringA can be modified<\/p>\n<p>var stringA = &#x201C;Hello World&#x201D;<\/p>\n<p>stringA + = &#x201C;&#x2013;Readers&#x2013;&#x201D;<\/p>\n<p>print( string )<\/p>\n<p>\/\/ stringB can not be modified<\/p>\n<p>let stringB = String(&#x201C;Hello World&#x201D;)<\/p>\n<p>stringB + = &#x201C;&#x2013;Readers&#x2013;&#x201D;<\/p>\n<p>print( stringB )<\/p>\n<p><strong>&nbsp;<a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/array\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>Array<\/a> in Swift Programming<\/strong><\/p>\n<p>The array is the collection of similar type of data types stored sequentially. In Swift programming language if you will assign the created array to a variable then it will always be mutable it means that you can change it by removing and adding the items.<\/p>\n<p>Following are the syntax for the creation of the array.<\/p>\n<p>var someArray = [SomeType]()<\/p>\n<p>Function in Swift Programming<\/p>\n<p>A function is the <a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/block\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>block<\/a> of statements that are organised together to perform the task. The function declaration in Swift programming instructs the compiler about the function&rsquo;s name, return type, and parameters. Function definition covers the actual body of the function. Following are the syntax for function definition.<\/p>\n<p>func funcname(Parameters) -&gt; returntype {<\/p>\n<p>Statement1<\/p>\n<p>Statement2<\/p>\n<p>&#x2014;<\/p>\n<p>Statement N<\/p>\n<p>return parameters<\/p>\n<p>}<\/p>\n<p>Inheritance in Swift Programming<\/p>\n<p>Inheritance is one of the object-oriented concepts. The inheritance concept derives the new class from existing class.&#xA0; The classes of inheritance are two types that are Sub class and Super class.<\/p>\n<ul>\n<li>Sub Class- The sub class inherits the functions and methods from other class.<\/li>\n<li>Super class- The super class consists of the classes, methods, functions and other classes inherit the properties of the super classes.<\/li>\n<\/ul>\n<p>Closure in Swift Programming Language<\/p>\n<p>In Swift programming language closure is similar to self-contained functions structured in the blocks and is called anywhere in the program such as C and Objective-C languages. The syntax style of the closure consists of an interfering parameter and return value types from context. It follows the shorthand <a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/argument\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>argument<\/a> names. Following are the syntax for Closure. <strong>Find freelancers<\/strong> to get started using this programming language.<\/p>\n<p>{<\/p>\n<p>(parameters) &minus;&gt; return type in<\/p>\n<p>statements<\/p>\n<p>}<\/p>\n<p><strong>Summary: <\/strong><\/p>\n<p>This article is on the Swift programming cheat sheet. The above cheat sheet covers the most important basic and advanced concept of the Swift programming language. This cheat Sheet is useful for that programmer who has basic knowledge of Swift programming language but doesn&#x2019;t remember the syntax of the programming language.<\/p>\n<p>&#xA0;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Swift is a programming language developed by Apple Inc for the development of Apple iOS and OS X development. The Swift programming language adopts the &#x2026;<\/p>\n","protected":false},"author":3,"featured_media":3480,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[1010,1009],"class_list":["post-3479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-startup-resources","tag-swift-programming","tag-swift-programming-cheat-sheet"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights<\/title>\n<meta name=\"description\" content=\"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights\" \/>\n<meta property=\"og:description\" content=\"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/\" \/>\n<meta property=\"og:site_name\" content=\"Developers, Designers &amp; Freelancers - FreelancingGig\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-24T10:12:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"376\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kitty Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kitty Gupta\" \/>\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:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/\"},\"author\":{\"name\":\"Kitty Gupta\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\"},\"headline\":\"Swift Programming Cheat Sheet\",\"datePublished\":\"2017-11-24T10:12:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/\"},\"wordCount\":741,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/Swift-Programming-Cheat-Sheet.jpg\",\"keywords\":[\"Swift Programming\",\"Swift Programming Cheat Sheet\"],\"articleSection\":[\"Startup Resources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/\",\"name\":\"Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/Swift-Programming-Cheat-Sheet.jpg\",\"datePublished\":\"2017-11-24T10:12:28+00:00\",\"description\":\"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/Swift-Programming-Cheat-Sheet.jpg\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/Swift-Programming-Cheat-Sheet.jpg\",\"width\":750,\"height\":376,\"caption\":\"Swift Programming Cheat Sheet\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2017\\\/11\\\/24\\\/swift-programming-cheat-sheet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Swift Programming Cheat Sheet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"name\":\"Developers, Designers &amp; Freelancers - FreelancingGig\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\",\"name\":\"FreelancingGig\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"width\":213,\"height\":35,\"caption\":\"FreelancingGig\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\",\"name\":\"Kitty Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"caption\":\"Kitty Gupta\"},\"description\":\"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights","description":"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0","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:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/","og_locale":"en_US","og_type":"article","og_title":"Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights","og_description":"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0","og_url":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/","og_site_name":"Developers, Designers &amp; Freelancers - FreelancingGig","article_published_time":"2017-11-24T10:12:28+00:00","og_image":[{"width":750,"height":376,"url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg","type":"image\/jpeg"}],"author":"Kitty Gupta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kitty Gupta","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#article","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/"},"author":{"name":"Kitty Gupta","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c"},"headline":"Swift Programming Cheat Sheet","datePublished":"2017-11-24T10:12:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/"},"wordCount":741,"commentCount":0,"publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg","keywords":["Swift Programming","Swift Programming Cheat Sheet"],"articleSection":["Startup Resources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/","url":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/","name":"Swift Programming Cheat Sheet - FreelancingGig Blog - Freelancer Job Tips and Hiring Insights","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#primaryimage"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg","datePublished":"2017-11-24T10:12:28+00:00","description":"This article is in the Swift programming language. Find freelancers to get started using this programming language. \u00a0","breadcrumb":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#primaryimage","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2017\/11\/Swift-Programming-Cheat-Sheet.jpg","width":750,"height":376,"caption":"Swift Programming Cheat Sheet"},{"@type":"BreadcrumbList","@id":"https:\/\/www.freelancinggig.com\/blog\/2017\/11\/24\/swift-programming-cheat-sheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.freelancinggig.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Swift Programming Cheat Sheet"}]},{"@type":"WebSite","@id":"https:\/\/www.freelancinggig.com\/blog\/#website","url":"https:\/\/www.freelancinggig.com\/blog\/","name":"Developers, Designers &amp; Freelancers - FreelancingGig","description":"","publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.freelancinggig.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.freelancinggig.com\/blog\/#organization","name":"FreelancingGig","url":"https:\/\/www.freelancinggig.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","width":213,"height":35,"caption":"FreelancingGig"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c","name":"Kitty Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","caption":"Kitty Gupta"},"description":"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background."}]}},"_links":{"self":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/3479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/comments?post=3479"}],"version-history":[{"count":1,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/3479\/revisions"}],"predecessor-version":[{"id":3481,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/3479\/revisions\/3481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media\/3480"}],"wp:attachment":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media?parent=3479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/categories?post=3479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/tags?post=3479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}