//
// Macro.swift
// PaiAi
//
// Created by zhengjianfei on 2017/3/6.
// Copyright © 2017年 FFIB. All rights reserved.
//
import UIKit
let kScreenWidth = UIScreen.main.bounds.size.width
let kScreenHeight = UIScreen.main.bounds.size.height
let defaultAvatar = UIImage(named: "默认头像")
let kCurrentTimeZone = TimeInterval(TimeZone.current.secondsFromGMT())
var isUpdate = false
var isVersion = true
var sharedPlatform = 0
// MARK: closure
typealias clickAlertClosure = () -> Void
typealias success = () -> Void
typealias failureWithParam = (_ text: String) -> Void
typealias failure = success
typealias StringKeyDic = [String: AnyObject]
typealias setBlock = (_ imageView: UIImageView) -> Void
|