Spracherkennung für: .m vermutete Sprache: Abap {ABAP[36] C[29] Corba[29]} [Methode: maximale Elemente, drei Dimensionen]
//
// UIImage+MWPhotoBrowser.m
// Pods
//
// Created by Michael Waterfall on 05/07/2015.
//
//
#import "UIImage+MWPhotoBrowser.h"
@implementation UIImage (MWPhotoBrowser)
+ (UIImage *)imageForResourcePath:(NSString *)path ofType:(NSString *)type inBundle:(NSBundle *)bundle {
return [UIImage imageWithContentsOfFile:[bundle pathForResource:path ofType:type]];
}
+ (UIImage *)clearImageWithSize:(CGSize)size {
UIGraphicsBeginImageContextWithOptions(size, NO, [UIScreen mainScreen].scale);
UIImage *blank = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return blank;
}
@end
[Dauer der Verarbeitung: 0.16 Sekunden]