"Optimize import" remove my header too
When i run the "header optimization" in a .m file, appcode remove even the import for the header of the same class.
I.E. i have a class like Person splitted on "Person.h" and "Person.m". Inside "Person.m" i have the "#import "Person.h" After running Import optimization the declaration is removed.
any advices?
thanks
请先登录再写评论。
Ignazio,
AppCode currently sometimes takes too aggressive stes to optimize import that leads to the problem you have mentioned.
We we'll try to improve the algorithm in the following updates.
it's true! I finally understand that it's related to the *.pch file. i hope a new alghoritm came out soon.