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.
PythonディクショナリからNSDictionaryを取得するにはどうすればよいですか(呼び出すことができますdescription)。
description
>>> d = NSDictionary.dictionaryWithDictionary_({"foo": "bar"}) >>> type(d) <objective-c class __NSDictionaryI at 0x7fff7ae34688> >>> d.description() u'{\n foo = bar;\n}' >>> d { foo = bar; } >>>