core-foundation
How to use CFMutableDictionary with char array as key and integer as value?
I am working an existing iPhone app, while need to change the code of C. I want to use a dictionary in standard C file, simpily, I can not use NSDictionary, compiler said it is invalid in c99(coz the[详细]
2023-01-23 02:00 分类:问答Sending messages to a thread?
I need to imlement in cocoa, a design that relies o开发者_StackOverflow中文版n multiple threads.[详细]
2023-01-20 08:12 分类:问答How can I clear the contents of an NSMutableAttributedString?
I have an ivar which is alloc-inited in the init of an object: attString = [[NSMutableAttributedString alloc] init];[详细]
2023-01-17 20:18 分类:问答CoreFoundation vs Foundation
In iPhone development, speed is of the essence. Does anyone know if there is a speed difference between using a CoreFoundation type (like CFMutableDictionaryRef) versus a Foundation type (its counterp[详细]
2023-01-17 09:28 分类:问答How do I implement a bit array in C / Objective C
iOS /Objective-C: I ha开发者_运维知识库ve a large array of boolean values. This is an inefficient way to store these values – at least eight bits are used for each element when only one is needed.[详细]
2023-01-16 22:13 分类:问答Universal App won't run on iPad Simulator
I have an existing iPhone app that I\'m trying to convert into a universal app for both iPhone and iPad. Everything seems to work fine when I run it on an iPad device, but I get the following runtime[详细]
2023-01-15 20:32 分类:问答Symbol not found: _OBJC_CLASS_$_NSURL error when launching on Mac OS X Leopard
I\'ve just gotten a report from a user that a new build of my app crashes on his machine when he tries to launch it.The crash report is:[详细]
2023-01-14 06:07 分类:问答Should I release this? Memory Management in Objective-C
Should I release strPhone? What about the coreFoundation object being cast to an NSString? What happens to it?[详细]
2023-01-14 03:39 分类:问答Getting notified when a VPN connection disconnects
How can I, within my Cocoa app, get a notification when the currently running VPN开发者_运维知识库 connection disconnects? I\'m running Snow Leopard.You may be able to use the System Configuration fra[详细]
2023-01-13 07:31 分类:问答Determining what a CFTypeRef is?
I have a function which returns CFTypeRef开发者_如何学运维. I have no idea what it really is. How do I determine that? For example it might be a CFStringRef. CFGetTypeID():[详细]
2023-01-11 21:27 分类:问答
加载中,请稍侯......