Closed KHALIDALHARTHI closed 5 years ago
@KHALIDALHARTHI Please post on Stackoverflow.
What do you mean Stackoverflow
www.stackoverflow.com
The error is that you are setting your tables datasource in didReceiveMemoryWarning
. Probably the last place it should be. This issue can be closed
There is no data in the TableView and No error message Please help me thanks
` import UIKit import CoreData
class ViewController2: UIViewController ,UITableViewDelegate,UITableViewDataSource,NSFetchedResultsControllerDelegate{ let cllid = "MYCell"
// ///////////////////////////////////////////////////// // // // ///////////////////////// func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = mytabl.dequeueReusableCellWithIdentifier(cllid, forIndexPath: indexPath) as UITableViewCell let khalid:AnyObject=self.frc.objectAtIndexPath(indexPath)
}`