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

Re: Objective-C question


  • Subject: Re: Objective-C question
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 4 May 2004 11:47:06 -0500

Please clarify how your functions are unsatisfactory the way they are. Objective-C is a superset of C, and any function written in C is therefore already written in Objective-C. The only difference is that you can also send messages to objects.

-- F

On 4 May 2004, at 10:51 AM, Chuck Soper wrote:

I have a source and header file that contains two Objective-C classes. One is an NSView subclass and the other is an NSCell subclass. I have two functions that are used in both classes. Right now these functions are written in C, but I want them to be in Objective-C. I want one implementation for these functions that both classes can use. How can I do this? It seems like it should be straightforward.

--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
_______________________________________________
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: Objective-C question
      • From: Chuck Soper <email@hidden>
References: 
 >Objective-C question (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: NSOpenPanel Oddity
  • Next by Date: Re: Objective-C question
  • Previous by thread: Objective-C question
  • Next by thread: Re: Objective-C question
  • Index(es):
    • Date
    • Thread