FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AsyncDisplayKit/AsyncDisplayKit/ASTableViewProtocols.h at master · yangbogithub/AsyncDisplayKit · GitHub
yangbogithub
/
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
/
ASTableViewProtocols.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
88 lines (60 loc) · 4.4 KB
Breadcrumbs
AsyncDisplayKit
/
AsyncDisplayKit
/
ASTableViewProtocols.h
Copy path
File metadata and controls
88 lines (60 loc) · 4.4 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
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.
*/
/*
*
* This is a subset of UITableViewDataSource.
*
* @see ASTableViewDataSource
*/
@protocol
ASCommonTableViewDataSource
<
NSObject
>
@required
- (
NSInteger
)
tableView
:
(UITableView *)
tableView
numberOfRowsInSection
:
(
NSInteger
)
section
;
@optional
- (
NSInteger
)
numberOfSectionsInTableView
:
(UITableView *)
tableView
;
- (
NSString
*)
tableView
:
(UITableView *)
tableView
titleForHeaderInSection
:
(
NSInteger
)
section
;
- (
NSString
*)
tableView
:
(UITableView *)
tableView
titleForFooterInSection
:
(
NSInteger
)
section
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
canEditRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
canMoveRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
NSArray
*)
sectionIndexTitlesForTableView
:
(UITableView *)
tableView
;
- (
NSInteger
)
tableView
:
(UITableView *)
tableView
sectionForSectionIndexTitle
:
(
NSString
*)
title
atIndex
:
(
NSInteger
)
index
;
- (
void
)
tableView
:
(UITableView *)
tableView
commitEditingStyle
:
(UITableViewCellEditingStyle)
editingStyle
forRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView *)
tableView
moveRowAtIndexPath
:
(
NSIndexPath
*)
sourceIndexPath
toIndexPath
:
(
NSIndexPath
*)
destinationIndexPath
;
@end
/*
*
* This is a subset of UITableViewDelegate.
*
* @see ASTableViewDelegate
*/
@protocol
ASCommonTableViewDelegate
<
NSObject
, UIScrollViewDelegate>
@optional
- (
void
)
tableView
:
(UITableView *)
tableView
willDisplayHeaderView
:
(UIView *)
view
forSection
:
(
NSInteger
)
section
;
- (
void
)
tableView
:
(UITableView *)
tableView
willDisplayFooterView
:
(UIView *)
view
forSection
:
(
NSInteger
)
section
;
- (
void
)
tableView
:
(UITableView *)
tableView
didEndDisplayingHeaderView
:
(UIView *)
view
forSection
:
(
NSInteger
)
section
;
- (
void
)
tableView
:
(UITableView *)
tableView
didEndDisplayingFooterView
:
(UIView *)
view
forSection
:
(
NSInteger
)
section
;
- (CGFloat)
tableView
:
(UITableView *)
tableView
heightForHeaderInSection
:
(
NSInteger
)
section
;
- (CGFloat)
tableView
:
(UITableView *)
tableView
heightForFooterInSection
:
(
NSInteger
)
section
;
- (UIView *)
tableView
:
(UITableView *)
tableView
viewForHeaderInSection
:
(
NSInteger
)
section
;
- (UIView *)
tableView
:
(UITableView *)
tableView
viewForFooterInSection
:
(
NSInteger
)
section
;
- (
void
)
tableView
:
(UITableView *)
tableView
accessoryButtonTappedForRowWithIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
shouldHighlightRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView *)
tableView
didHighlightRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView *)
tableView
didUnhighlightRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
NSIndexPath
*)
tableView
:
(UITableView *)
tableView
willSelectRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
NSIndexPath
*)
tableView
:
(UITableView *)
tableView
willDeselectRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView *)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView *)
tableView
didDeselectRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (UITableViewCellEditingStyle)
tableView
:
(UITableView *)
tableView
editingStyleForRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
NSString
*)
tableView
:
(UITableView *)
tableView
titleForDeleteConfirmationButtonForRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
shouldIndentWhileEditingRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView*)
tableView
willBeginEditingRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
void
)
tableView
:
(UITableView*)
tableView
didEndEditingRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
NSIndexPath
*)
tableView
:
(UITableView *)
tableView
targetIndexPathForMoveFromRowAtIndexPath
:
(
NSIndexPath
*)
sourceIndexPath
toProposedIndexPath
:
(
NSIndexPath
*)
proposedDestinationIndexPath
;
- (
NSInteger
)
tableView
:
(UITableView *)
tableView
indentationLevelForRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
shouldShowMenuForRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
;
- (
BOOL
)
tableView
:
(UITableView *)
tableView
canPerformAction
:
(
SEL
)
action
forRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
withSender
:
(
id
)
sender
;
- (
void
)
tableView
:
(UITableView *)
tableView
performAction
:
(
SEL
)
action
forRowAtIndexPath
:
(
NSIndexPath
*)
indexPath
withSender
:
(
id
)
sender
;
@end
Back
|
FazBrowse Home
|
New Git URL