• 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: Cross platform Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross platform Obj-C


  • Subject: Re: Cross platform Obj-C
  • From: Mamdouh <email@hidden>
  • Date: Mon, 6 May 2002 14:30:55 +0200

Or, you could write it all in
Objective C so long as you don't use any of the Cocoa Objects...which IMO is
where Objective C gets it's power.

Does this mean that non-Cocoa-Obj-C can be used on other platforms? Ive allways thought that this was impossible since some other platforms doesnt support Obj-C (mainly windows, i think all UNIX based OS4s have the Obj-C runtime framework, but not sure)!

Please tell me if i4m getting this right!
And are there any things i have to write to ake this work? Maybe bundle a framework!?!

TIA
Mamdouh
Student/Programmer

But using the Standard Library and C++ (Or the standard library of C w/
Objective C) for the generic parts of your program would be acceptable.
Basically, anything that is not interface. This leads to the second part.
I would then create the interface for all my programs in their native code.
Cocoa for OS X, C++ with the Windows Foundation Classes for Windows and
whatever your using for UNIX (most likely X86). Then have your UI objects
communicate with all your data objects seeing as Objective C can communicate
with C++ fairly well.
The way I think of it is everything on stage is native and the folks behind
the scenes are the same, C++...or non-Cocoa Objective C.
To me, this seems to be the best modal as you you get lots of reuse and a
native interface that all you have to do is "hook-up" to the data objects.
I'm open for better ideas though.

-- NAteZ
_______________________________________________
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.

  • Follow-Ups:
    • Re: Cross platform Obj-C
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: horizontal scrolling and NSTableView
  • Next by Date: Does the windowDidResize really work while resizing?
  • Previous by thread: Re: horizontal scrolling and NSTableView
  • Next by thread: Re: Cross platform Obj-C
  • Index(es):
    • Date
    • Thread