简体   繁体   English

如何从字符串的NSArray中检索字符串

[英]how to retrieve a string from an NSArray of strings

I have an NSArray of strings. 我有一个NSArray的字符串。 I have to place each string in a cell of a table. 我必须将每个字符串放在表格的单元格中。 How to get the string of the array into an NSString ? 如何将数组的字符串转换为NSString?

Use -[NSArray objectAtIndex: index] to retrieve an object from an array. 使用-[NSArray objectAtIndex:index]从数组中检索对象。 Also read the docs . 另请阅读文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM