Tuesday 29 December 2015

Load custom cell(Xib) in UITableView in swift


Load custom cell(Xib) in UITableView in swift.jpg
if you would like to Load custom cell(Xib) in UITableView in swift ,you may use the following code ->
  1. func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
  2.       return array.count;   //This function returns number of rows in table view
  3.   }


  4. func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
Read more about Load Custom Cell in UITableView in Swift at findnerd. You can also learn much more about different programming technologies such as C, Java, PHP, Javascript, iPhone, android questions and answers etc and can also enhance your tech skills.


No comments:

Post a Comment