Kaydet (Commit) 98ae2b23 authored tarafından siqi's avatar siqi

comManager works now

üst f635e786
......@@ -9,6 +9,7 @@
#import "SlideShow.h"
#import "Base64.h"
#import <dispatch/dispatch.h>
#import "slideShowViewController.h"
@interface SlideShow()
......@@ -24,16 +25,22 @@
@synthesize currentSlide = _currentSlide;
@synthesize delegate = _delegate;
dispatch_queue_t backgroundQueue;
- (SlideShow *) init{
self = [super init];
self.imagesArray = [[NSMutableArray alloc] init];
self.notesArray = [[NSMutableArray alloc] init];
_size = 0;
_currentSlide = 0;
backgroundQueue = dispatch_queue_create("org.libreoffice.iosremote.bgqueue", NULL);
return self;
}
- (void) putImage: (NSString *)img AtIndex: (uint) index{
NSData* data = [NSData dataWithBase64String:img];
UIImage* image = [UIImage imageWithData:data];
[self.imagesArray insertObject:image atIndex:index];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment