新手。
xcode吧
全部回复
仅看楼主
level 1
我的txtfield写了ABCD这几个字母
我怎么让xcode分开读,然后做不同的东西。
2016年12月07日 04点12分 1
level 12
字符串分割
2016年12月07日 09点12分 2
给个代码可以么
2016年12月07日 11点12分
@第四把小刀 NSString *str = @"ABCD"; for (int i = 0; i < str.length; i++) { NSLog(@"字母:%@",[str substringWithRange:NSMakeRange(i, 1)]); }
2016年12月08日 02点12分
level 12
2016年12月08日 02点12分 3
不行啊 大神。你有没有QQ。我可以加你么
2016年12月08日 05点12分
1522037950
2016年12月09日 00点12分
level 1
2016年12月08日 05点12分 4
1