Online visitors

People learning around the world

Online

—

Visitors exploring W3Schools

Online visitors by country Circles show approximate country locations. The country list provides the visitor counts.

Circles represent countries, not exact visitor locations.

Country

Online

Loading country activity…

    Swift Tutorial

    Swift Tutorials


    Swift is a new programming language for developing apps for IOS and Mac OS, and it is destined to become the foremost computer language in the mobile and desktop space. This Swift tutorial series will help you to get started in the Swift programming language.

    Required Knowledge

    To learn Swift Programming language, you haven't needed any previous programming knowledge, but the basic understanding of any other programming languages will help you to understand the Swift programming concepts quickly.

    Swift Example

    A quick look at the example of Hello, World! In Swift programming. A detailed description is given in the Swift Basic Syntax page.

    Example:

    import UIKit
    
    var str = "Hello, World!"
    
    println(str)

    Program Output:

    Hello, World!

    The above example has been used to print "Hello World" on the screen.



    Found This Page Useful? Share It!
    Get the Latest Tutorials and Updates
    Join us on Telegram

    Notifications

    Updates are enabled for this browser.

    Receive new tutorials, articles and learning resources. You can turn updates off anytime.