session-ios/Signal/src/ViewControllers/SelectThreadViewController.h

32 lines
675 B
C
Raw Normal View History

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
#import "OWSViewController.h"
@class TSThread;
2017-04-26 18:25:41 +02:00
NS_ASSUME_NONNULL_BEGIN
@protocol SelectThreadViewControllerDelegate <NSObject>
- (void)threadWasSelected:(TSThread *)thread;
- (BOOL)canSelectBlockedContact;
2017-04-26 21:44:21 +02:00
- (nullable UIView *)createHeaderWithSearchBar:(UISearchBar *)searchBar;
2017-04-26 19:03:51 +02:00
@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> delegate;
@end
2017-04-26 18:25:41 +02:00
NS_ASSUME_NONNULL_END