多线程中,NSTimer经常用到了,其中的userInfo属性大部分人都是直接赋nil,没去管它起啥作用。其实它是有作用的…传递信息。例子如下: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *newC
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号