Month: July 2014

  • How to add Google as default search in Internet Explorer

    Internet Explorer is in-built with Bing as the default search engine. But it also provides users with the option to change the default search provider. Listed below are the steps for changing the default search engine in Internet Explorer 11 and 8 Make Google as default search engine in Internet Explorer 11 Launch Internet Explorer…

  • BlogReader App in Swift

    In this iOS development tutorial, we will see how to write a blog feed Reader app in Swift Programming Language. For this demo, let us take the blog feed (https://rshankar.com/feed) from Learning Swift and iOS Development blog. This is a WordPress blog and the number of posts in the feed is set to 10 (This…

  • What is Caret browsing in Internet Explorer

    Caret Browsing is cool feature available in Internet Explorer from version 8 onwards. Rather than using a mouse to select text and move around within a webpage, you can use standard navigation keys on your keyboard-Home, End, Page Up, Page Down, and the arrow keys. This feature is called Caret Browsing and is named after…

  • UIGestureRecognizer in Swift

    In this short tutorial, we will see the steps required for implementing UIGestureRecognizer in Swift programming language. Let us take the previous Stop Watch demo code and implement tap, double tap and swipe gestures. You can download source code for Stop Watch from here. The following features will be implemented using the UIGestureRecognizer. Tap –…

  • Simple StopWatch app in Swift

    In this tutorial, we will see the steps for creating simple StopWatch app in Swift Programming language as shown in the below screenshot. Click File menu -> New -> select Project from menu list. Choose the template as Single View Application and click Next button. Enter name of the Product, Language as Swift then click…

  • How to rename project in Xcode

    Xcode provides users with the option to rename the project. You can do this in Xcode 6 and Xcode 5 by following the below mentioned steps. Navigate to Project Navigator, select the Project. After entering the new name for the Project, press Return on the Keyboard. In this example, I am changing the name of…

  • Insertion Sort

    Insertion Sort algorithm does the following Keeps the sorted numbers from left to right. Compares the left with right and interchanges the number if left is greater than right. Here is code snippet of Insertion Sort in Swift. [code language=”swift”]var inputArr:[Int] = [Int]() // generate random numbers for rIndex in 0..<10 { inputArr.append(((Int(arc4random()) % 100)))…

  • Reverse a String in Swift

    Here is a simple code snippet written in Swift programming language for reversing a string. import Cocoa //Assigning a value to a String variable var str = “Hello, playground” //Create empty character Array. var strArray:Character[] = Character[]() //Loop through each character in the String for character in str { //Insert the character in the Array…