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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

  • smart contract

    A smart contract, also known as a cryptocontract, is a computer program that directly controls the transfer of digital currencies...

  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

  • internal audit (IA)

    An internal audit (IA) is an organizational initiative to monitor and analyze its own business operations in order to determine ...

SearchSecurity

SearchHealthIT

SearchDisasterRecovery

  • incident management plan (IMP)

    An incident management plan (IMP), sometimes called an incident response plan or emergency management plan, is a document that ...

  • crisis communication

    Crisis communication is a method of corresponding with people and organizations during a disruptive event to provide them with ...

  • Zerto

    Zerto is a storage software vendor that specializes in enterprise-class business continuity and disaster recovery in virtual and ...

SearchStorage

  • SSD write cycle

    An SSD write cycle is the process of programming data to a NAND flash memory chip in a solid-state storage device.

  • data storage

    Data storage is the collective methods and technologies that capture and retain digital information on electromagnetic, optical ...

  • hard disk

    A hard disk is part of a unit -- often called a disk drive, hard drive or hard disk drive -- that stores and provides relatively ...

SearchSolidStateStorage

  • hybrid hard disk drive (HDD)

    A hybrid hard disk drive is an electromechanical spinning hard disk that contains some amount of NAND Flash memory.

Close