Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e99e1f7656
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (28 sloc) 0.638 kB
//
// OAAttachment.h
// Zeus
//
// Created by Jamie Pinkham on 2/3/11.
// Copyright 2011 Tumblr. All rights reserved.
//
#import "OAAttachment.h"
@implementation OAAttachment
@synthesize name, filename, contentType, data;
- (id)initWithName:(NSString *)aName filename:(NSString *)aFilename contentType:(NSString *)aContentType data:(NSData *)aData{
self = [super init];
if(self){
self.name = aName;
self.filename = aFilename;
self.contentType = aContentType;
self.data = aData;
}
return self;
}
- (void)dealloc{
[name release];
[filename release];
[contentType release];
[data release];
[super dealloc];
}
@end
Jump to Line
Something went wrong with that request. Please try again.