mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			35 lines
		
	
	
		
			958 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			958 B
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
| 
											8 years ago
										 | //  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
 | ||
| 
											9 years ago
										 | //
 | ||
|  | 
 | ||
| 
											8 years ago
										 | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
| 
											9 years ago
										 | @class TSAttachmentStream; | ||
|  | 
 | ||
| 
											8 years ago
										 | typedef void (^AttachmentSharingCompletion)(void); | ||
|  | 
 | ||
| 
											9 years ago
										 | @interface AttachmentSharing : NSObject | ||
|  | 
 | ||
| 
											7 years ago
										 | + (void)showShareUIForAttachments:(NSArray<TSAttachmentStream *> *)attachmentStreams | ||
|  |                        completion:(nullable AttachmentSharingCompletion)completion; | ||
|  | 
 | ||
| 
											9 years ago
										 | + (void)showShareUIForAttachment:(TSAttachmentStream *)stream; | ||
|  | 
 | ||
| 
											9 years ago
										 | + (void)showShareUIForURL:(NSURL *)url; | ||
|  | 
 | ||
| 
											8 years ago
										 | + (void)showShareUIForURL:(NSURL *)url completion:(nullable AttachmentSharingCompletion)completion; | ||
|  | 
 | ||
| 
											7 years ago
										 | + (void)showShareUIForURLs:(NSArray<NSURL *> *)urls completion:(nullable AttachmentSharingCompletion)completion; | ||
|  | 
 | ||
| 
											8 years ago
										 | + (void)showShareUIForText:(NSString *)text; | ||
|  | 
 | ||
| 
											8 years ago
										 | + (void)showShareUIForText:(NSString *)text completion:(nullable AttachmentSharingCompletion)completion; | ||
|  | 
 | ||
| 
											8 years ago
										 | #ifdef DEBUG
 | ||
|  | + (void)showShareUIForUIImage:(UIImage *)image; | ||
|  | #endif
 | ||
|  | 
 | ||
| 
											9 years ago
										 | @end | ||
| 
											8 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_END |