• 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: Rosyna <email@hidden>
  • Date: Wed, 12 Dec 2001 23:56:57 -0700

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

Ack, at 12/13/01, Erik M. Buck said:

Of course.

Implement SomeLameCFunction(char * bob) in a *.m file or use the compiler
option to force it to use Objective-C when compiling that module.
Why would anyone doubt this ? This is exactly what Apple's own code example
do. What else could the phrase "Super-set of ANSI C" mean ?

--



Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insane People


  • Follow-Ups:
    • Re: ObjC from C
      • From: email@hidden
    • Re: ObjC from C
      • From: Marcel Weiher <email@hidden>
    • Re: ObjC from C
      • From: Charles Srstka <email@hidden>
References: 
 >Re: GhettoWeb (From: Andrew Pinski <email@hidden>)
 >Re: GhettoWeb (From: Chris Hanson <email@hidden>)
 >ObjC from C (From: Rosyna <email@hidden>)
 >Re: ObjC from C (From: "Erik M. Buck" <email@hidden>)

  • Prev by Date: Re: ObjC from C
  • Next by Date: Re: ObjC from C
  • Previous by thread: Re: ObjC from C
  • Next by thread: Re: ObjC from C
  • Index(es):
    • Date
    • Thread