session-ios/Signal/src/ViewControllers/SelectRecipientViewController.h
Matthew Chen 6801963a1b Add SignalAccount class.
// FREEBIE
2017-05-02 09:28:50 -04:00

37 lines
785 B
Objective-C

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
#import <UIKit/UIKit.h>
@class SignalAccount;
@protocol SelectRecipientViewControllerDelegate <NSObject>
- (NSString *)phoneNumberSectionTitle;
- (NSString *)phoneNumberButtonText;
- (NSString *)contactsSectionTitle;
- (void)phoneNumberWasSelected:(NSString *)phoneNumber;
- (void)signalAccountWasSelected:(SignalAccount *)signalAccount;
- (BOOL)shouldHideLocalNumber;
- (BOOL)shouldHideContacts;
- (BOOL)shouldValidatePhoneNumbers;
@end
#pragma mark -
@class ContactsViewHelper;
@interface SelectRecipientViewController : UIViewController
@property (nonatomic, weak) id<SelectRecipientViewControllerDelegate> delegate;
@property (nonatomic, readonly) ContactsViewHelper *contactsViewHelper;
@end