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.
55 lines
1.5 KiB
Objective-C
55 lines
1.5 KiB
Objective-C
//
|
|
// ASIS3BucketObject.h
|
|
// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
|
|
//
|
|
// Created by Ben Copsey on 13/07/2009.
|
|
// Copyright 2009 All-Seeing Interactive. All rights reserved.
|
|
//
|
|
// Instances of this class represent objects stored in a bucket on S3
|
|
// ASIS3BucketRequests return an array of ASIS3BucketObjects when you perform a list query
|
|
|
|
#import <Foundation/Foundation.h>
|
|
@class ASIS3ObjectRequest;
|
|
|
|
@interface ASIS3BucketObject : NSObject <NSCopying> {
|
|
|
|
// The bucket this object belongs to
|
|
NSString *bucket;
|
|
|
|
// The key (path) of this object in the bucket
|
|
NSString *key;
|
|
|
|
// When this object was last modified
|
|
NSDate *lastModified;
|
|
|
|
// The ETag for this object's content
|
|
NSString *ETag;
|
|
|
|
// The size in bytes of this object
|
|
unsigned long long size;
|
|
|
|
// Info about the owner
|
|
NSString *ownerID;
|
|
NSString *ownerName;
|
|
}
|
|
|
|
+ (id)objectWithBucket:(NSString *)bucket;
|
|
|
|
// Returns a request that will fetch this object when run
|
|
- (ASIS3ObjectRequest *)GETRequest;
|
|
|
|
// Returns a request that will replace this object with the contents of the file at filePath when run
|
|
- (ASIS3ObjectRequest *)PUTRequestWithFile:(NSString *)filePath;
|
|
|
|
// Returns a request that will delete this object when run
|
|
- (ASIS3ObjectRequest *)DELETERequest;
|
|
|
|
@property (retain) NSString *bucket;
|
|
@property (retain) NSString *key;
|
|
@property (retain) NSDate *lastModified;
|
|
@property (retain) NSString *ETag;
|
|
@property (assign) unsigned long long size;
|
|
@property (retain) NSString *ownerID;
|
|
@property (retain) NSString *ownerName;
|
|
@end
|