這是我寫的協議:protocol CQCollectCellDelegate {
/** cell上的分享按鈕點擊時回調 */
func tableViewCell(tableViewCell: CQCollectCell, didClickShareButton shareButton: UIButton)}我這種命名規范嗎?我是參照的官方的寫法:override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)swift的編碼規范我還沒有研究。你們如果有比較好的關于swift編碼規范的文檔希望可以分享一下。?
- 2 回答
- 0 關注
- 1469 瀏覽
添加回答
舉報
0/150
提交
取消