| /** |
| * Created by Weex. |
| * Copyright (c) 2016, Alibaba, Inc. All rights reserved. |
| * |
| * This source code is licensed under the Apache Licence 2.0. |
| * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. |
| */ |
| |
| #import "WXDevToolType.h" |
| #import <WeexSDK/WeexSDK.h> |
| |
| @implementation WXDevToolType |
| |
| + (void)setDebug:(BOOL)isDebug { |
| [WXDebugTool setDevToolDebug:isDebug]; |
| //notify debug status |
| [[NSNotificationCenter defaultCenter] postNotificationName:@"WXDevtoolDebug" object:@(isDebug)]; |
| } |
| |
| + (BOOL)isDebug { |
| return [WXDebugTool isDevToolDebug]; |
| } |
| |
| @end |