[问题] category name 和 subclass name 相同?

楼主: chise (chise)   2016-08-04 14:12:47
我在某个project看到了
@interface WTAZoomNavigationController : UIViewController
...
@end
@interface UIViewController (WTAZoomNavigationController)
...
@end
请问各位这样只是单纯的:
我有一个 UIViewController 的 subclass WTAZoomNavigationController
再利用这同一个名字来当catagory吗 ?
谢谢各位的解惑
作者: tentenlee (天天)   2016-08-04 19:39:00
category name没啥意义吧 只是让UIViewController加功能 可以直接用一些自定义的method而已
楼主: chise (chise)   2016-08-05 10:35:00
原来如此 我懂了 谢谢你的指导