摘要:
c++ 单例classCSingleton{private:CSingleton() {} //构造函数是私有的staticCSingleton*m_pInstance;public:staticCSingleton*GetInstance() {if(m_pInstance==NULL)//判断是... 阅读全文
摘要:
定义如下分类 x y, 具有相同的函数helloworld@interface UIImage (x)- (void)helloworld;@end@implementation UIImage (x)- (void)helloworld { NSLog(@"helloworld-A");}@end... 阅读全文