Creating Tabs dynamically in ios with dynamic tab controller.

This article covers how do you create a tab based application in an ISOS Application. At first you Create a new Project and Click on Single View Application and name it accordingly. After creation of the project, open the storyboard and you can see a single view controller which is connected to class ViewController. Just… Read More »

Making a GridView in iOS using UICollectionView.

Hey all, In Today’s article you will study about the implementation of UICollectionView in iOS. It is similar to GridView in Android. First drag a UICollectionView [Not the Collection View Controller] in your interface and let it be there. we will come back to it later. We are going to create a UICollectionView with custom… Read More »

Download an image with ProgressBar in iOS

Hi all, Today I will show you how you can download an image showing complete progress. Make sure that you have an interface like the below image. You should link all the interface views with the corresponding variables in ViewController.h ViewController.h ViewController.m You can download the complete source code from here.

NSURLConnection – A Simple example – Upload image to server using POST method.

Make sure you setup the server and have gone through this post before reading this article. You can read more about NSURLConnection Class from here. https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/index.html#//apple_ref/occ/instm/NSURLConnection/ Here In this article I am going to select an image from the gallery and upload to a server using 1. Synchronous method 2. Asynchronous method – different ways.… Read More »

Select an image from Gallery and show it in an ImageView in ios.

Hey all, This is a simple post showing how you can open the “Gallery” or “Photos” application in iOS. The Sample UI should look like this. Screenshot selecting image from the Gallery. Now to the code. ViewController.m ViewController.m We add “UINavigationControllerDelegate,UIImagePickerControllerDelegate” to get the events after selecting the image from the Gallery. The below function… Read More »

Send Data to server in iOS using POST OR GET – A Simple Example

First Make sure you have this kind of layout and you have linked all the views to their respective variables. For server side I am using XAMPP for Localhost for now and My php file will be residing in Applications ▸ XAMPP ▸ xamppfiles ▸ htdocs You can download “XAMPP For Mac” from this link.… Read More »

Handling Files in iOS

Hi All, In Todays article we will see how we can handle files in Objective C. The list of the methods used for accessing and manipulating files are listed below. Here you have to replace the FilePath1, FilePath2 and FilePath strings to our required full file paths to get the desired action. Comparing two file… Read More »

Delegates in iOS – A Simple Example

Hi All, Today I am going to talk about iOS Delagates. This example shows how to write a common delegate for a mail composer in iOS. First I am going to crate a seperate class for invoking the MailComposer Modal view controller. The class is named “Common”. So Create .m and .h files for Common.… Read More »

Nexus 6 Came…

Specifications GENERAL 2G Network GSM 850 / 900 / 1800 / 1900 – all models   CDMA 800 / 1900 – XT1103 US model 3G Network HSDPA 800 / 850 / 1700 / 1900 / 2100 / 900 – XT1100 Global model   HSDPA 850 / 900 / 1700 / 1900 / 2100 – XT1103… Read More »

How to change title and Subtitle text color and size of ActionBar in Android?

Here is a simple example that shows how you can change title and subtitle textcolor and its size in Android Method 1 ——– Changing the styles [For support Library] Go to Values/styles.xml copy this code to change the textcolor and actionbar background color. Note : For applying theme if you are not using the Support… Read More »

How to download an image from a URL in Objective C iPhone?

This method downloads the image from the specified URL and stores in the documents directory and then shown in an ImageView. Make sure you have an imageview linked with the outlet in the UserInterface. Please leave your comments if you found this code useful.