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.
文字列の配列がある場合、特定の文字列が含まれているかどうかを確実にテストできNSArray containsObjectますか?または、ループして各オブジェクトで isEqualToString をテストする必要がありますか?
NSArray containsObject
はい、内部的に isequal メソッドのみを呼び出す containsObject メソッドも使用できます。