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.
NSMutableDictionaryにキーと値のペアを追加した後、そこからキー/値を取得すると、取得したキー/値はNSMutableDictionaryから削除されますか?または、NSMutableDictionaryで維持されますか?
objectForkeyを使用して値を取得している場合、キー/値はディクショナリに残ります。ディクショナリから特定のキーのオブジェクトを削除する場合は、removeObjectForKeyを使用する必要があります。
removeObjectForKeyなどを呼び出さない限り、そこにとどまります。