session-ios/Signal/src/util/UIUtil.h
2017-09-12 14:45:57 -04:00

30 lines
666 B
Objective-C

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MIMETypeUtil.h"
#import "UIColor+OWS.h"
#import "UIFont+OWS.h"
#import "UIImage+OWS.h"
typedef void (^completionBlock)(void);
/**
*
* UIUtil contains various class methods that centralize common app UI functionality that would otherwise be hardcoded.
*
*/
@interface UIUtil : NSObject
+ (void)applyRoundedBorderToImageView:(UIImageView *)imageView;
+ (void)removeRoundedBorderToImageView:(UIImageView *__strong *)imageView;
+ (completionBlock)modalCompletionBlock;
+ (void)applyDefaultSystemAppearence;
+ (void)applySignalAppearence;
@end