Month: April 2015

  • How to display line numbers in Xcode

    Listed below are the steps to display line number in Xcode editor window. This is quite useful when you are working in a ground and want to communicate the line number of statement to other members. Click Xcode menu option and select Preferences from the menu list In the Preferences window, click Text Editing tab.…

  • XCode Playground Overview

    Playground is an interactive work environment that allows you to see the values in the sidebar for the written code. As and when you make changes to your code the sidebar reflects the changed result. Listed below are some examples written using Swift language in Playground Sum of n numbers [code language=”swift”]var sum = 0…

  • Retrieve list of Twitter followers using Swift

    This article provides details about the the steps required to retrieve the followers in from your twitter account. You will learn the following by going through this article Use oAuth to retrieve bearer token. Retrieve twitter followers using API call. Last 20 followers name and profile image will be displayed in a tableview. Download the…

  • Find mails older than specified days in Outlook

    Outlook 2013 and Outlook 2010 has a feature using which the users can search for mails older than specified days. This is an useful feature if you want to look only in emails that are older than certain time period. This feature available as part of the Mailbox Cleanup options. To find mails older than…

  • How to remove page numbers in Word document

    We have already seen how to format page numbers in word 2010. This is another simple tip which explains how to remove page numbers in Word 2013 and Word 2010. A page number in a word document can be removed using the Page Number menu option available as part of the Insert menu. From Home…

  • How to record and play sound in Swift

    In this tutorial, we are going to see the required steps to record and play sound in Swift Programming language using AVAudioRecorder and AVAudioPlayer Download source code from github (SoundController.swift) User Interface The user interface for this demo is simple with two buttons, one for recording and another for playing sound. Create corresponding IBAction and…

  • UITextFieldDelegate in Swift

    This is a beginners tutorial on UITextFieldDelegate in Swift. We are going to see how to use UITextFieldDelegate by writing a Simple Interest Calculator. Download the source code from here This calculator uses UILabels and TextFields for displaying and accepting amount and interest. We are going to use the UITextFieldDelegate method to navigate from “Principal…

  • SplitViewController example in Swift

    This is a beginners tutorial on SplitViewController using Interface builder with programming language as Swift. There are also some good articles available on SplitViewController, check them out as well – nhipster and whoisryannystrom. Create a new Single View Application. Choose Language option as Swift and provide a product name. Navigate to Main.Storyboard and select default…