Creating a class from a string in Swift

One thing that Swift does not do very well is dynamism. That is because of the fact that it is a type safe language. So if you were to create a class from a classname i.e. a String, you would get different types of classes depending on the class name. So having a single variable […]

Xcode 6 Essentials

The Xcode Swift Book Giveaway – Xcode 6 Essentials

The new book, Xcode 6 Essentials authored by our very own Jayant Varma has been published by Packt Publishing. To celebrate the same, the publishers have been kind and offered 3 e-books up for offer to you, the readers. If you would like a chance at getting a copy, please leave a comment below. 3 […]

Swift Variables

Basic Explanation Variables are a nothing but tags to something that can hold a value. Say you have a few buckets and you start filling them with fruit. You can visually see the buckets and the fruit in them so you know which one is which. You can label each of the buckets with the […]


Welcome to the Learn Swift Blog. There are some amazing websites and developers that have wonderful articles on Swift. Then why do we have another Swift related website? There are two basic reasons for this site. This site would have code samples and talk about code in addition to that, which is in the books […]