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

Calling ObjC instance method from C


  • Subject: Calling ObjC instance method from C
  • From: "David G. Johnson" <email@hidden>
  • Date: Fri, 2 May 2003 15:37:19 -0600

Hi,

I am developing my first Cocoa application. It uses a modified version of
Apple's IOKit USBNotification example which is in a C file. I have no
problem calling C functions from Objective-C objects but have not figured
out how to call Objective-C instance methods from the C functions in
USBNotification.

I want to call methods in my interface controller class from a C file. What
is a good way to do this?

Thanks,
Dave
_______________________________________________
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: Calling ObjC instance method from C
      • From: Jeff Disher <email@hidden>
  • Prev by Date: Re: How to call AS method from Cocoa ?
  • Next by Date: Re: release & memory problem
  • Previous by thread: Re: How to call AS method from Cocoa ?
  • Next by thread: Re: Calling ObjC instance method from C
  • Index(es):
    • Date
    • Thread