• 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: developing a cross-platform app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: developing a cross-platform app?


  • Subject: Re: developing a cross-platform app?
  • From: Robert Tillyard <email@hidden>
  • Date: Tue, 18 May 2004 22:59:10 +0100

I'm looking to do something similar shortly. I had thought of two methods:-

1) Write everything in C/C++ except the UI and write a UI for each platform that calls C/C++ code.
2) Use Qt http://www.trolltech.com (or similar).

Regards, Rob.

On 18 May 2004, at 9:22 pm, David Feldman wrote:

I'm a Cocoa developer looking to write a cross-platform app. The app's innards are fairly complex and thus I'm looking to write them in a platform-agnostic manner that only requires a recompile. Keeping them object-oriented also seems like a good idea as the app has several distinct components. Initially I'm looking at Mac and Windows versions, but ultimately a Linux version would be useful as well.

On the Mac side I'll do the UI and other OS-specific stuff in Cocoa/Obj-C, and on the Windows side .NET/C#.

What I'm not clear on is how best to proceed connecting all these pieces. I could wrap all the platform-agnostic C++ code in COM, which is supported both on Mac and Windows, and that would allow the platform-specific stuff to send messages to it. But how would the C++ stuff send messages back to the platform-specific objects? I'm simply not clear what's the best way to do this sort of thing, nor do I know where to look to learn more.

Any thoughts would be appreciated.

Thanks,
--Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >developing a cross-platform app? (From: David Feldman <email@hidden>)

  • Prev by Date: RE: Text message
  • Next by Date: Re: stop a lengthy task in a thread
  • Previous by thread: developing a cross-platform app?
  • Next by thread: Re: developing a cross-platform app?
  • Index(es):
    • Date
    • Thread