// // ASLayoutableExtensibility.h // AsyncDisplayKit // // Created by Michael Schneider on 3/29/16. // Copyright © 2016 Facebook. All rights reserved. // #import @protocol ASLayoutableExtensibility // The maximum number of extended values per type are defined in ASEnvironment.h above the ASEnvironmentStateExtensions // struct definition. If you try to set a value at an index after the maximum it will throw an assertion. - (void)setLayoutOptionExtensionBool:(BOOL)value atIndex:(int)idx; - (BOOL)layoutOptionExtensionBoolAtIndex:(int)idx; - (void)setLayoutOptionExtensionInteger:(NSInteger)value atIndex:(int)idx; - (NSInteger)layoutOptionExtensionIntegerAtIndex:(int)idx; - (void)setLayoutOptionExtensionEdgeInsets:(UIEdgeInsets)value atIndex:(int)idx; - (UIEdgeInsets)layoutOptionExtensionEdgeInsetsAtIndex:(int)idx; @end