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.
		
		
		
		
		
			
		
			
	
	
		
			28 lines
		
	
	
		
			783 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			28 lines
		
	
	
		
			783 B
		
	
	
	
		
			C
		
	
| 
								 
											9 years ago
										 
									 | 
							
								//
							 | 
						||
| 
								 
											8 years ago
										 
									 | 
							
								//  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								//
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#import <UIKit/UIKit.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								NS_ASSUME_NONNULL_BEGIN
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								@interface ViewControllerUtils : NSObject
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								- (instancetype)init NS_UNAVAILABLE;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								// This convenience function can be used to reformat the contents of
							 | 
						||
| 
								 | 
							
								// a phone number text field as the user modifies its text by typing,
							 | 
						||
| 
								 | 
							
								// pasting, etc.
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								+ (void)phoneNumberTextField:(UITextField *)textField
							 | 
						||
| 
								 | 
							
								    shouldChangeCharactersInRange:(NSRange)range
							 | 
						||
| 
								 | 
							
								                replacementString:(NSString *)insertionText
							 | 
						||
| 
								 | 
							
								                      countryCode:(NSString *)countryCode;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								+ (void)setAudioIgnoresHardwareMuteSwitch:(BOOL)shouldIgnore;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											8 years ago
										 
									 | 
							
								+ (NSString *)examplePhoneNumberForCountryCode:(NSString *)countryCode callingCode:(NSString *)callingCode;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								@end
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								NS_ASSUME_NONNULL_END
							 |