w3resource
Swift Programming Exercises

Swift Programming Exercises, Practice, Solution

Swift Programming Exercises with solution

Swift is a powerful general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. Writing Swift code is interactive and fun and Swift includes modern features developers love. Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of existing Objective-C (ObjC) code written for Apple products.

The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with Swift language. Exercises are designed to enhance your ability to write well-structured Swift programs. Hope, these exercises help you to improve your Swift programming skills. Currently following sections are available, we are working hard to add more exercises. Happy Coding!

List of Swift Exercises:

Popularity of Programming Language
Worldwide, Feb 2019 compared to a year ago:

Rank Change Language Share Trend
1 up arrow Python 26.42 % +5.2%
2 down arrow Java 21.2 % -1.3 %
3 up arrow Javascript 8.21% -0.3 %
4 up arrow C# 7.57 % -0.5 %
5 down arrow PHP 7.34 % -1.2 %
6 C/C++ 6.23 % -0.3 %
7 R 4.13 % -0.1 %
8 Objective-C 3.04% -0.8 %
9 Swift 2.56 % -0.6%
10 Matlab 1.98 % -0.4 %
11 up arrow TypeScript 1.61 % +0.2 %
12 down arrow Ruby 1.54 % -0.2 %
13 down arrow VBA 1.44% -0.0 %
14 up arrow Scala 1.17% -0.1 %
15 up arrow Kotlin 1.15 % +0.3 %
16 down arrow Visual Basic 1.15 % -0.1 %
17 up arrow Go 1.05 % +0.3 %
18 down arrow Perl 0.58 % -0.2 %
19 Rust 0.43 % +0.1 %
20 Lua 0.35 % +0.0 %
21 up arrow Julia 0.3% +0.1 %
22 up arrow Haskell 0.3% +0.0 %
23 down arrow Delphi 0.25% -0.1 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for March 2019

Mar 2019 Mar 2018 Change Programming Language Ratings Change
1 1 Java 14.880% -0.06%
2 2 C 13.305% +0.55%
3 4 up arrow Python 8.262% +2.39%
4 3 down arrow C++ 8.126% +1.67%
5 6 up arrow Visual Basic .NET 6.429% +2.34%
6 5 down arrow C# 3.267% -1.80%
7 8 up arrow JavaScript 2.426% -1.49%
8 7 down arrow PHP 2.420% -1.59
9 10 up arrow SQL 1.926% -0.76%
10 14 up arrow Objective-C 1.681% -0.09%
11 18 up arrow MATLAB 1.469% +0.06%
12 16 up arrow Assembly language 1.413% -0.29%
13 11 down arrow Perl 1.302% -0.93%
14 20 up arrow R 1.278% +0.15%
15 9 down arrow Ruby 1.202% -1.54%
16 60 up arrow Groovy 1.178% +1.04%
17 12 down arrow Swift 1.158% -0.99%
18 17 down arrow Go 1.016% -0.43%
19 13 down arrow Delphi/Object Pascal 1.012% -0.78%
20 15 down arrow Visual Basic 0.954% -0.79%

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :



New Content: Composer: Dependency manager for PHP, R Programming