From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/YYCategories/YYCategories/Foundation/NSThread+YYAdd.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/YYCategories/YYCategories/Foundation/NSThread+YYAdd.h b/screendisplay/Pods/YYCategories/YYCategories/Foundation/NSThread+YYAdd.h new file mode 100755 index 0000000..01d2761 --- /dev/null +++ b/screendisplay/Pods/YYCategories/YYCategories/Foundation/NSThread+YYAdd.h @@ -0,0 +1,25 @@ +// +// NSThread+YYAdd.h +// YYCategories <https://github.com/ibireme/YYCategories> +// +// Created by ibireme on 15/7/3. +// Copyright (c) 2015 ibireme. +// +// This source code is licensed under the MIT-style license found in the +// LICENSE file in the root directory of this source tree. +// + +#import <Foundation/Foundation.h> + +@interface NSThread (YYAdd) + +/** + Add an autorelease pool to current runloop for current thread. + + @discussion If you create your own thread (NSThread/pthread), and you use + runloop to manage your task, you may use this method to add an autorelease pool + to the runloop. Its behavior is the same as the main thread's autorelease pool. + */ ++ (void)addAutoreleasePoolToCurrentRunloop; + +@end -- Gitblit v1.8.0