ASNavigationController.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // ASNavigationController.h
  3. // AsyncDisplayKit
  4. //
  5. // Created by Garrett Moon on 4/27/16.
  6. //
  7. // Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
  8. // This source code is licensed under the BSD-style license found in the
  9. // LICENSE file in the root directory of this source tree. An additional grant
  10. // of patent rights can be found in the PATENTS file in the same directory.
  11. //
  12. #import <UIKit/UIKit.h>
  13. #import "ASVisibilityProtocols.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. /**
  16. * ASNavigationController
  17. *
  18. * @discussion ASNavigationController is a drop in replacement for UINavigationController
  19. * which improves memory efficiency by implementing the @c ASManagesChildVisibilityDepth protocol.
  20. * You can use ASNavigationController with regular UIViewControllers, as well as ASViewControllers.
  21. * It is safe to subclass or use even where AsyncDisplayKit is not adopted.
  22. *
  23. * @see ASManagesChildVisibilityDepth
  24. */
  25. @interface ASNavigationController : UINavigationController <ASManagesChildVisibilityDepth>
  26. @end
  27. NS_ASSUME_NONNULL_END