• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)


  • Subject: Re: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 18 Oct 2002 22:13:08 +0100

On Thursday, October 17, 2002, at 09:20 pm, Simon Stapleton wrote:

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 ...

Well... You'd need to modify CFXMLNode to make it into a toll-free bridged class, and I'm not sure if the src is available (it might be in CFLite, haven't checked). You can have a look at other things in CFLite, like CFString, to see how it's done. Unsurprisingly, it's a great big ugly mess :-)

-- Finlay
_______________________________________________
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.

  • Follow-Ups:
    • Re: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
      • From: Simon Stapleton <email@hidden>
References: 
 >Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS) (From: Simon Stapleton <email@hidden>)

  • Prev by Date: Re: Guidance needed: IrDa
  • Next by Date: Re: How to avoid a Windows interface on OS X?
  • Previous by thread: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
  • Next by thread: Re: Bridging (was Re: A CFStringRef that throws EXC_BAD_ACCESS)
  • Index(es):
    • Date
    • Thread