{"id":3,"date":"2014-11-21T21:53:48","date_gmt":"2014-11-21T21:53:48","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/startups\/?p=3"},"modified":"2014-12-04T08:50:23","modified_gmt":"2014-12-04T08:50:23","slug":"what-you-should-know-about-apples-latest-ios-language-swift","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/startups\/2014\/11\/21\/what-you-should-know-about-apples-latest-ios-language-swift\/","title":{"rendered":"What you should know about Apple&#8217;s latest iOS language, SWIFT"},"content":{"rendered":"<p><strong><a href=\"http:\/\/blogs.law.harvard.edu\/startups\/files\/2014\/11\/terrence-startup-ucla-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-10\" src=\"http:\/\/blogs.law.harvard.edu\/startups\/files\/2014\/11\/terrence-startup-ucla-3-300x225.jpg\" alt=\"Terrence Yang Mentoring Startup UCLA Acceleratee\" width=\"192\" height=\"144\" srcset=\"https:\/\/archive.blogs.harvard.edu\/startups\/files\/2014\/11\/terrence-startup-ucla-3-300x225.jpg 300w, https:\/\/archive.blogs.harvard.edu\/startups\/files\/2014\/11\/terrence-startup-ucla-3.jpg 960w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/><\/a><\/strong><\/p>\n<p>by Terrence Yang | Founder, Precelerator, Yang Ventures | @yangterrence<\/p>\n<p><strong>Executive Summary for Consumers.<\/strong><\/p>\n<ul>\n<li>Swift is Apple&#8217;s new programming language for apps in the Mac, iPhone and iPad.<\/li>\n<li>Swift will result in better apps for the Mac, iPhone and iPad user.<\/li>\n<li>This is because Swift makes it easier than the current language to write, test and launch great Apple apps.<\/li>\n<li>Apps will be more fun, more useful, more robust, less buggy and more complex.<\/li>\n<li>Swift will work with and replace the 30+ year old Objective-C, Apple&#8217;s current app programming language.<\/li>\n<li>Swift is faster to code and easier to test than Objective-C.<\/li>\n<li>Swift code can often run faster than Objective-C and other languages, like Python.<\/li>\n<\/ul>\n<p><strong> What You Should Know About Swift (Below More for New or Future Programmers).<\/strong><\/p>\n<ul>\n<li>Swift is an innovative, new, proprietary programming language from Apple that can co-exist with, but is significantly better than, Objective-C<\/li>\n<li>Swift was announced at WWDC, Apple&#8217;s developer conference<\/li>\n<li>Objective-C is the current programming language for iOS and OS X<\/li>\n<li>Swift code and Objective-C can live in the same app together, so developers can upgrade their code as they go, rather than replacing it in one shot<\/li>\n<li>Swift is designed to be more resilient against erroneous code than Objective-C<\/li>\n<li>Don&#8217;t be surprised when Swift quickly replaces Objective-C<\/li>\n<li>Swift should result in more great iOS and OS X apps<\/li>\n<li>Swift enables developers to write apps easier, especially more complex apps<\/li>\n<li>Apps written in Swift should be better, faster and more stable<\/li>\n<li>Swift should become stable in due course<\/li>\n<li>Apple will not guarantee source compatibility until Swift is released along with iOS 8<\/li>\n<li>iOS 8 beta was released at WWDC to Apple developers<\/li>\n<li>Changes to Swift will require source conversions<\/li>\n<li>It seems Apple is doing a fast release with iterations to come<\/li>\n<li>Swift is designed to replace Objective-C for Apple apps and be a more powerful language than Python<\/li>\n<li>Objective-C has been around for over 30 years<\/li>\n<li>Swift is a terse language, enabling developers to write less to get the same effect<\/li>\n<li>Swift is good for complex code &#8211; like Objective-C<\/li>\n<li>Swift gives developers the ability to quickly and easily test an app<\/li>\n<li>With Swift, developers can create complex apps more quickly<\/li>\n<\/ul>\n<p><strong> More Info For Apple Developers.<\/strong><\/p>\n<ul>\n<li>Using the high-performance LLVM compiler, Swift code is transformed into optimized native code, tuned to get the most out of modern Mac, iPhone, and iPad hardware.<\/li>\n<li>Swift is designed to provide seamless compatibility with Cocoa and Objective-C<\/li>\n<li>Developers can use Objective-C APIs (ranging from system frameworks to the developer&#8217;s own custom code) in Swift<\/li>\n<li>Developers can use Swift APIs in Objective-C<\/li>\n<li>Here are three important aspects of this compatibility:<\/li>\n<li>Interoperability lets you interface between Swift and Objective-C code<\/li>\n<li>Mix and match allows you to create mixed-language apps containing both Swift and Objective-C files that can communicate with each other<\/li>\n<li>Migration from existing Objective-C code to Swift is easy with interoperability and mix and match. You can replace parts of your Objective-C apps with the latest Swift features<\/li>\n<\/ul>\n<p><strong>Sources, Additional Disclosures.<\/strong> Sources for above include Apple, Chris Lattner&#8217;s Homepage, CNET, Hacker News, Wikipedia, The Next Web <strong>Note:<\/strong> I own Apple stock. I may have limit buy or sell orders and other positions. I may change my positions without warning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>by Terrence Yang | Founder, Precelerator, Yang Ventures | @yangterrence Executive Summary for Consumers. Swift is Apple&#8217;s new programming language for apps in the Mac, iPhone and iPad. Swift will result in better apps for the Mac, iPhone and iPad user. This is because Swift makes it easier than the current language to write, test [&hellip;]<\/p>\n","protected":false},"author":7134,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112561],"tags":[498,135282,135284,119113],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-computer-programming","tag-apple","tag-objective-c","tag-programming-language","tag-swift"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/users\/7134"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":5,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/posts\/3\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/startups\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}