June 16, 2020

1307 words 7 mins read

What is the Swift programming language and why should I learn it?

What is the Swift programming language and why should I learn it?

If you’re an app developer, you’ve likely got a few favoured programming languages in your toolkit. Statistically speaking, these probably include Java, Python and some variation of C, but there’s a strong argument for incorporating the Swift programming language into your arsenal if you haven’t already. SEE MORE Swift Playgrounds: Everything you need to know SEE MORE Apple allows open source co

mmunity to tailor Swift to their needs SEE MORE AWS is bringing Apple’s macOS to its cloud service Swift, often referred to as “Objective-C, without the C", is an open source programming language developed and maintained by Apple, and it’s what the company recommends that developers use when creating apps for its various platforms, be it iOS, macOS or iPadOS.  It’s an evolution of the Objective-C language that Apple has been using since co-founder Steve Jobs licensed it decades ago as part of the founding of NeXT, and is built to be a simplified and highly extensible version of Objective-C. In addition to Objective-C, Swift incorporates aspects of Python, Rust, Ruby and other languages. Many of its features focus on making Swift as easy-to-use as possible; this includes things like improved string support, option types and measures to protect against programming errors like null point dereferencing or integer overflow. What can I build with Swift? Somewhat unsurprisingly, and in typical Apple fashion, Swift is compatible only with Apple’s own operating systems, so you can’t use it to develop software for Android or Windows devices. You can, however, use it to write code for any Apple product, as it works across macOS, tvOS, iPadOS, watchOS and iOS. Linux is the sole exception to this, as Swift does support the popular open source OS kernel. Swift code is designed to take maximum advantage of Apple’s hardware and operating systems and is regularly updated to keep in line with the latest developments in these areas. For apps on any Apple devices, there’s really no substitute for the level of functionality it offers. An example of an app built with Swift is Lyft, with ride-hailing company having completely re-wrote its iOS app using the programming language. While the old codebase consisted of about 75,000 lines of code, the Swift version recreated the same functionality with less than a third of that. Moving to Swift also allowed the app to feature app a new onboarding process; while the old one took more than a month and multiple engineers to implement, the new onboarding with Swift was completed within a week with only one engineer. Other popular iOS apps built using the Swift programming language include Firefox, LinkedIn, Twitter and WhatsApp.  How to learn Swift programming Understandably, Apple is keen to get as many people as possible to a point of familiarity with its homebrew language, and it has a series of training resources in order to support this. One such resource is Swift Playgrounds - a free iPad app which helps teach kids the fundamentals of Swift programming through a series of games and challenges. For complete beginners to the world of programming, this may be a good place to start, but it’s probably a little on the simple side for all but the most novice developers. There are e-books and other official Apple resources available for more advanced learners, as well as numerous online courses for learning Swift. Once you’re familiar with Swift, the easiest way to start actually using it to build apps is to download the latest version of Xcode, Apple’s IDE for macOS. This includes all the essential tools like a code editor, debugger, testing environments and more, as well as a full version of Swift and all the runtimes you’ll need to start constructing apps.

Date: 2019-09-16

URL: http://feeds.itpro.co.uk/~r/ITPro/Today/~3/rQ2zVQ4Dt7o/what-is-the-swift-programming-language-and-why-should-i-learn-it

itpro.co.uk

AWS to bring 5G edge compute service to the UK in 2021 (2020-12-02) Amazon Web Services AWS has announced plans to bring its 5G edge compute service to the UK in early 2021 First unveiled at last years re:Invent event AWS Wavelength offers optimised solutions for mobile edge computing applications simplifying application traffic in order to fully utilise the latency and bandwidth benefits offered by modern 5G networks The service manages to shorten the time of mob.. AWS to bring 5G edge compute service to the UK in 2021
16 ways to speed up your laptop (2019-04-03) Time heals all wounds is a saying that doesnt strictly apply to the word of computing In fact time is usually the biggest cause of hardware slowdown on laptops Indeed as usageincreases and more things get downloaded and installed greater strain is placed on a laptops limited memory and other hardware capacities Slow laptops are the bane of many enterprises and were all well acquainted with the ann..
What is server redundancy? (2019-09-26) When it comes to jobs redundancy is not a word you want to hear But for server infrastructure it is absolutely vital if you need to guarantee uptime In IT circles redundancy is the duplication of critical components or functions of a system with the intention of increasing reliability of the system usually in the form of a backup or fail-safe or to improve actual system performance such as in the .. What is server redundancy?
Structured vs unstructured data management (2019-09-30) Successful use of data is an progressively growing priority for businesses with databases and documents of all types analysed for trends and information that may offer that vital edge in competition Productively carrying out this type of analytics is occasionally easier said than done though not least because of the diversity of data sources out there IT is too easy to think of granular level when.. Structured vs unstructured data management
HP EliteDesk 705 G5 review gallery (2020-11-09) HPs mini desktop is a perfect pint-sized PC for price-conscious purchasers
AI-based reminiscence pilot aims to stimulate recall in memory care patients (2020-11-19) Telememory a telehealth startup that uses artificial intelligence AI to power its digital reminiscence technology is partnering with Delmar Gardens Enterprises to create an Alpha testing program to connect memory care patients and families to their legacies The program will also track patients emotional responses to help improve their health and happiness Telememory is on a mission to harness the ..
Secure your Wi-Fi against hackers in 10 steps (2018-02-05) The days of worrying about your data allowance are largely a thing of the past courtesy of faster broadband speeds and generous tariffs But that doesnt mean you should forget about whos using your Wi-Fi Whether youre a home or small-business user identifying who and what is on your network is as important as ever An unauthorised user could be streaming pirated movies hogging your bandwidth and pot..
5G will reach more than one billion people by end of 2020 (2020-11-30) 5G coverage is expected to reach 15% of the worlds population more than one billion people by the end of this year according to a new report by Ericsson The Swedish telecoms companyhas raised its year-end 2020 estimate for global 5G subscriptions to 220 million out of which 175 million of those - almost 80% - will be based in China This is due to the faster-than-average 5G uptake in China where th.. 5G will reach more than one billion people by end of 2020
Community Fibre launches fastest home broadband plan in London (2020-11-05) Community Fibre has launched a new broadband plan which has already broken the record for the fastest available speed for residential customers in London At 3Gbits/sec for upload and download speeds the 3 Gigafast broadband plan has been launched ahead of the UKs second national lockdown which is likely to see a considerable surge in broadband demand SEE MORE Brits experienced over 24 hours worth ..
Honor MagicBook 14 review gallery (2020-12-02) A finely-crafted Windows 10 ultraportable with premium power all for less than some Chromebooks