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.
		
		
		
		
		
			
		
			
	
	
		
			26 lines
		
	
	
		
			624 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			26 lines
		
	
	
		
			624 B
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | ||
|  | //
 | ||
| 
											9 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
|  | @class TSThread; | ||
|  | @class OWSContactsManager; | ||
| 
											9 years ago
										 | @class UIImage; | ||
| 
											9 years ago
										 | 
 | ||
|  | @interface OWSAvatarBuilder : NSObject | ||
|  | 
 | ||
| 
											9 years ago
										 | + (UIImage *)buildImageForThread:(TSThread *)thread | ||
| 
											8 years ago
										 |                         diameter:(NSUInteger)diameter | ||
|  |                  contactsManager:(OWSContactsManager *)contactsManager NS_SWIFT_NAME(buildImage(thread:diameter:contactsManager:)); | ||
| 
											9 years ago
										 | 
 | ||
| 
											8 years ago
										 | + (UIImage *)buildRandomAvatarWithDiameter:(NSUInteger)diameter; | ||
|  | 
 | ||
| 
											9 years ago
										 | - (nullable UIImage *)buildSavedImage; | ||
|  | - (UIImage *)buildDefaultImage; | ||
|  | - (UIImage *)build; | ||
|  | 
 | ||
|  | @end | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_END |