• 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: can C++ object use Object C objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can C++ object use Object C objects?


  • Subject: Re: can C++ object use Object C objects?
  • From: KJ Walker <email@hidden>
  • Date: Fri, 2 Sep 2005 15:06:41 -0700


On Sep 2, 2005, at 14:56, Scott Andrew wrote:

So my derived class just has to live in a .mm extension?? Thats it? Are there any limitations?

so my .h can have:

class CMyMacClass : public CMyXPlatClass
{
    NSString* pstring;

    NSString* GetString();

}

cool. So then I just need to write a thin object wrapper so my object can live in a NSArrayController. that would just stash this object then return the string.

Basically it is pretty straight forward and what you wrote above does look reasonable at casual glance.

Further reading in in the following area may be helpful.
http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html

Good fortunes,


KJ
Senior Mac Developer
SmartSound Software, Inc.



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

This email sent to email@hidden

  • Follow-Ups:
    • Re: can C++ object use Object C objects?
      • From: Bob <email@hidden>
References: 
 >can C++ object use Object C objects? (From: Scott Andrew <email@hidden>)
 >Re: can C++ object use Object C objects? (From: KJ Walker <email@hidden>)
 >Re: can C++ object use Object C objects? (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: can C++ object use Object C objects?
  • Next by Date: RE: Problem adding .lproj folders to xcode projecjt
  • Previous by thread: Re: can C++ object use Object C objects?
  • Next by thread: Re: can C++ object use Object C objects?
  • Index(es):
    • Date
    • Thread