Category: Swift
PDFKit – View, Annotate PDF file in Swift
In this demo, we will be using PDFKit to View and Annotate PDF file. Let us start by selecting a Single View App template and name the project as PDFDemo. For this demo, we will be using a PDF file “TheWakingLights.pdf” and this can downloaded from the github project folder. Now drag and drop this…
CoreData tutorial in Swift 5 using NSFetchedResultsController
Let us see an example TaskManager app using CoreData written in Swift Programming language. This app provides the following functionality Allow users to enter new task Update existing task delete task You can download source code for this project from Github. If you are familiar with user interface then move on to the Core Data…
Storyboard, Scene and Segue
Storyboard in iOS is helps you to design the user interface of your App. A storyboard can contain one or more Scenes (View Controllers) and the connection or relationship between two scenes are known as Segue. This is how a typical storyboard with Scenes and Segue look. The above example storyboard contains two scenes, first…
Journey with Swift
This is about my journey as a Swift developer and some of the points discussed here could be useful to anyone who want to re-invent themselves as a software developer or if they want start a career as a Software developer. Past experience I have been working in Software industry for years in wide range…
My first iOS developer conference – try! Swift Tokyo 2017
Attending conference is one way of keeping yourself up to date with the latest trends in any industry. This is true for every software developer as well. After re-skilling myself and picking up iOS development I wanted to attend some good conferences but not many were happening in India. Heard a lot about try! Swift…
Assertions supported in XCTest
Here you can find the list of Assertions supported by XCTest and it is essential to know all these assertion if you are practicing Test Driven Development in IOS. You can get this list from XCTestAssertions.h XCTFail(<#format…#>) – This unconditionally fails the test. XCTAssertNil(<#a1#>, <#format…#>) – Failure message when object is not nil. XCTAssertNotNil(<#a1#>, <#format…#>)…
UITableView 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…
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…