All Downloads are FREE. Search and download functionalities are using the official Maven repository.

objc.SWGFile.m Maven / Gradle / Ivy

#import "SWGFile.h"

@implementation SWGFile

@synthesize name = _name;
@synthesize mimeType = _mimeType;
@synthesize data = _data;

- (id) init {
    self = [super init];
    return self;
}

- (id) initWithNameData: (NSString*) filename
               mimeType: (NSString*) fileMimeType
                   data: (NSData*) data {
	self = [super init];
	if(self) {
		_name = filename;
		_mimeType = fileMimeType;
		_data = data;
	}
	return self;
}

@end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy