Author: Ravi Shankar

  • 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…

  • How to link Aadhaar with PAN

    Central Board of Direct Taxes, Government of India has made Aadhaar mandatory for filing returns. Income Tax India website is now providing option to link your Aadhaar card with your PAN card. These are following ways one can link Aadhaar with their PAN card. Open https://incometaxindiaefiling.gov.in/ in a web browser and you should see the…

  • Moto G5 Plus – How to use OTG (USB On The Go)

    Moto G5 Plus comes with a OTG support, where you can copy the files from your pen drive (and vice versa) by connecting it to your phone via the OTG cable. There are lot of OTG cable available in the market based on the brands. Some of the pen drive nowadays comes with the OTG…

  • 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…#>)…

  • Turn off excessive logging in Xcode 8

    Xcode 8 shows lots of logging message in the console window when you run the app. If you have any print statement in your app module then it can easily get lost in these warning messages. One of the solution to avoid this excessive logging is to add a property under enviromental variable section. Navigate…

  • 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…

  • Protocol Oriented Programming in Swift

    Object Oriented Programming is a paradigm used by programmers many decades to solve computer problems by model them in to classes. In Swift 2.0 a new programming pattern has been introduced known as Protocol Oriented Programming. In this article, we will the three major feature as part of Protocol Oriented Programming Model with Protocols and…

  • Content Priority in Auto Layout

    Auto Layout brings in lots of good features to ease the life of an iOS developer when designing User Interfaces. In this example, we will see how to use Content Priorities such as Content Hugging and Comrpession Resistance. I have created a project with Single View Template and dispayed Size Classes as we are going…