mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
This is a simplistic, NSURLSession-based downloader object that implements ASImageDownloaderProtocol and can be used with ASMultiplexImageNode and ASNetworkImageNode. (Closes #115. NSURLSession should suffice for most usecases, and this code should provide a good jumping-off point for a more-complex implementation.)
23 lines
791 B
Objective-C
23 lines
791 B
Objective-C
/* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <AsyncDisplayKit/ASDisplayNode.h>
|
|
#import <AsyncDisplayKit/ASDisplayNodeExtras.h>
|
|
|
|
#import <AsyncDisplayKit/ASControlNode.h>
|
|
#import <AsyncDisplayKit/ASImageNode.h>
|
|
#import <AsyncDisplayKit/ASTextNode.h>
|
|
|
|
#import <AsyncDisplayKit/ASBasicImageDownloader.h>
|
|
#import <AsyncDisplayKit/ASMultiplexImageNode.h>
|
|
#import <AsyncDisplayKit/ASNetworkImageNode.h>
|
|
|
|
#import <AsyncDisplayKit/ASTableView.h>
|
|
#import <AsyncDisplayKit/ASCollectionView.h>
|
|
#import <AsyncDisplayKit/ASCellNode.h>
|