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.
		
		
		
		
		
			
		
			
	
	
		
			33 lines
		
	
	
		
			810 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			810 B
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | ||
|  | //
 | ||
| 
											9 years ago
										 | 
 | ||
|  | #import "OWSAvatarBuilder.h"
 | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
|  | @class OWSContactsManager; | ||
|  | @class TSContactThread; | ||
|  | 
 | ||
|  | @interface OWSContactAvatarBuilder : OWSAvatarBuilder | ||
|  | 
 | ||
| 
											8 years ago
										 | /**
 | ||
|  |  * Build an avatar for a Signal recipient | ||
|  |  */ | ||
|  | - (instancetype)initWithSignalId:(NSString *)signalId | ||
|  |                         diameter:(NSUInteger)diameter | ||
|  |                  contactsManager:(OWSContactsManager *)contactsManager; | ||
|  | 
 | ||
|  | /**
 | ||
|  |  * Build an avatar for a non-Signal recipient | ||
|  |  */ | ||
|  | - (instancetype)initWithNonSignalName:(NSString *)nonSignalName | ||
|  |                             colorSeed:(NSString *)colorSeed | ||
|  |                              diameter:(NSUInteger)diameter | ||
|  |                       contactsManager:(OWSContactsManager *)contactsManager; | ||
|  | 
 | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 | @end | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_END |