我有一个名为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?