mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-04-24 04:15:32 +08:00
Correct spelling typos
This commit is contained in:
@@ -96,7 +96,7 @@ NSData * __nullable PINImagePNGRepresentation(PINImage * __nonnull image) {
|
||||
CGImageRef imageRef = CGImageSourceCreateImageAtIndex(imageSourceRef, 0, (CFDictionaryRef)@{(NSString *)kCGImageSourceShouldCache : (NSNumber *)kCFBooleanFalse});
|
||||
if (imageRef) {
|
||||
#if PIN_TARGET_IOS
|
||||
UIImageOrientation orientation = pin_UIImageOrienationFromImageSource(imageSourceRef);
|
||||
UIImageOrientation orientation = pin_UIImageOrientationFromImageSource(imageSourceRef);
|
||||
if (skipDecodeIfPossible) {
|
||||
decodedImage = [PINImage imageWithCGImage:imageRef scale:1.0 orientation:orientation];
|
||||
} else {
|
||||
@@ -174,7 +174,7 @@ NSData * __nullable PINImagePNGRepresentation(PINImage * __nonnull image) {
|
||||
}
|
||||
|
||||
#if PIN_TARGET_IOS
|
||||
UIImageOrientation pin_UIImageOrienationFromImageSource(CGImageSourceRef imageSourceRef) {
|
||||
UIImageOrientation pin_UIImageOrientationFromImageSource(CGImageSourceRef imageSourceRef) {
|
||||
UIImageOrientation orientation = UIImageOrientationUp;
|
||||
|
||||
if (imageSourceRef != nil) {
|
||||
|
||||
@@ -429,7 +429,7 @@ typedef void(^PINRemoteImageManagerProgressDownload)(int64_t completedBytes, int
|
||||
@see cacheKeyForURL:processorKey:
|
||||
|
||||
@param cacheKey NSString key to look up image in the cache.
|
||||
@param options optoins will be used to determine if the cached image should be decompressed or FLAnimatedImages should be returned.
|
||||
@param options options will be used to determine if the cached image should be decompressed or FLAnimatedImages should be returned.
|
||||
|
||||
@return A PINRemoteImageManagerResult
|
||||
*/
|
||||
|
||||
@@ -1329,7 +1329,7 @@ static dispatch_once_t sharedDispatchToken;
|
||||
// - If network conditions dictate that the same quality image should be downloaded as the one being cached, no
|
||||
// new image will be downloaded as either the caching will have finished by the time we actually request it or
|
||||
// the task will still exist and our callback will be attached. In this case, no detrimental behavior will have
|
||||
// occured.
|
||||
// occurred.
|
||||
[urls enumerateObjectsWithOptions:NSEnumerationReverse usingBlock:^(NSURL *url, NSUInteger idx, BOOL *stop) {
|
||||
typeof(self) strongSelf = weakSelf;
|
||||
BlockAssert([url isKindOfClass:[NSURL class]], @"url must be of type URL");
|
||||
|
||||
Reference in New Issue
Block a user