How to retrieve the values for the particular key from CFMutableDictionary

后端 未结 2 1599
[愿得一人]
[愿得一人] 2021-01-26 06:27

In C++ EventType.find(1)->second can be used to find the value for the key 1.

I am new to Objective C.I have implemented CFDictionary to add

2条回答
  •  死守一世寂寞
    2021-01-26 07:27

    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);

提交回复
热议问题