let cell = tableView.dequeueReusableCellWithIdentifier(\"cellReuseIdentifier\", forIndexPath: indexPath) as! CustomTableViewCell
I don\'t want to r
If you have limited number of cell then only you should use this method
On viewDidLoad() you can create NSArray of custom cell
self.arrMainCell.addObject(your custom cell);
func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.arrMain.count
}
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = self.arrMain.objectAtIndex(indexPath.row)
}