mirror of
https://github.com/wu736139669/Ash_AWord.git
synced 2026-08-06 06:15:20 +00:00
25 lines
782 B
Objective-C
25 lines
782 B
Objective-C
//
|
|
// PSTCollectionViewController.h
|
|
// PSPDFKit
|
|
//
|
|
// Copyright (c) 2012-2013 Peter Steinberger. All rights reserved.
|
|
//
|
|
|
|
#import "PSTCollectionViewCommon.h"
|
|
|
|
@class PSTCollectionViewLayout, PSTCollectionViewController;
|
|
|
|
// Simple controller-wrapper around PSTCollectionView.
|
|
@interface PSTCollectionViewController : UIViewController <PSTCollectionViewDelegate, PSTCollectionViewDataSource>
|
|
|
|
// Designated initializer.
|
|
- (id)initWithCollectionViewLayout:(PSTCollectionViewLayout *)layout;
|
|
|
|
// Internally used collection view. If not set, created during loadView.
|
|
@property (nonatomic, strong) PSTCollectionView *collectionView;
|
|
|
|
// Defaults to YES, and if YES, any selection is cleared in viewWillAppear:
|
|
@property (nonatomic, assign) BOOL clearsSelectionOnViewWillAppear;
|
|
|
|
@end
|