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.
		
		
		
		
		
			
		
			
	
	
		
			48 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			48 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
| 
											8 years ago
										 | //  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
 | ||
| 
											9 years ago
										 | //
 | ||
|  | 
 | ||
| 
											8 years ago
										 | #import <SignalMessaging/OWSViewController.h>
 | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
| 
											9 years ago
										 | @class SignalAccount; | ||
| 
											9 years ago
										 | 
 | ||
|  | @protocol SelectRecipientViewControllerDelegate <NSObject> | ||
|  | 
 | ||
|  | - (NSString *)phoneNumberSectionTitle; | ||
|  | - (NSString *)phoneNumberButtonText; | ||
|  | - (NSString *)contactsSectionTitle; | ||
|  | 
 | ||
|  | - (void)phoneNumberWasSelected:(NSString *)phoneNumber; | ||
|  | 
 | ||
| 
											9 years ago
										 | - (BOOL)canSignalAccountBeSelected:(SignalAccount *)signalAccount; | ||
|  | 
 | ||
| 
											9 years ago
										 | - (void)signalAccountWasSelected:(SignalAccount *)signalAccount; | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 | - (nullable NSString *)accessoryMessageForSignalAccount:(SignalAccount *)signalAccount; | ||
|  | 
 | ||
| 
											9 years ago
										 | - (BOOL)shouldHideLocalNumber; | ||
|  | 
 | ||
|  | - (BOOL)shouldHideContacts; | ||
|  | 
 | ||
|  | - (BOOL)shouldValidatePhoneNumbers; | ||
|  | 
 | ||
|  | @end | ||
|  | 
 | ||
|  | #pragma mark -
 | ||
|  | 
 | ||
|  | @class ContactsViewHelper; | ||
|  | 
 | ||
| 
											8 years ago
										 | @interface SelectRecipientViewController : OWSViewController | ||
| 
											9 years ago
										 | 
 | ||
|  | @property (nonatomic, weak) id<SelectRecipientViewControllerDelegate> delegate; | ||
|  | 
 | ||
|  | @property (nonatomic, readonly) ContactsViewHelper *contactsViewHelper; | ||
|  | 
 | ||
| 
											8 years ago
										 | @property (nonatomic) BOOL isPresentedInNavigationController; | ||
|  | 
 | ||
| 
											9 years ago
										 | @end | ||
| 
											9 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_END |