Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
- Subject: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
- From: Simon Stapleton <email@hidden>
- Date: Thu, 17 Oct 2002 22:20:23 +0200
From: Rosyna <email@hidden>
<snippage>
The NSString and foundation docs talk about it. Just about all
Foundation types are Toll-free bridged with their CoreFoundation
counterparts.
Ah, sychronicity, sychronicity.
Well, nearly.
Anyone here have any clues as to how one could go about bridging
classes oneself? I'm assuming it involves hand-building classes on the
fly. I am, as it happens, playing with XML services, and I'd quite
like to create an xxXMLNode Objective-C class that bridges directly to
CFXMLNode.
Now, I'm perfectly aware that I could happily create a class that
'wraps' CFXMLNode and forget about it, but I kind of got wondering
about how the bridging stuff works, and one thing led to another, and
before you know it I'm back ploughing into the runtime ...
... hell, I must be bored.
Simon
--
PGP Key Id : 0x50D0698D
--
If the answer isn't obvious, the question is a distraction. Go find an
easier question.
_______________________________________________
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.