--
You received this message because you are subscribed to the Google Groups "Leaves Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaves-develop...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
- (CGImageRef)cachedImageForPageIndex:(NSUInteger)pageIndex {
NSNumber *pageIndexNumber = [NSNumber numberWithInt:pageIndex];
UIImage *pageImage;
@synchronized (pageCache) {
pageImage = [pageCache objectForKey:pageIndexNumber];
}
if (!pageImage) {
CGImageRef pageCGImage = [self imageForPageIndex:pageIndex];
if (pageCGImage) {
pageImage = [UIImage imageWithCGImage:pageCGImage];
@synchronized (pageCache) {
[pageCache setObject:pageImage forKey:pageIndexNumber];
}}
}
return pageImage.CGImage;
}
--
You received this message because you are subscribed to a topic in the Google Groups "Leaves Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/leaves-developers/gsQ7UTWhF6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to leaves-develop...@googlegroups.com.
I was working on this two!!! Rafael, can you upload working ios7 code for us?