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.
		
		
		
		
		
			
		
			
	
	
		
			31 lines
		
	
	
		
			647 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			31 lines
		
	
	
		
			647 B
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | ||
|  | //
 | ||
|  | 
 | ||
| 
											9 years ago
										 | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
| 
											9 years ago
										 | @protocol ThreadViewHelperDelegate <NSObject> | ||
|  | 
 | ||
|  | - (void)threadListDidChange; | ||
|  | 
 | ||
|  | @end | ||
|  | 
 | ||
|  | #pragma mark -
 | ||
|  | 
 | ||
|  | @class TSThread; | ||
|  | 
 | ||
| 
											9 years ago
										 | // A helper class for views that want to present the list of threads
 | ||
|  | // that show up in home view, and in the same order.
 | ||
|  | //
 | ||
|  | // It observes changes to the threads & their ordering and informs
 | ||
|  | // its delegate when they happen.
 | ||
| 
											9 years ago
										 | @interface ThreadViewHelper : NSObject | ||
|  | 
 | ||
|  | @property (nonatomic, weak) id<ThreadViewHelperDelegate> delegate; | ||
|  | 
 | ||
|  | @property (nonatomic, readonly) NSMutableArray<TSThread *> *threads; | ||
|  | 
 | ||
|  | @end | ||
| 
											9 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_END |