Added doc description for the NSData category
This commit is contained in:
parent
dfceb49d2b
commit
a8f5627052
|
@ -6,5 +6,14 @@
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
@interface NSData (ImageContentType)
|
@interface NSData (ImageContentType)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Compute the content type for an image data
|
||||||
|
*
|
||||||
|
* @param data the input data
|
||||||
|
*
|
||||||
|
* @return the content type as string (i.e. image/jpeg, image/gif)
|
||||||
|
*/
|
||||||
+ (NSString *)contentTypeForImageData:(NSData *)data;
|
+ (NSString *)contentTypeForImageData:(NSData *)data;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue