Category: Swift

  • SwiftExpress – Web Application Server in Swift

    Swift Express is a simple yet powerful web application written in Apple’s Swift language. This is an initiative started by Crossload Labs using Play Framework and Express.js Installation SwiftExpress GitHub provides a well documented steps for installing the server on Mac OS X and Linux. I tried this on Mac OS X and the whole…

  • iOS Swift – Firebase Demo

    Firebase is a platform that allows web and mobile application to store data in cloud. In this article, we will see an example app written in Swift that uses Firebase for storing and retrieving data in real time. The source code for this demo is available under GitHub. This demo app consists of three fields…

  • Search photos on Flickr – Web Service

    In this tutorial we will see the steps required to write a demo app that retrieves photos from Flickr based on search text and display them in a UICollectionView. This also covers how to integrate 3rd party libaries using CocoaPods. Flickr API Register your app in Flickr and get the API key details. You will…

  • UICollectionView Demo in Swift

    UICollectionView can be used for displaying set of data in rows and columns The main difference between UICollectionView and UITableView is that CollectionView can be display more than one column. The following topics are covered in this article Simple collection view demo Displaying data in Collection View Implementiing Custom Cell  Adding Section Headers Highlighting Cell Insert…

  • Add annotations and Polyline to MapView in Swift

    In this article, we will see the instructions for adding annotation to MapView, Draw Polylines and Zoom to a region in Swift. Let us see this by adding stations to a Map for Chennai subrban trains and connect these stations using Map Overlay. Project Setup   Create a new project by selecting Single View Application…

  • TableView Demo in Swift

    In this tutorial, we will see some of the common UITableView operations such as Adding, Updating, Deleting and Moving records using Swift. Let us start with a TableView placed over a ViewController instead of using UITableViewController. By this way you will learn lot more about the functionality of UITableView. Add a new file and select…

  • Swift Interview Questions

    Listed below are some of topics to be familiar before attending an iOS//Swift interviews. These are very trivial questions but in future this space will updated with more scenario based questions What are the different app states? What is JSON? What do you mean by REST? Difference between class and struct? What are Optionals? Difference between…

  • Basic overview of Xcode

    Xcode is the primary tool used for the development of Mac and iOS applications. This is a free tool which can be downloaded from developer.apple.com website. You can use Xcode for Writing code, Building, Testing (Unit test) and for Distribution (Submitting to App Store). Xcode, Apple’s integrated development environment (IDE), has several panes designed to…