FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AsyncDisplayKit/AsyncDisplayKit/ASCollectionViewProtocols.h at master · taontech/AsyncDisplayKit · GitHub
taontech
/
AsyncDisplayKit
Public
forked from
facebookarchive/AsyncDisplayKit
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
AsyncDisplayKit
/
AsyncDisplayKit
/
ASCollectionViewProtocols.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (42 loc) · 2.84 KB
Breadcrumbs
AsyncDisplayKit
/
AsyncDisplayKit
/
ASCollectionViewProtocols.h
Copy path
File metadata and controls
60 lines (42 loc) · 2.84 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
NS_ASSUME_NONNULL_BEGIN
/*
*
* This is a subset of UICollectionViewDataSource.
*
* @see ASCollectionViewDataSource
*/
@protocol
ASCommonCollectionViewDataSource
<
NSObject
>
@required
- (
NSInteger
)
collectionView
:
(UICollectionView *)
collectionView
numberOfItemsInSection
:
(
NSInteger
)
section
;
@optional
- (
NSInteger
)
numberOfSectionsInCollectionView
:
(UICollectionView *)
collectionView
;
- (UICollectionReusableView *)
collectionView
:
(UICollectionView *)
collectionView
viewForSupplementaryElementOfKind
:
(
NSString
*)
kind
atIndexPath
:
(
NSIndexPath
*)
indexPath
;
@end
/*
*
* This is a subset of UICollectionViewDelegate.
*
* @see ASCollectionViewDelegate
*/
@protocol
ASCommonCollectionViewDelegate
<
NSObject
, UIScrollViewDelegate>
@optional
- (UICollectionViewTransitionLayout *)
collectionView
:
(UICollectionView *)
collectionView
transitionLayoutForOldLayout
:
(UICollectionViewLayout *)
fromLayout
newLayout
:
(UICollectionViewLayout *)
toLayout
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
willDisplaySupplementaryView
:
(UICollectionReusableView *)
view
forElementKind
:
(
NSString
*)
elementKind
atIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
didEndDisplayingSupplementaryView
:
(UICollectionReusableView *)
view
forElementOfKind
:
(
NSString
*)
elementKind
atIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
collectionView
:
(UICollectionView *)
collectionView
shouldHighlightItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
didHighlightItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
didUnhighlightItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
collectionView
:
(UICollectionView *)
collectionView
shouldSelectItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
didSelectItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
collectionView
:
(UICollectionView *)
collectionView
shouldDeselectItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
didDeselectItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
collectionView
:
(UICollectionView *)
collectionView
shouldShowMenuForItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
collectionView
:
(UICollectionView *)
collectionView
canPerformAction
:
(
SEL
)
action
forItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
withSender
:
(nullable
id
)
sender
;
- (
void
)
collectionView
:
(UICollectionView *)
collectionView
performAction
:
(
SEL
)
action
forItemAtIndexPath
:
(
NSIndexPath
*)
indexPath
withSender
:
(nullable
id
)
sender
;
@end
NS_ASSUME_NONNULL_END
Back
|
FazBrowse Home
|
New Git URL