Cat learns iOS tips _ How to delete xcode plug-ins _ automatic prompt for image plug-ins KSImageNamed sometimes does not work _ category or macro ,,

Source: Internet
Author: User

Cat learns iOS tips _ How to delete xcode plug-ins _ automatic prompt for image plug-ins KSImageNamed sometimes does not work _ category or macro ,,

CAT/CAT sharing, must be excellent

For Original Articles, please reprint them. Reprinted Please note: Yan Nai-yu's blog
Address: http://blog.csdn.net/u013357243

I. solved the problem of auto-Prompt image plug-in KSImageNamed sometimes failed _ category or macro and so on.

As a matter of fact, we can write plug-ins by ourselves, which is not as difficult as we think. However, we still need to solve the current problem first.

When I was doing a Weibo project, the extracted category had
+ (Instancetype) imageWithOriginalName :( NSString *) imageName;
However, during the call, the image cannot be automatically displayed as the imageNamed character string does not even prompt the image (Black and black face)

Ii. Solution

Change his project

Step 1: Delete the installed xcode plug-in (this article introduces)
The second step is to open the KSImageNamed project.

Part 3: rebuild the three parts
First, copy the 0th entries, and then replace the imageNamed with imageWithOriginalName.

Then compile command + B, and then reinstall

Supplement:

In the previous section, I searched by image. In fact, no matter the type or macro definition, they all changed the plist file.
In this project, the keyword file is Completions. plist, which we searched.

How can I delete the xcode plug-in?

Directly go to the directory where the plug-in is located and delete the plug-in.
Plug-In Path :~ /Library/Application Support/Developer/Shared/Xcode/Plug-ins
The Library folder (that is, the resource Library) is hidden by default, so you can use the following method to open the path:
Go to Finder> go to the folder (shortcut: cmd + Shift + G), enter the above path, press enter, find the Fuzzy Aotocomplete plug-in, and delete it.

If necessary, click it.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.