• 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: using xcode ,how to compile .c file as .m file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using xcode ,how to compile .c file as .m file?


  • Subject: Re: using xcode ,how to compile .c file as .m file?
  • From: "Paul Sanders" <email@hidden>
  • Date: Tue, 30 Mar 2010 11:03:16 +0100

On 30/03/2010, at 8:32 PM, simon Scylla wrote:

> i need to port some code to iphone and now i find that i can
> not call system
> interface of objc. i can rename my files from 888.c  to ***.m
> and it works.
> but i do not wanna rename my files.
> what should i do?i think there must be some choice in
> xcode.but i don't
> konw......[?]

Select file in left-hand pane -> Get Info -> General -> File
type -> sourcecode.c.objc.

Paul Sanders.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Objective-C Unit Testing
  • Next by Date: Making a C++ Framework
  • Previous by thread: Re: Resetting preferences
  • Next by thread: Making a C++ Framework
  • Index(es):
    • Date
    • Thread