Swiftgram/Source/Private/ASSection.h
2017-02-26 18:14:13 -08:00

26 lines
816 B
Objective-C

//
// ASSection.h
// AsyncDisplayKit
//
// Created by Huy Nguyen on 28/08/16.
//
// 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>
@protocol ASSectionContext;
@interface ASSection : NSObject
@property (nonatomic, assign, readonly) NSInteger sectionID;
@property (nonatomic, strong, nullable, readonly) id<ASSectionContext> context;
- (nullable instancetype)init __unavailable;
- (nullable instancetype)initWithSectionID:(NSInteger)sectionID context:(nullable id<ASSectionContext>)context NS_DESIGNATED_INITIALIZER;
@end