mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
24 lines
508 B
Objective-C
24 lines
508 B
Objective-C
//
|
|
// AppAssetResponse.m
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 2/1/15.
|
|
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "AppAssetResponse.h"
|
|
|
|
@implementation AppAssetResponse
|
|
@synthesize data, statusCode, statusMessage;
|
|
|
|
- (void)populateWithData:(NSData *)imageData {
|
|
self.data = imageData;
|
|
self.statusMessage = @"App asset has no status message";
|
|
self.statusCode = -1;
|
|
}
|
|
- (UIImage*) getImage {
|
|
return [[UIImage alloc] initWithData:self.data];
|
|
}
|
|
|
|
@end
|