swift编辑器占位符源文件错误

时间:2017-06-10 16:27:34

标签: swift

class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {

//ekran ilk yüklendiğinde yapılacak işlemler
    override func viewDidLoad() {
        super.viewDidLoad()
    }
//-------------------------------------------
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
//Tableview data source için
    //tableview satır sayısı
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
{
    return 5
    }
    //------
    public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    {
       let cell = tableView.dequeueReusableCell(withIdentifier: "myCell", for: <#T##IndexPath#>)
        cell.textLabel?.text = "Tablolama yaptım bu arada canberkin amk"
        return cell
    }
//--------------------------------------------------

}

我对这段代码犯了错误= `let cell = tableView.dequeueReusableCell(withIdentifier:&#34; myCell&#34;,for:&lt; #T ## IndexPath#&gt;)

0 个答案:

没有答案