• 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
C/Obj-C API Confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C/Obj-C API Confusion


  • Subject: C/Obj-C API Confusion
  • From: "J. Todd Slack" <email@hidden>
  • Date: Wed, 10 Sep 2008 12:44:46 -0700


I had a conversation with an Apple Engineer a few days ago and he recommended that I switch to the Quicktime C API rather than the Objective-C api for what I needed to do.


I have a few questions.

1. Currently I have a .m and I use NSTask, NSString, etc. I would need to change these for C, correct? What is NSTask in the C API?

2. Am I confused?

3. Can one mix C and Objective-C in the same file? Maybe I can keep the Objective-C stuff I already have done and just write the c code for QT integration that I need? If I pass in an NSString from AppleScript do I need to convert it a C-String?

Thoughts?

-Jason


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: C/Obj-C API Confusion
      • From: Ken Thomases <email@hidden>
    • Re: C/Obj-C API Confusion
      • From: "Sherm Pendley" <email@hidden>
    • Re: C/Obj-C API Confusion
      • From: Andrew Farmer <email@hidden>
    • Re: C/Obj-C API Confusion
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: OT: Installing Apps
  • Next by Date: Re: C/Obj-C API Confusion
  • Previous by thread: Re: NSTimer retain and release questions
  • Next by thread: Re: C/Obj-C API Confusion
  • Index(es):
    • Date
    • Thread