Thread overview
Xcode Integration
Aug 06, 2013
tosites
Aug 06, 2013
evilrat
Aug 07, 2013
Jacob Carlborg
Aug 07, 2013
evilrat
Aug 07, 2013
Jacob Carlborg
August 06, 2013
Is there any possibility to DigitalMars support Xcode 4 and 5?

I really would like create softwares using D for iOS and Mac, but it is almost impossible without Xcode support.

D for Xcode is compatible only until Xcode 3.
August 06, 2013
On Tuesday, 6 August 2013 at 16:15:16 UTC, tosites wrote:
> Is there any possibility to DigitalMars support Xcode 4 and 5?
>
> I really would like create softwares using D for iOS and Mac, but it is almost impossible without Xcode support.
>
> D for Xcode is compatible only until Xcode 3.

may i ask you? why do you think there is(was) plugin for xcode only up to xcode 3?
spoiler: xcode4 don't have extensions mechanism(and apple don't say about such possibility in future), so no, no plugins - no support for D.

the only good code completion for OS X is only in xamarin.studio with mono-d plugin, though it is underdeveloped for this OS, be ready for lots if PITA. but i never used DDT for eclipse, so you can try and figure for yourself.

p.s. even while xcode doesn't have plugins and so on, you can build custom project template for it to work with D, but it would be very limited compared to other IDE's.
August 07, 2013
On 2013-08-06 18:15, tosites wrote:
> Is there any possibility to DigitalMars support Xcode 4 and 5?

I can say that DigitalMars will never support Xcode. Currently it doesn't support any IDE's or editors at all. All IDE's and editors out there that supports D are made by the community and not DigitalMars.

Then the fact that Xcode officially doesn't support plugins make it a lot harder.

> I really would like create softwares using D for iOS and Mac, but it is
> almost impossible without Xcode support.

Yes, we all would like that. But currently Xcode integration is the least of your problems. For iOS support for ARM is needed. LDC and GDC can generate code for ARM but the runtime is not working properly yet. DMD cannot generate code for ARM at all.

You also need a way to integrate with the Objective-C frameworks. The best solution to do that is making D ABI compatible with Objective-C. This has already been done but is not completely finished yet and not folded in to main line.

http://michelf.ca/projects/d-objc/syntax/

Most up to date code: https://github.com/jacob-carlborg/dmd/tree/d-objc

I'm trying to get it in to mainline.

> D for Xcode is compatible only until Xcode 3.

Yes, I have thought about trying to update it for Xcode 4 as well but have not done anything about it yet.

-- 
/Jacob Carlborg
August 07, 2013
On 2013-08-06 18:48, evilrat wrote:

> may i ask you? why do you think there is(was) plugin for xcode only up
> to xcode 3?

Because there is: http://michelf.ca/projects/d-for-xcode/

> spoiler: xcode4 don't have extensions mechanism(and apple don't say
> about such possibility in future), so no, no plugins - no support for D.

Xcode doesn't not officially supports plugins but that doesn't mean it's impossible to use plugins with Xcode. Xcode itself uses plugins for its components.

-- 
/Jacob Carlborg
August 07, 2013
On Wednesday, 7 August 2013 at 10:06:42 UTC, Jacob Carlborg wrote:
> On 2013-08-06 18:48, evilrat wrote:
>
>> may i ask you? why do you think there is(was) plugin for xcode only up
>> to xcode 3?
>
> Because there is: http://michelf.ca/projects/d-for-xcode/

i know!

>> spoiler: xcode4 don't have extensions mechanism(and apple don't say
>> about such possibility in future), so no, no plugins - no support for D.
>
> Xcode doesn't not officially supports plugins but that doesn't mean it's impossible to use plugins with Xcode. Xcode itself uses plugins for its components.

yes it may have some plugins api, but the fact apple not publish it, says about they change it too often.