Skip to content


Subversion checkout URL

You can clone with
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){ = aName;
self.filename = aFilename;
self.contentType = aContentType; = aData;
return self;
- (void)dealloc{
[name release];
[filename release];
[contentType release];
[data release];
[super dealloc];
Jump to Line
Something went wrong with that request. Please try again.