diff --git a/PHImageKit/PHCache.swift b/PHImageKit/PHCache.swift index d803c2a..5090323 100644 --- a/PHImageKit/PHCache.swift +++ b/PHImageKit/PHCache.swift @@ -142,8 +142,8 @@ class PHCache: NSObject { } /** - Clear expired and overexeeded max size file cache. If file cache is bigger than maxFileCache size, - oldest files will be removed while file chache is 50% of the max size. + Clear expired and exceeded max size file cache. If file cache is bigger than maxFileCache size, + oldest files will be removed while file cache is 50% of the max size. */ func backgroundCleanExpiredDiskCache() { var backgroundTask: UIBackgroundTaskIdentifier = 0 diff --git a/PHImageKit/PHManager.swift b/PHImageKit/PHManager.swift index 4f70c9b..995c1ff 100644 --- a/PHImageKit/PHManager.swift +++ b/PHImageKit/PHManager.swift @@ -30,7 +30,7 @@ public typealias PHVoidCompletion = () -> Void public typealias PHProgressCompletion = (_ percent : CGFloat) -> Void public typealias PHManagerCompletion = (_ object: PHImageObject?) -> Void -/// PHManager is responsible for downloading images, cancel ongoing reques and handle cache. +/// PHManager is responsible for downloading images, cancel ongoing requests and handle cache. open class PHManager: NSObject { /// Shared Instance @@ -57,7 +57,7 @@ open class PHManager: NSObject { } /** - Convinience method for downloading image from given url. + Convenience method for downloading image from given url. - parameter url: Image URL - parameter completion: Completion closure it returns image @@ -69,7 +69,7 @@ open class PHManager: NSObject { } /** - Convinience method for downloading image data from given url. + Convenience method for downloading image data from given url. - parameter url: Image URL - parameter comletion: Completion closure returns raw image data @@ -93,7 +93,7 @@ open class PHManager: NSObject { } /** - Purche memory and file cache. + Purge memory and file cache. - parameter fileCache: If set to `true` file cache will be removed too. - parameter completion: Optional completion closure.