CYScrollViewDecelerationRateNormal = 0.998;
}
+- (bool) retainsNetworkActivityIndicator {
+ return true;
+}
+
- (void) dealloc {
#if LogBrowser
NSLog(@"[CyteWebViewController dealloc]");
#endif
if ([loading_ count] != 0)
- [delegate_ releaseNetworkActivityIndicator];
+ if ([self retainsNetworkActivityIndicator])
+ [delegate_ releaseNetworkActivityIndicator];
[super dealloc];
}
if ([loading_ count] != 1)
return;
- [delegate_ retainNetworkActivityIndicator];
+ if ([self retainsNetworkActivityIndicator])
+ [delegate_ retainNetworkActivityIndicator];
+
[self didStartLoading];
}
[self applyRightButton];
[[self navigationItem] setTitle:title_];
- [delegate_ releaseNetworkActivityIndicator];
+ if ([self retainsNetworkActivityIndicator])
+ [delegate_ releaseNetworkActivityIndicator];
+
[self didFinishLoading];
}