简体   繁体   中英

Xcode 5 set code completion for new file type

I have been editing a lot of .xm files recently in Xcode. .xm is the file extension for a Logos iOS tweak, but has nearly identical code to Objective-c. My question is this: how can I make Xcode use objective-c code completions for .xm files? Currently it does not do this. I am using Xcode 5.1.1

Thanks!

You might want to look into iOS Open Dev . It uses Xcode to build various jailbreak tweaks etc. I don't think it's possible to use code completion on any file in xcode, it has to be part of an XCode target. I've never set it up, but you could try the instructions here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM