Reorder Rows in TableView in IOS

Reordering Rows Output looks like this, Create a new project in xcode under Single View Application, Goto the NextViewController.xib and drag a tableview into the xib. And select the tableview and goto the Connection Inspector and set the dataSource and delegate to File’s Owner. And also click on the File’s Owner and goto Connection Inspector and set the mytableview to the tableview in the NextViewController.xib. Create a new class named NextViewController under subclass of UIViewController. In ViewController.h #import @interface ViewController : UIViewController – (IBAction)nextButton:(id)sender; @end…

Continue reading »

TableView with Custom Table View Cell in IOS

Create a new Project in xcode and in ViewController.xib file drag a tableview and put in it, Add a new class named TableCell under subclass of UITableViewCell. Go to File — New — File — User Interface under IOS section — Empty — Next — Name it as TableCell — Create. It creates a TableCell.xib file and drag a Table View Cell into it and put 2 label views into the TableViewCell as, and click in the Table View Cell and goto the Identity Inspector…

Continue reading »