Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need clarification on limitations of integrating C++ with Obj C




On Mar 21, 2006, at 7:58 AM, Clark Cox wrote:

On 3/21/06, John Draper <email@hidden> wrote:
Hi,

I'm trying to build an Obj C file... but it includes header files which are
C++ header files. If I set the source file type to sourcecode.cpp.objcpp
it compiles fine.


The only problem with that, is that I cannot make this object a NIB
object, because of the stupid restriction that NIB objects cannot
have any C++ code in it at all,  but does that also mean the NIB
object cannot even include C++ files?

What do you mean by "NIB object"? If you mean an object instantiated in a NIB or referenced by such an object, then I know of no such restriction.

Maybe he means that the IB parse file parser chokes on C++ syntax? I seem to remember that was the case in a previous version. Don't know if that is still true. But, even then you can always build a dummy API file to parse, or build it by hand in IB.


thanks!-

-lance

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

This email sent to email@hidden
References: 
 >I need clarification on limitations of integrating C++ with Obj C (From: John Draper <email@hidden>)
 >Re: I need clarification on limitations of integrating C++ with Obj C (From: "Clark Cox" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.