// Copyright © 2018 650 Industries. All rights reserved. #import #import #import #import #import NS_ASSUME_NONNULL_BEGIN @interface EXUtilities : NSObject + (void)performSynchronouslyOnMainThread:(nonnull void (^)(void))block; + (CGFloat)screenScale; + (nullable UIColor *)UIColor:(nullable id)json; + (nullable NSDate *)NSDate:(nullable id)json; + (nonnull NSString *)hexStringWithCGColor:(nonnull CGColorRef)color; - (nullable UIViewController *)currentViewController; - (nullable NSDictionary *)launchOptions; + (BOOL)catchException:(void(^)(void))tryBlock error:(__autoreleasing NSError **)error; @end NS_ASSUME_NONNULL_END