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.
		
		
		
		
		
			
		
			
				
	
	
		
			35 lines
		
	
	
		
			652 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			35 lines
		
	
	
		
			652 B
		
	
	
	
		
			Objective-C
		
	
| //  Created by Michael Kirk on 10/7/16.
 | |
| //  Copyright © 2016 Open Whisper Systems. All rights reserved.
 | |
| 
 | |
| #import "OWSFakeContactsManager.h"
 | |
| 
 | |
| NS_ASSUME_NONNULL_BEGIN
 | |
| 
 | |
| @class UIImage;
 | |
| 
 | |
| @implementation OWSFakeContactsManager
 | |
| 
 | |
| - (NSString * _Nonnull)displayNameForPhoneIdentifier:(NSString * _Nullable)phoneNumber
 | |
| {
 | |
|     return @"Fake name";
 | |
| }
 | |
| 
 | |
| - (NSArray<Contact *> * _Nonnull)signalContacts
 | |
| {
 | |
|     return @[];
 | |
| }
 | |
| 
 | |
| + (BOOL)name:(NSString * _Nonnull)nameString matchesQuery:(NSString * _Nonnull)queryString
 | |
| {
 | |
|     return YES;
 | |
| }
 | |
| 
 | |
| - (UIImage * _Nullable)imageForPhoneIdentifier:(NSString * _Nullable)phoneNumber
 | |
| {
 | |
|     return nil;
 | |
| }
 | |
| 
 | |
| @end
 | |
| 
 | |
| NS_ASSUME_NONNULL_END
 |