Re: NSStrings obtained from CFStrings
Re: NSStrings obtained from CFStrings
- Subject: Re: NSStrings obtained from CFStrings
- From: Wesley Miaw <email@hidden>
- Date: Thu, 3 Apr 2003 19:57:05 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As I understand it, CFString and NSString are one and the same
(otherwise you couldn't use them interchangeably). I would assume that
NSString is simply a wrapper to CFString. But perhaps someone from
Apple can confirm this.
On Thursday, April 3, 2003, at 07:34 PM,
email@hidden wrote:
Right, but what about getting CFStrings? Are they any different?
I did some testing yesterday evening... After I got the CFString I did
a
CFGetRefCount() on it, and the return value was 1. This helps, but I
still
don't know if the string was marked for "autorelease" or not.
- --
Wesley Miaw, Wesley Miaw Consulting
http://www.wesman.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE+jNhkQv4agqRAk2kRAqhjAKCrU4Pmzcr0U4gmTnekT72hEoNECQCgkIgT
ScauhNfUeLBhbo2XMHPrgJM=
=AC99
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.