How to retrieve the values for the particular key from CFMutableDictionary

泄露秘密 提交于 2019-12-02 08:25:07

The documentation for CFMutableDictionary says:

The basic interface for managing dictionaries is provided by CFDictionary Reference.

... which leads you to CFDictionaryGetValue().

Please do not edit your posts to ask another unrelated question.

Anyway: You are using the wrong format specifier: %s is used to print C strings. You can use Objective-C's %@ format specifier to print the object's description.

If you want to use pure Core Foundation you can use CFShow(object);

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!