Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图NSMutableArray从它的值中找到一个项目,只是为了找到它的 indexPath。
NSMutableArray
我完全不知道如何做到这一点,因为我对编程很陌生。
谢谢!
你也许在寻找- indexOfObject:?NSArray此方法返回可以在运行该方法的(NSMutableArray继承自)中找到指定对象的索引。
- indexOfObject:
NSArray
你可能需要这样 或这样的东西