Correct spelling typos

This commit is contained in:
Eric Jensen
2016-03-22 22:02:27 -07:00
parent 153df72ac4
commit af382d93f6
3 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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
*/

View File

@@ -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");