Month: February 2015
How to change the location of the footnote in Word
Word 2013 and Word 2010 allows users to change the location of the footnote. This can be done using the Footnote and Endnote properties available as part of the References menu. To change the location of the footnote in Word 2013 and Word 2010. Click References menu and then navigate to the Show section Click…
Debugging Swift App in Xcode
Any beginner iOS developer should be aware of the NSLog statement. This is quite frequently used to debug Objective-C programs. In Swift you can use println or print statement instead of NSLog to write the debug information to the console log. [code language=”swift”]var primeFlag:Bool = true println("input number is \(number)") if ((number == 2) ||…
How disable the sound for keyboard clicks in iPad
The sound heard for keyboard clicks in iPad can be disabled using the settings. To disable the sound Tap the settings icon on the iPad home screen. In the settings screen, navigate Sound settings.
Test Driven Development in Swift
Here is a beginner tutorial on TDD in Swift by writing a program that checks for a prime number. Let us start by creating a new project, selecting template as Single View Application. Though we won’t be adding anything to the storyboard as we will focus only on the business logic. After creating the project,…