Month: January 2015

  • How to check the OS version of your iPad

    iPad allows users to check the version of OS installed using the settings menu. This would be useful when you are troubleshooting some problems in your iPad. To check the OS version 1. In the home screen, tap the settings menu. 2. In the settings screen, navigate to General settings. 3. In the General Settings…

  • Enum in Swift

    Enum group of related values to a single data type. Swift enum has lot of new features compared to its predecessor Objective-C. Let us see this with an example enum type for all Months in a year. enum Months { case January, February, March, April, May, June, July, August, September, October, November, December }  …

  • Tuples in Swift

    Tuples in Swift allows user to assign group of values to a variable, constant and even return parameter of a function. In the below example, a employee constant is assigned Int and String values. And to access these parameters, we need to use .0 and .1 let employee = (103, “Deepak”) employee.0 employee.1 Now let…