setPageCacheSize(_:)
Sets the maximum number of pages the receiver can cache.
Declaration
func setPageCacheSize(_ size: Int)Parameters
- size:
The maximum number of pages that can be cached.
Discussion
The default page cache size can vary depending on the computer’s configuration. Use pageCacheSize() to get the current setting.