标签:
## How do I use it?
Build the KSImageNamed target in the Xcode project and the plug-in will automatically be installed in `~/Library/Developer/Xcode/Plug-ins`. Relaunch Xcode and `imageNamed:` will magically start autocompleting your images.
**Important**: Old versions of KSImageNamed were installed in `~/Library/Developer/Application Support/Developer/Shared/Xcode/Plug-ins`. Make sure to remove `KSImageNamed.xcplugin` from there before installing the new one.
## How do I include file extensions when autocompleting?
Enter the following command and relaunch Xcode:
`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool YES`
以上是官方文档
在第一次安装的时候,跳出bundle选择的时候选择load,不然会安装失败
~/Library/Developer/Xcode/Plug-ins 删除KSImageNamed.
然后命令行敲入`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool YES
标签:
原文地址:http://www.cnblogs.com/longling2344/p/5137640.html