Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

OC下给分类category替换类名的时候出问题 #45

Open
zhongwen42 opened this issue Oct 10, 2018 · 1 comment
Open

OC下给分类category替换类名的时候出问题 #45

zhongwen42 opened this issue Oct 10, 2018 · 1 comment

Comments

@zhongwen42
Copy link

例如:
UIView+LoadNib.h -> xxxUIView+LoadNib.h
用到该类的文件中#import “UIView+LoadNib.h” 没有改变。而且xxxUIView+LoadNib.h也没有加入到工程里边。

@klaus01
Copy link
Owner

klaus01 commented Oct 11, 2018

建议让工具忽略这些文件。

我平时使用时,SDK 对象(UI开头的)的 category 文件我都是忽略了的。我的工程都是统一放在 Category 目录下,所以工具只需要配置一个参数及可忽略。

如果没有统一的目录,文件不多的话,手动再处理一下也是可以的。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants