2014-05-06 19:41:08 +02:00
|
|
|
//
|
2017-02-08 20:25:31 +01:00
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
2014-05-06 19:41:08 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Availability.h>
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
2015-08-14 00:19:29 +02:00
|
|
|
#import <CocoaLumberjack/CocoaLumberjack.h>
|
2014-06-30 17:14:33 +02:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
2015-08-14 00:19:29 +02:00
|
|
|
static const NSUInteger ddLogLevel = DDLogLevelAll;
|
2014-06-30 17:14:33 +02:00
|
|
|
#else
|
2016-09-28 03:20:58 +02:00
|
|
|
static const NSUInteger ddLogLevel = DDLogLevelInfo;
|
2014-06-30 17:14:33 +02:00
|
|
|
#endif
|
|
|
|
|
2017-01-06 15:01:20 +01:00
|
|
|
#import <SignalServiceKit/Asserts.h>
|
2017-02-13 17:40:30 +01:00
|
|
|
#import <SignalServiceKit/Constraints.h>
|
|
|
|
#import <SignalServiceKit/OWSAnalytics.h>
|
2017-02-08 20:25:31 +01:00
|
|
|
#import <SignalServiceKit/OWSDispatch.h>
|
2017-02-08 17:59:02 +01:00
|
|
|
#import "iOSVersions.h"
|
2014-10-05 19:18:18 +02:00
|
|
|
|
2017-03-17 22:33:42 +01:00
|
|
|
#define SignalAlertView(title,msg) [[[UIAlertView alloc] initWithTitle:title message:msg delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", @"") otherButtonTitles:nil, nil] show]
|
2014-05-06 19:41:08 +02:00
|
|
|
#endif
|