2017-08-30 15:58:02 +02:00
|
|
|
//
|
2019-03-22 18:05:35 +01:00
|
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
2017-08-30 15:58:02 +02:00
|
|
|
//
|
|
|
|
|
2014-11-24 21:51:43 +01:00
|
|
|
#import "UIColor+OWS.h"
|
|
|
|
#import "UIFont+OWS.h"
|
2020-06-05 02:38:44 +02:00
|
|
|
#import <SessionServiceKit/MIMETypeUtil.h>
|
|
|
|
#import <SessionServiceKit/UIImage+OWS.h>
|
2014-11-24 21:51:43 +01:00
|
|
|
|
2019-03-22 18:05:35 +01:00
|
|
|
#define ACCESSIBILITY_IDENTIFIER_WITH_NAME(_root_view, _variable_name) \
|
|
|
|
([NSString stringWithFormat:@"%@.%@", _root_view.class, _variable_name])
|
2019-02-19 22:11:36 +01:00
|
|
|
#define SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(_root_view, _variable_name) \
|
2019-03-22 18:05:35 +01:00
|
|
|
_variable_name.accessibilityIdentifier = ACCESSIBILITY_IDENTIFIER_WITH_NAME(_root_view, (@ #_variable_name))
|
2019-02-19 22:11:36 +01:00
|
|
|
|
2015-01-30 09:49:40 +01:00
|
|
|
typedef void (^completionBlock)(void);
|
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
/**
|
|
|
|
*
|
2014-11-24 21:51:43 +01:00
|
|
|
* UIUtil contains various class methods that centralize common app UI functionality that would otherwise be hardcoded.
|
2014-05-06 19:41:08 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
@interface UIUtil : NSObject
|
|
|
|
|
2016-11-18 23:11:56 +01:00
|
|
|
+ (void)applyRoundedBorderToImageView:(UIImageView *)imageView;
|
2015-12-22 12:45:09 +01:00
|
|
|
+ (void)removeRoundedBorderToImageView:(UIImageView *__strong *)imageView;
|
2014-05-06 19:41:08 +02:00
|
|
|
|
2018-06-30 00:17:49 +02:00
|
|
|
+ (void)setupSignalAppearence;
|
2016-11-15 18:51:55 +01:00
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
@end
|