Skip to content
Browse files

header in implementation file.. wuuut?

  • Loading branch information...
Jamie Pinkham
Jamie Pinkham committed Feb 4, 2011
1 parent 2d2c63d commit d62a680cfaa363eeaaf294e782b74210e261d990
Showing with 21 additions and 13 deletions.
  1. +21 −13 OAAtachment.m
@@ -6,21 +6,29 @@
// Copyright 2011 Tumblr. All rights reserved.

#import <Foundation/Foundation.h>
#import "OAAttachment.h"

@implementation OAAttachment

@interface OAAttachment : NSObject {
NSString *name;
NSString *fileName;
NSString *contentType;
NSData *data;
@synthesize name, filename, contentType, data;

@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *fileName;
@property (nonatomic, copy) NSString *contentType;
@property (nonatomic, copy) NSData *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;

- (id)initWithName:(NSString *)aName filename:(NSString *)aFilename contentType:(NSString *)aContentType data:(NSData *)aData;
- (void)dealloc{
[name release];
[filename release];
[contentType release];
[data release];
[super dealloc];


0 comments on commit d62a680

Please sign in to comment.
You can’t perform that action at this time.