text: //
  //  NSObject+CGXGCD.h
  //  CGXCategoryKit-OC
  //
  //  Created by CGX on 2020/10/01.
  //  Copyright © 2020年 CGX. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  @interface NSObject (CGXGCD)
  /**
   *  @brief  异步执行代码块
   *
   *  @param block 代码块
   */
  - (void)gx_performAsynchronous:(void(^)(void))block;
  /**
   *  @brief  GCD主线程执行代码块
   *
   *  @param block 代码块
   *  @param wait  是否同步请求
   */
  - (void)gx_performOnMainThread:(void(^)(void))block wait:(BOOL)wait;
  
  /**
   *  @brief  延迟执行代码块
   *
   *  @param seconds 延迟时间 秒
   *  @param block   代码块
   */
  - (void)gx_performAfter:(NSTimeInterval)seconds block:(void(^)(void))block;
  @end
  