0
從書中學習iOS編程時,我注意到對於像- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
這樣的長行代碼,作者傾向於將其分成兩行,並用冒號對齊兩行。我如何在Xcode4中實現這一目標?製作冒號:在代碼中垂直對齊
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
哦對,不知道它以前沒有工作。我還注意到,代碼自動完成功能有時無法工作(沒有構建錯誤),我必須重新啓動Xcode才能使其再次運行 – Nyxynyx