Posts

Showing posts from January 22, 2017

Table View

Image
Today, we will starting ’TableView’.So first here you can see video for understand how that work. Step 1-Now open the Xcode and ‘Single View Application’. Step 2-Then Give product name. Here given ’TableViewDemo’. Step 3-After that go into ‘Main.storyboard’ and search tableview in ‘Object library’ and you can see bellow type. Step 4- Now first pick ’Table View’ and after that pick ‘Table View Cell’ and drop into tableview same as bellow type. Step 5-Now give ‘Delegate’ and ‘Datasource’ same as give in picture. Step 6-Now give property of ‘Table View’ into ‘ViewController.h’ by dragging show bellow. Step 7-Here give outlet name ’tableView’ otherwise your wish and press ‘connect’. Step 8-Now first open ‘ViewController.h’ and give here also ‘Delegate’ and ‘Datasource’ and take mutable array “arrayNumber”.Show ...

Date Picker

Image
m e> Here we start Xcode project of ’DatePicker’.Here you can see that’s easy demonstration. Here we are give you demo video first for your easy to understand. Step 1-Start your Xcode New Project and ‘Single View Application’. Step 2-Give your product name ‘DatePickerView Demo’ and give ’Next’ and ‘Create’. Step 3-Now go into ‘Main.storyboard’ and search into object library ‘date picker’ then you can see bellow type that is dark and drop into simulator. Step 4-Now set create your simulator bellow type.Here change and set both are buttons. Step 5- Now give outlets means property by drag and drop same as bellow type. Step 6-Now give your event name same as bellow type and press ‘connect’. Step 7-Now go into the ‘ViewController.m’ are write code into ‘viewDidLoad’. - ( void )viewDidLoad {     [ super viewDidLoad ]; myDatePicker . hidden = YES ;   ...

Calculator

Image
Here we are start new project  “Calculator” in platform Xcode V6.4 otherwise above that. Step 1- Open Xcode and build ‘Single view Application’ Step 2-And give product name as you wish or ‘CalculatorDemo’ given bellow type. Step 3- Now go on simulator in ‘Main.storyboard’ and create bellow type formate of calculator using ‘buttons’ and ‘textfield’. Step 4-Now give separate ‘Action’ and ‘Outlet’ as same as bellow type by press, hold and drag and drop on ‘ViewController.h’. Step 5-Now take property bellow type #import <UIKit/UIKit.h> @interface ViewController : UIViewController {     NSString *storage;     NSString *operation;     double sum;     int i; } Here we are take string ‘storage’ that is using for temporary storage because when we are put value on calculator that time that is store data into the ‘storage’. And work of ‘operation’ that is store string d...