Files
wagic/projects/mtg/iOS/asi-http-request/S3/ASIS3Bucket.m
techdragon.nguyen@gmail.com 128c60bc2b added download feature for iOS port
required libs: 
    * ZipArchive - Obj-C impl of zip
    * asi-http-request : http request help to assist with asynchoronous downloading of files
    * minizip : support for ZipArchive
    * 
Added default splash screen for iOS app.  (using the Wagic background to keep it neutral to module)

TODO: refine handling for iPad splash screen
    * add selection screen and input screen for location of downloadable content. (ie core files, image files, etc )
    * add support to opt out of backing up to iCloud for core files. Right now iOS will automatically backup all files under Documents folder to iCloud.  Consider only allowing player data to be backed up to iCloud.  All graphics and other assets are considered volatile.
2011-12-11 07:40:22 +00:00

41 lines
886 B
Objective-C

//
// ASIS3Bucket.m
// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
//
// Created by Ben Copsey on 16/03/2010.
// Copyright 2010 All-Seeing Interactive. All rights reserved.
//
#import "ASIS3Bucket.h"
@implementation ASIS3Bucket
+ (id)bucketWithOwnerID:(NSString *)anOwnerID ownerName:(NSString *)anOwnerName
{
ASIS3Bucket *bucket = [[[self alloc] init] autorelease];
[bucket setOwnerID:anOwnerID];
[bucket setOwnerName:anOwnerName];
return bucket;
}
- (void)dealloc
{
[name release];
[creationDate release];
[ownerID release];
[ownerName release];
[super dealloc];
}
- (NSString *)description
{
return [NSString stringWithFormat:@"Name: %@ creationDate: %@ ownerID: %@ ownerName: %@",[self name],[self creationDate],[self ownerID],[self ownerName]];
}
@synthesize name;
@synthesize creationDate;
@synthesize ownerID;
@synthesize ownerName;
@end