<commit_before>//
// Created by <NAME> on 06/08/2013.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
// To change the template use AppCode | Preferences | File Templates.
//


#import <Foundation/Foundation.h>

@interface LNCollectionViewPagedLayout : UICollectionViewLayout

///The size of the cells
///The default value is { 10, 10 }.
@property (nonatomic) CGSize itemSize;

///The minimum space between each cell
///The default value is 10.0.
@property (nonatomic) CGFloat minimumRowSpacing;

///When set to YES, the first row of a section will appear on a new page.
///The default value is NO.
@property (nonatomic) BOOL startAllSectionsOnNewPage;

@end


@protocol LNCollectionViewDelegatePagedLayout <UICollectionViewDelegate>

- (CGSize)collectionView:(UICollectionView *)collectionView layout:(LNCollectionViewPagedLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

- (BOOL)collectionView:(UICollectionView *)collectionView layout:(LNCollectionViewPagedLayout *)collectionViewLayout shouldStartSectionOnNewPage:(NSInteger)section;

@end<commit_msg>Added missing documentation to header<commit_after>//
// Created by <NAME> on 06/08/2013.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
// To change the template use AppCode | Preferences | File Templates.
//


#import <Foundation/Foundation.h>

@interface LNCollectionViewPagedLayout : UICollectionViewLayout

///The size of the cells
///The default value is { 10, 10 }.
@property (nonatomic) CGSize itemSize;

///The minimum space between each cell
///The default value is 10.0.
@property (nonatomic) CGFloat minimumRowSpacing;

///When set to YES, the first row of a section will appear on a new page.
///The default value is NO.
@property (nonatomic) BOOL startAllSectionsOnNewPage;

@end


@protocol LNCollectionViewDelegatePagedLayout <UICollectionViewDelegate>

@optional

///Retrieve the size of a cell at a specified indexPath
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(LNCollectionViewPagedLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

///Start a specified section on a new page rather than underneath an old section
- (BOOL)collectionView:(UICollectionView *)collectionView layout:(LNCollectionViewPagedLayout *)collectionViewLayout shouldStartSectionOnNewPage:(NSInteger)section;

@end
{'fraction_non_alphanumeric': 0.09719864176570459, 'fraction_numerical': 0.016129032258064516, 'mean_word_length': 5.387533875338754, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2214974', 'n_tokens_mistral': 703, 'n_tokens_neox': 642, 'n_words': 224}