Initializes an NSURLCache object with the specified values.
Original signature is '- (id)initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity diskPath:(NSString *)path'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSURLCache( NSUInteger memoryCapacity, NSUInteger diskCapacity, NSString path )
Public Sub New ( _ memoryCapacity As NSUInteger, _ diskCapacity As NSUInteger, _ path As NSString _ )
public: NSURLCache( NSUInteger memoryCapacity, NSUInteger diskCapacity, NSString^ path )
Parameters
- memoryCapacity (NSUInteger)
- The memory capacity of the cache, in bytes.
- diskCapacity (NSUInteger)
- The disk capacity of the cache, in bytes.
- path (NSString)
- In Mac OS X, path is the location at which to store the on-disk cache.
Return Value
The initialized NSURLCache object.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)