获取NSMutableArray的ID

时间:2014-07-07 11:58:46

标签: swift get nsmutablearray

我有一个名为timelineData的NSMutableArray

    override func tableView(tableView: UITableView?, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath?) {
    if editingStyle == .Delete {
        let idForDelete:AnyObject! = timelineData.objectAtIndex(indexPath!.row)
        println(idForDelete)
    }
}

当我在调试器中执行此代码时,我会收到:

<ClassName:gGYnstSagn:(null)> {
    content = "iosdfjgijdsiofgjisd oifg jiosdfgi sdfig j";
    title = ahgahahah;
    userid = "6rOBfCHtcu";
}

我如何获得ID&#34; gGYnstSagn&#34; ClassName?

0 个答案:

没有答案