|
From: | Eric Wasylishen |
Subject: | Re: Implementing CFSTR() in corebase |
Date: | Fri, 22 Jan 2010 13:26:00 -0700 |
On 2010-01-22, at 9:53 AM, David Chisnall wrote:
Hi, - There is no way (with the public API of CoreFoundation) to create new CoreFoundation types . The CG objects need to respond to -[retain] and -[release], as well as CFRetain(), and the other CF functions available for all CF types, so they really have to be instances of NSObject subclasses. - We need constant Obj-C/CF strings - it sounds like it is best to just use @"...". Initially I was interested in making Opal independent of Foundation, and able to work with Apple's CF or CFLite, but now I think it's not worth the effort. -Eric |
[Prev in Thread] | Current Thread | [Next in Thread] |