+
+ [NSURLCache setSharedURLCache:[[[CyteURLCache alloc]
+ initWithMemoryCapacity:524288
+ diskCapacity:10485760
+ diskPath:[NSString stringWithFormat:@"%@/%@/%@", NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject, NSBundle.mainBundle.bundleIdentifier, @"SDURLCache"]
+ ] autorelease]];
+}
+
+- (void) retainNetworkActivityIndicator {
+ if (activity_++ == 0)
+ [self setNetworkActivityIndicatorVisible:YES];
+
+#if TraceLogging
+ NSLog(@"retainNetworkActivityIndicator->%d", activity_);
+#endif
+}
+
+- (void) releaseNetworkActivityIndicator {
+ if (--activity_ == 0)
+ [self setNetworkActivityIndicatorVisible:NO];
+
+#if TraceLogging
+ NSLog(@"releaseNetworkActivityIndicator->%d", activity_);
+#endif