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.
[array objectAtIndex:i]は L 値として機能しないため、インデックス i にオブジェクトを設定するために使用することはできません。
[array objectAtIndex:i]
-insertObject:atIndex:またはを使用しreplaceObjectAtIndex:withObject:ます。
-insertObject:atIndex:
replaceObjectAtIndex:withObject: