Add nullability annotations to MP42Image.

This commit is contained in:
Damiano Galassi committed 2019-03-11 16:09:17 +01:00
1 parent 0c14b18efc
commit 6255d43870
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@
return copy;
}
- (NSImage *)imageFromData:(NSData *)data
- (nullable NSImage *)imageFromData:(NSData *)data
{
NSImage *image = nil;
NSBitmapImageRep *imageRep = [NSBitmapImageRep imageRepWithData:data];