Posts

Showing posts from November 3, 2017

How To Add Default Check Box On TableView Cell in iOS App

Image
Today in this tutorial, I will show you, how to put UITableView in editing mode and bring beautiful default check box on table view cell. This is a very useful feature which you will need to implement in most of the iOS app. Now go to Storyboard in your project and find UITableView object. Drag drop a UITableView object  on your ViewController scene.  Then Drag drop a UIButton object on your ViewController scene. Now create an reference outlet for your UITableView object in your ViewController.h file and name it as mTableView. Create an IBAction for your UIButton object and name it as  didTapBringCheckBoxBtn Now select your ViewController.h file  and  Append “<UITableViewDelegate, UITableViewDataSource>” after “UIViewController”. Declare an NSArray and name it as  dataArray. @interface  ViewController :  UIViewController < UITableViewDelegate , UITableViewDataSource > {      NSMutableArray  *...