From 2509de8b624977c562ea3841f2543a0a8284dccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Mon, 7 Sep 2026 13:29:16 -0400 Subject: [PATCH] docs: fix 6 typos in documentation comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comment-only spelling corrections in PHManager.swift and PHCache.swift. No identifiers, code, or behaviour are changed. Signed-off-by: Léon Avic Simmons --- PHImageKit/PHCache.swift | 4 ++-- PHImageKit/PHManager.swift | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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.