Re: "Toll free" bridge from NSAttributedString * to CFAttributedStringRef
Re: "Toll free" bridge from NSAttributedString * to CFAttributedStringRef
- Subject: Re: "Toll free" bridge from NSAttributedString * to CFAttributedStringRef
- From: Jens Alfke <email@hidden>
- Date: Thu, 8 Apr 2010 10:10:37 -0700
On Apr 8, 2010, at 9:48 AM, vincent habchi wrote:
So what's the point in saying that both NSAttributed… and
CFAttributed… are toll free bridged, if you cannot use one for
another? I find it misleading.
The objects themselves are bridged. NSAttributedString is fairly
general-purpose and doesn't care what the attribute names and values
are. (In fact it's implemented in the Foundation framework, not
AppKit, because it doesn't have any dependencies on graphics.)
It's kind of like you're saying that NSDictionary isn't really
bridged, because AppKit and CoreText are putting different key strings
into them.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden