• 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
Portability of Foundation & NSObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Portability of Foundation & NSObject


  • Subject: Portability of Foundation & NSObject
  • From: James Stroud <email@hidden>
  • Date: Sat, 22 May 2004 17:38:27 -0600

I am beginning a small project to move some of my code from several scripting languages to Objective C so that they can be interfaced to cocoa. Old code may or may not stay in the original languages, but I want to write all new code with Objective C. I want to maintain an emphasis on code portability for at least the M in MVC (and maybe the C...?). I noticed that Objective C classes in Xcode import "Foundation.h" and inherit from NSObject. Do other platforms support "Foundation.h" and NSObject? Are these part of gcc, or do I need to create a custom "MYObject" class? Also, what steps do I need to take to ensure M and C code portability? I'm sure its easy to venture off topic here, but this is my starting point for all things Objective C/cocoa related, so be forgiving.

James
---------------------------------------------------------
James Stroud
Department of Chemistry
University of Colorado
Boulder, CO 80309-0215, USA

tel: 303-492-4503
www: http://JamesStroud.com/
--------------------------------------------------------
_______________________________________________
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: Portability of Foundation & NSObject
      • From: Joakim Danielson <email@hidden>
  • Prev by Date: Re: Add, Remove, & Action Button Styles
  • Next by Date: Re: Bindings doesn't update model object.
  • Previous by thread: Programming contest: ICFP, 4th June 2004
  • Next by thread: Re: Portability of Foundation & NSObject
  • Index(es):
    • Date
    • Thread