Posts

Showing posts with the label Table View

Table view with cell

View.h File #import "DefaultTableViewCell.h" take delegetes @interface DefaultSideTableViewController : UIViewController < UITableViewDelegate , UITableViewDataSource > View.m  File #pragma marl - UITableView Data Source - ( NSInteger )tableView:( UITableView *)tableView numberOfRowsInSection:( NSInteger )section {     NSLog ( @"ItemList %@" , ItemList );     if (tableView == rearTableView )     {         return ItemList . count ;     }     else     {         return ItemList . count ;     } } - ( NSInteger )numberOfSectionsInTableView:( UITableView *)tableView {     return 1 ; } - ( UITableViewCell *)tableView:( UITableView *)tableView cellForRowAtIndexPath:( NSIndexPath *)indexPath {     DefaultTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier : Cell...