Merge pull request #1353 from ejensen/spelling

[Documentation] Correct spelling errors
This commit is contained in:
appleguy
2016-03-16 22:53:15 -07:00
35 changed files with 68 additions and 69 deletions

View File

@@ -22,7 +22,7 @@
NS_ASSUME_NONNULL_BEGIN
/**
Hierarchy state is propogated from nodes to all of their children when certain behaviors are required from the subtree.
Hierarchy state is propagated from nodes to all of their children when certain behaviors are required from the subtree.
Examples include rasterization and external driving of the .interfaceState property.
By passing this information explicitly, performance is optimized by avoiding iteration up the supernode chain.
Lastly, this avoidance of supernode traversal protects against the possibility of deadlocks when a supernode is
@@ -41,9 +41,9 @@ typedef NS_OPTIONS(NSUInteger, ASHierarchyState)
ASHierarchyStateRasterized = 1 << 0,
/** The node or one of its supernodes is managed by a class like ASRangeController. Most commonly, these nodes are
ASCellNode objects or a subnode of one, and are used in ASTableView or ASCollectionView.
These nodes also recieve regular updates to the .interfaceState property with more detailed status information. */
These nodes also receive regular updates to the .interfaceState property with more detailed status information. */
ASHierarchyStateRangeManaged = 1 << 1,
/** Down-propogated version of _flags.visibilityNotificationsDisabled. This flag is very rarely set, but by having it
/** Down-propagated version of _flags.visibilityNotificationsDisabled. This flag is very rarely set, but by having it
locally available to nodes, they do not have to walk up supernodes at the critical points it is checked. */
ASHierarchyStateTransitioningSupernodes = 1 << 2,
/** One of the supernodes of this node is performing a transition.
@@ -106,9 +106,9 @@ inline BOOL ASHierarchyStateIncludesRangeManaged(ASHierarchyState hierarchyState
// The two methods below will eventually be exposed, but their names are subject to change.
/**
* @abstract Ensure that all rendering is complete for this node and its descendents.
* @abstract Ensure that all rendering is complete for this node and its descendants.
*
* @discussion Calling this method on the main thread after a node is added to the view heirarchy will ensure that
* @discussion Calling this method on the main thread after a node is added to the view hierarchy will ensure that
* placeholder states are never visible to the user. It is used by ASTableView, ASCollectionView, and ASViewController
* to implement their respective ".neverShowPlaceholders" option.
*