• 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: ObjC from C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC from C


  • Subject: Re: ObjC from C
  • From: email@hidden
  • Date: Thu, 13 Dec 2001 15:32:42 -0500

On Thursday, December 13, 2001, at 01:56 AM, Rosyna wrote:

That's the thing, it has to start out as straight C. How can I call a Objective C class?
What code example?


Not sure what you mean by "start out as". I started a tool
in PB, and it gave me .m and .h files, but when I first was writing I just
was writing straight C. So if starting in PB, you just pretend it's ObjC
but write your plain C. If you're bringing in outside files, I think you
just import Foundation/Foundation.h in the .h and it's OK. You
add your ObjC stuff from there (and rename .c -> .m).


ch


References: 
 >Re: ObjC from C (From: Rosyna <email@hidden>)

  • Prev by Date: Re: buy that new Book?
  • Next by Date: Re: Updated Copy...
  • Previous by thread: Re: ObjC from C
  • Next by thread: Re: ObjC from C
  • Index(es):
    • Date
    • Thread