• 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
objective-C++ newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

objective-C++ newbie question


  • Subject: objective-C++ newbie question
  • From: Aaron Boothello <email@hidden>
  • Date: Mon, 25 Apr 2005 22:52:00 +0800

Hey people,
As some of you might know ive started using Objective-C++ for a project im implementing. All code compiles just fine. But...
first class(C++):
lets call it 'class1'

second class(Objective C):
ive have to have an instance of class1 in this class. I know you can only declare them i nthe obejctive-C class as a pointer. thats fine. But where/when can i actually declare the instance of class1 ? Do i have to declare it when the app starts up ?

My app is primarily an Obejctive-C Cocoa app. ive had to include class1 to extend the functionality.

Im  a bit confused, so forgive my newbie-ness.

Cheers,
Aaron.
 _______________________________________________
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

  • Follow-Ups:
    • Re: objective-C++ newbie question
      • From: Keith Ray <email@hidden>
    • Re: objective-C++ newbie question
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: NSWindowController window always nil?
  • Next by Date: Re: NSWindowController window always nil?
  • Previous by thread: Re: NSWindowController window always nil? SOLVED
  • Next by thread: Re: objective-C++ newbie question
  • Index(es):
    • Date
    • Thread