1.是把通知全部写在PCH文件中
2.还是写在一个.h文件中如这样:
NSString *const ZOCCacheControllerDidClearCacheNotification = @"ZOCCacheControllerDidClearCacheNotification";
3.还是在.h文件中定义,在.m文件中声明如这样:
.h文件
extern NSString *const ZOCCacheControllerDidClearCacheNotification;
.m文件
NSString *const ZOCCacheControllerDidClearCacheNotification = @"heheda";
第三个, 毕竟Apple API也是用这种.