Signal-iOS/Signal/src/ViewControllers/DebugUI/DebugContactsUtils.h
2019-11-12 14:44:13 -03:00

30 lines
551 B
Objective-C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
#ifdef DEBUG
@class CNContact;
@interface DebugContactsUtils : NSObject
+ (NSString *)randomPhoneNumber;
+ (void)createRandomContacts:(NSUInteger)count;
+ (void)createRandomContacts:(NSUInteger)count
contactHandler:
(nullable void (^)(CNContact *_Nonnull contact, NSUInteger idx, BOOL *_Nonnull stop))contactHandler;
+ (void)deleteAllContacts;
+ (void)deleteAllRandomContacts;
@end
#endif
NS_ASSUME_NONNULL_END