UIWebView example in iOS

   We have worked around UICollectionView and UITextView in my previous tutorials. Now I am going to explain how UIWebView works in iOS and how to integrate them in your application.         

       UIWebView is used to embed the web content in your iOS application. It is used to display webpages and load documents like html, doc etc. It can move forward and backward in loaded content using the history. It even has property to detect phone numbers in the loaded content. Read apple documentation to learn more about UIWebView.

uiwebviewFeatured.jpg

Overview

     In this tutorial I am going to create an UIWebView which loads webpage using url, html page and document. This is going to be an easy one.

[Read more…]

UITextView example in iOS

    UITextView is a basic component in iOS development. It works completely like UITextField but the difference is that UITextView supports multiline text which can be used to view large text documents. I recommend reading apple documentation to know more about UITextView.

Overview

      In this tutorial I am going to create an application which displays the text entered in the UITextView when the user clicked a UIButton. UITextView background colour changes when it begin editing, end editing and when the text changes.

UITextViewFeatured.jpg

[Read more…]

UICollectionView example in iOS

         UICollectionView is a component like UITableView in iOS. It is used to display the collection of data items in a customisable layout. It works similar like UITableView but it can support more than single column. Read apple documentation for more details about UICollectionView. 

Overview

In this tutorial I am going to create an application using the UICollectionViewController, which will be displaying a collection of images in the UICollectionView which looks like an image gallery.

UICollectionFeatureImage.jpg

[Read more…]

Hello World example in Swift

    As we know Swift is the new programming language for apple programming geeks its time to step in and see how it works. It will be great to work on this tutorial if you are sure about what is Swift and how it works. Are you new to the iOS development? Learn to create your first ‘Hello World’ app in iOS.

Overview

   This is going to be a traditional ‘Hello World’ program in swift. ‘Hello World’ text will be printed in the console when user clicks an UIButton.

     [Read more…]

UIPageViewController example in iOS

   UIPageViewController in iOS is used to navigate between screens with cool animations. The screen navigation can be handled directly by the user gestures. You may see applications with catchy tutorial screens, which were made by UIPageViewController. Read apple documentation for more information.

Overview

      In this tutorial I am going to create a UIPageViewController with three screens, which displays the current screen number. You can configure the UIPageViewController and replace the images on the screen to look like real tutorial screens.

    

[Read more…]