Swiftgram/AsyncDisplayKit/Details/ASDealloc2MainObject.h
Hannah Troisi c857e809f4 Clean up header comments (for consistent Facebook licensing info) (#1741)
[Licensing] Clean up header comments (for consistent Facebook licensing info)
2016-06-11 23:31:39 -07:00

27 lines
791 B
Objective-C

//
// ASDealloc2MainObject.h
// AsyncDisplayKit
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* _OBJC_SUPPORTED_INLINE_REFCNT_WITH_DEALLOC2MAIN permits classes to implement their own reference counting and enforce
* deallocation on the main thread, but requires manual reference counting. This superclass exposes such functionality
* to ARC-enabled classes.
*/
@interface ASDealloc2MainObject : NSObject
- (BOOL)_isDeallocating;
@end
NS_ASSUME_NONNULL_END