<commit_before>//
//  TLYShyNavBarManager.h
//  TLYShyNavBarDemo
//
//  Created by <NAME> on 6/13/14.
//  Copyright (c) 2014 Telly, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

/*  CLASS DESCRIPTION:
 *  ==================
 *      Manages the relationship between a scrollView and a view
 *  controller. Must be instantiated and assigned the scrollView
 *  that drives the contraction/expansion, then assigned to the
 *  viewController that needs the functionality. Must be assigned
 *  throught the UIViewController category:
 *      
 *  viewController.shyNavManager = ...;
 *
 *      OR
 *
 *  [viewController addShyNavManagerWithScrollView:scrollView]
 */

@interface TLYShyNavBarManager : NSObject

/* The view controller that is part of the navigation stack
 * IMPORTANT: Must have access to navigationController
 */
@property (nonatomic, readonly) UIViewController *viewController;

/* The scrollView subclass that will drive the contraction/expansion */
@property (nonatomic, weak) UIScrollView *scrollView;

/* The container to contain the extension view, if any. Exposed to
 * allow the developer to adjust content offset as necessary
 */
@property (nonatomic, readonly) UIView *extensionViewContainer;
<commit_msg>wow... Fixed a really nasty retain cycle<commit_after>//
//  TLYShyNavBarManager.h
//  TLYShyNavBarDemo
//
//  Created by <NAME> on 6/13/14.
//  Copyright (c) 2014 Telly, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

/*  CLASS DESCRIPTION:
 *  ==================
 *      Manages the relationship between a scrollView and a view
 *  controller. Must be instantiated and assigned the scrollView
 *  that drives the contraction/expansion, then assigned to the
 *  viewController that needs the functionality. Must be assigned
 *  throught the UIViewController category:
 *      
 *  viewController.shyNavManager = ...;
 *
 *      OR
 *
 *  [viewController addShyNavManagerWithScrollView:scrollView]
 */

@interface TLYShyNavBarManager : NSObject

/* The view controller that is part of the navigation stack
 * IMPORTANT: Must have access to navigationController
 */
@property (nonatomic, readonly, weak) UIViewController *viewController;

/* The scrollView subclass that will drive the contraction/expansion */
@property (nonatomic, weak) UIScrollView *scrollView;

/* The container to contain the extension view, if any. Exposed to
 * allow the developer to adjust content offset as necessary
 */
@property (nonatomic, readonly) UIView *extensionViewContainer;

{'fraction_non_alphanumeric': 0.09671026555687673, 'fraction_numerical': 0.007134363852556481, 'mean_word_length': 4.037924151696607, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4991519', 'n_tokens_mistral': 724, 'n_tokens_neox': 668, 'n_words': 253}