"बाइनरी ऑपरेटर '==' प्रकार सेल और शून्य की ऑपरेंड के लिए लागू नहीं किया जा सकता" मैं Xcode 6.3 का उपयोग कर बीटा पार्स/स्विफ्ट के साथ एक मुद्दापार्स/स्विफ्ट जारी करना
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath , object: PFObject) -> PFTableViewCell {
var cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! secTableViewCell
if cell == nil
{
cell = secTableViewCell(style: UITableViewCellStyle.Default , reuseIdentifier: "cell")
}
// Configure the cell...
cell.title.text = (object["exams"] as! String)
cell.img.image = UIImage(named: "109.png")
return cell
}
त्रुटि बताया है
if cell == nil
{
cell = secTableViewCell(style: UITableViewCellStyle.Default , reuseIdentifier: "cell")
}
द्विआधारी ऑपरेटर के लिए '==' प्रकार सेल के ऑपरेंड के लिए और नहीं के बराबर "