• 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: Mixing C++ with Objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing C++ with Objective C


  • Subject: Re: Mixing C++ with Objective C
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Wed, 3 Aug 2005 15:14:04 +0100

I've done a lot of Mixing C++ with ObjC.

In essence, it boils down to this:

Use pointers, not explicitly put the entire struct inside the ObjC object. Also, this works both ways, the Cpp class should have a pointer to the ObjC objects.

Then you just new/delete the classes in your init/dealloc, or wherever else is good.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Use multiple NSURLConnection
  • Next by Date: Re: CoreData - re-faulting object and removing self-observers results in messages being sent to zombie
  • Previous by thread: Re: Mixing C++ with Objective C
  • Next by thread: Mixing C++ with Objective C
  • Index(es):
    • Date
    • Thread