diff --git a/AsyncDisplayKit/Layout/ASLayoutOptions.h b/AsyncDisplayKit/Layout/ASLayoutOptions.h index eddb5dae03..5e64573138 100644 --- a/AsyncDisplayKit/Layout/ASLayoutOptions.h +++ b/AsyncDisplayKit/Layout/ASLayoutOptions.h @@ -23,7 +23,7 @@ - (void)setValuesFromLayoutable:(id)layoutable; #pragma mark - Subclasses should implement these! -- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions; +- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions; #pragma mark - ASStackLayoutable diff --git a/AsyncDisplayKit/Layout/ASLayoutOptions.mm b/AsyncDisplayKit/Layout/ASLayoutOptions.mm index ac4263825c..b89b59ca85 100644 --- a/AsyncDisplayKit/Layout/ASLayoutOptions.mm +++ b/AsyncDisplayKit/Layout/ASLayoutOptions.mm @@ -86,11 +86,11 @@ static Class gDefaultLayoutOptionsClass = nil; - (id)copyWithZone:(NSZone *)zone { ASLayoutOptions *copy = [[[self class] alloc] init]; - [copy propogateOptionsFromLayoutOptions:self]; + [copy propagateOptionsFromLayoutOptions:self]; return copy; } -- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions +- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions { ASDN::MutexLocker l(_propertyLock); self.flexBasis = layoutOptions.flexBasis; diff --git a/AsyncDisplayKit/Layout/ASLayoutSpec.mm b/AsyncDisplayKit/Layout/ASLayoutSpec.mm index c01af7df46..a91ca10372 100644 --- a/AsyncDisplayKit/Layout/ASLayoutSpec.mm +++ b/AsyncDisplayKit/Layout/ASLayoutSpec.mm @@ -82,7 +82,7 @@ static NSString * const kDefaultChildrenKey = @"kDefaultChildrenKey"; id finalLayoutable = [child finalLayoutable]; if (finalLayoutable != child) { - [finalLayoutable.layoutOptions propogateOptionsFromLayoutOptions:child.layoutOptions]; + [finalLayoutable.layoutOptions propagateOptionsFromLayoutOptions:child.layoutOptions]; return finalLayoutable; } }