-(instancetype)init
{
self = [super init];
if (self) {
if ([[self class]isKindOfClass:[SplashScreenViewController class]])
{
NetworkClock * nc = [NetworkClock sharedNetworkClock];
self.networkTime = nc.networkTime;
[self shortTest];
}else
{
}
}
return self;
}
它对我不起作用。我想只在特定的类中执行NetworkClock代码,其他类应执行正常的"清除"在里面。你知道吗?