mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
31 lines
710 B
Objective-C
31 lines
710 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <SignalUtilitiesKit/OWSViewController.h>
|
|
|
|
@class TSThread;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SelectThreadViewControllerDelegate <NSObject>
|
|
|
|
- (void)threadWasSelected:(TSThread *)thread;
|
|
|
|
- (BOOL)canSelectBlockedContact;
|
|
|
|
- (nullable UIView *)createHeaderWithSearchBar:(UISearchBar *)searchBar;
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
// A base class for views used to pick a single signal user, either by
|
|
// entering a phone number or picking from your contacts.
|
|
@interface SelectThreadViewController : OWSViewController
|
|
|
|
@property (nonatomic, weak) id<SelectThreadViewControllerDelegate> selectThreadViewDelegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|