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.
		
		
		
		
		
			
		
			
				
	
	
		
			45 lines
		
	
	
		
			733 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			45 lines
		
	
	
		
			733 B
		
	
	
	
		
			Objective-C
		
	
//
 | 
						|
//  Copyright (c) 2019 Open Whisper Systems. All rights reserved.
 | 
						|
//
 | 
						|
 | 
						|
#import <UIKit/UIKit.h>
 | 
						|
 | 
						|
NS_ASSUME_NONNULL_BEGIN
 | 
						|
 | 
						|
@class AvatarViewHelper;
 | 
						|
@class OWSContactsManager;
 | 
						|
@class SignalAccount;
 | 
						|
@class TSThread;
 | 
						|
 | 
						|
@protocol AvatarViewHelperDelegate <NSObject>
 | 
						|
 | 
						|
- (nullable NSString *)avatarActionSheetTitle;
 | 
						|
 | 
						|
- (void)avatarDidChange:(UIImage *)image;
 | 
						|
 | 
						|
- (UIViewController *)fromViewController;
 | 
						|
 | 
						|
- (BOOL)hasClearAvatarAction;
 | 
						|
 | 
						|
@optional
 | 
						|
 | 
						|
- (NSString *)clearAvatarActionLabel;
 | 
						|
 | 
						|
- (void)clearAvatar;
 | 
						|
 | 
						|
@end
 | 
						|
 | 
						|
#pragma mark -
 | 
						|
 | 
						|
typedef void (^AvatarViewSuccessBlock)(void);
 | 
						|
 | 
						|
@interface AvatarViewHelper : NSObject
 | 
						|
 | 
						|
@property (nonatomic, weak) id<AvatarViewHelperDelegate> delegate;
 | 
						|
 | 
						|
- (void)showChangeAvatarUI;
 | 
						|
 | 
						|
@end
 | 
						|
 | 
						|
NS_ASSUME_NONNULL_END
 |