Browse Definitions :
Definition

Apple Swift

Contributor(s): Matthew Haughn

Apple Swift is Apple's programming language for IOS, WatchOS , TVOS, MacOS and Linux.

Swift provides a compiled general-purpose language for Apple devices and computers, as well as Linux-based systems. The language makes it possible for a program to run C, Objective-C and C++, as well as Swift code within a single application.

Apple started developing Swift publicly at Swift.org in 2010. The language was developed to be easy to use and offers type safety, eliminating entire classes of common coding errors. Swift was also made to be secure without impacting performance. Bundling object-oriented programming (OOP) with similarities to C helped its popularity with programmers. The language is designed to be easy to learn, making it more tempting for new students and established programmers alike.

Swift maintains compatibility with existing programs coded in Objective-C and works with the Cocoa and Cocoa Touch API frameworks for MacOS and IOS devices. At the same time, the language strips away some of the baggage of C, for a less verbose and more efficient code. Swift performs better than Python with 3.9 times the speed sorting complex objects, while Objective-C outperforms Python 2.8 times. In RC4 encryption, powerful Objective-C offers 127 times the performance of Python, while Swift offers 220 times the performance of Python.

Swift is included with Apple's Xcode software development kit (SDK). Apple offers full documentation of Swift for free at the iBooks Store with the manual “The Swift Programing Language." Swift Playgrounds offers a site where iPad users can access a real-time interface to display their program as they develop it. Swift-enabled, programmable toys are also available.

 

This was last updated in February 2018

Continue Reading About Apple Swift

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

  • compliance audit

    A compliance audit is a comprehensive review of an organization's adherence to regulatory guidelines.

  • regulatory compliance

    Regulatory compliance is an organization's adherence to laws, regulations, guidelines and specifications relevant to its business...

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

SearchSecurity

  • payload (computing)

    In computing, a payload is the carrying capacity of a packet or other transmission data unit. The term has its roots in the ...

  • passphrase

    A passphrase is a string of characters longer than the usual password (which is typically from four to 16 characters long) that ...

  • Web application firewall (WAF)

    A Web application firewall (WAF) is a firewall that monitors, filters or blocks traffic to and from a Web application. WAFs are ...

SearchHealthIT

SearchDisasterRecovery

SearchStorage

  • computational storage

    Computational storage is defined as an architecture that couples compute with storage in order to reduce data movement. In doing ...

  • data deduplication

    Data deduplication -- often called intelligent compression or single-instance storage -- is a process that eliminates redundant ...

  • public cloud storage

    Public cloud storage, also called storage-as-a-service or online storage is a service model that provides data storage on a ...

Close