<commit_before>//
//  DTSidePanelController.h
//  DTSidePanelController
//
//  Created by <NAME> on 15.05.13.
//  Copyright (c) 2013 Cocoanetics. All rights reserved.
//

// types of panels
typedef enum
{
	DTSidePanelControllerPanelCenter = 0,
	DTSidePanelControllerPanelLeft,
	DTSidePanelControllerPanelRight
} DTSidePanelControllerPanel;


/**
 A container view controller with a main view and one or two optional panels that appear when moving the main view to the left or right side. Having a center panel is mandatory the left and right panels are optional.
 
 If you don't set the width of the side panels then they auto-resize with the view, keeping a minimum visible portion of the center view always visible. If you set the width then they keep their width and the center view controller will be moved accordingly.
 */
@interface DTSidePanelController : UIViewController

/**
 @name Showing Panels
 */

/**
 Shows the specified panel
 @paramenter panel The panel to present
 @parameter animated Whether the presentation should be animated
 */
- (void)presentPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated;


/**
 Returns the currently panel that is visible for the most part, i.e. that the user is focussing on
 */
- (DTSidePanelControllerPanel)presentedPanel;

/**
 @name Customizing Appearance
 */

/**
 Sets the display width for the given panel. The center panel is center-aligned, the left panel is left-aligned and the right panel is right-aligned. The center panel is always full width.
 @param width The width to set
 @param panel The panel to set it for
 @param animated Whether the change should be animated
 */
- (void)setWidth:(CGFloat)width forPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated;

/**<commit_msg>Added doc comment<commit_after>//
//  DTSidePanelController.h
//  DTSidePanelController
//
//  Created by <NAME> on 15.05.13.
//  Copyright (c) 2013 Cocoanetics. All rights reserved.
//

// types of panels
typedef enum
{
	DTSidePanelControllerPanelCenter = 0,
	DTSidePanelControllerPanelLeft,
	DTSidePanelControllerPanelRight
} DTSidePanelControllerPanel;


/**
 A container view controller with a main view and one or two optional panels that appear when moving the main view to the left or right side. Having a center panel is mandatory the left and right panels are optional.
 
 If you don't set the width of the side panels then they auto-resize with the view, keeping a minimum visible portion of the center view always visible. If you set the width then they keep their width and the center view controller will be moved accordingly.
 */
@interface DTSidePanelController : UIViewController

/**
 @name Showing Panels
 */

/**
 Shows the specified panel
 @paramenter panel The panel to present
 @parameter animated Whether the presentation should be animated
 */
- (void)presentPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated;


/**
 Returns the currently panel that is visible for the most part, i.e. that the user is focussing on
 */
- (DTSidePanelControllerPanel)presentedPanel;

/**
 @name Customizing Appearance
 */

/**
 Sets the display width for the given panel. The center panel is center-aligned, the left panel is left-aligned and the right panel is right-aligned. The center panel is always full width.
 @param width The width to set, or 0 to have the panel resize automatically
 @param panel The panel to set it for
 @param animated Whether the change should be animated
 */
- (void)setWidth:(CGFloat)width forPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated;

/**
{'fraction_non_alphanumeric': 0.06793402292423818, 'fraction_numerical': 0.006429969247973162, 'mean_word_length': 4.348281016442451, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6945716', 'n_tokens_mistral': 970, 'n_tokens_neox': 925, 'n_words': 440}