Re: Objective-C++
Re: Objective-C++
- Subject: Re: Objective-C++
- From: Jens Miltner <email@hidden>
- Date: Tue, 12 Feb 2008 08:35:08 +0100
Am 11.02.2008 um 19:34 schrieb Sean McBride:
On 2/11/08 5:52 PM, Jens Miltner said:
BTW: I found it easier to have _all_ my Objective-C files have .mm
extensions.
Be warned however that Xcode 3's new 'refactoring' feature does not
support Obj-C++. So if you have .mm's, no refactoring for you! :(
Yes, unfortunately, I already found out about this when I would have
had a need for some refactoring help :(
Am 11.02.2008 um 19:41 schrieb Simone Tellini:
I usually set the "Compile Sources As" project option to "Objective-C
++" instead of bothering to rename all the files to .mm
As a bonus, the refactoring functions are still there (although the
only time I dared to try one of them, Xcode crashed and burned
<sigh> ;-)
Ah - I didn't know refactoring would work when keeping the suffix.
Although, according to your experience, it may not really work at all
with C++ code and by keeping the extension .m it may think it's plain
C/Objective-C code, thus failing to properly factor?
And yes, I have already filed a request to support refactoring for C+
+ / Objective-C++ code ;-)
</jum>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden