FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AsyncDisplayKit/AsyncDisplayKit/ASCollectionNode.m at master · bluesea/AsyncDisplayKit · GitHub
bluesea
/
AsyncDisplayKit
Public
forked from
facebookarchive/AsyncDisplayKit
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
/
ASCollectionNode.m
Copy path
More file actions
More file actions
Latest commit
History
History
History
45 lines (37 loc) · 896 Bytes
Breadcrumbs
AsyncDisplayKit
/
AsyncDisplayKit
/
ASCollectionNode.m
Copy path
File metadata and controls
45 lines (37 loc) · 896 Bytes
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
//
//
ASCollectionNode.m
//
AsyncDisplayKit
//
//
Created by Scott Goodson on 9/5/15.
//
Copyright (c) 2015 Facebook. All rights reserved.
//
#
import
"
ASCollectionNode.h
"
@implementation
ASCollectionNode
- (
instancetype
)
init
{
ASDISPLAYNODE_NOT_DESIGNATED_INITIALIZER
();
self = [
self
initWithCollectionViewLayout:
nil
];
//
Will throw an exception for lacking a UICV Layout.
return
nil
;
}
- (
instancetype
)
initWithCollectionViewLayout
:
(UICollectionViewLayout *)
layout
{
if
(self = [
super
initWithViewBlock:
^UIView *{
return
[[ASCollectionView
alloc
]
initWithCollectionViewLayout:
layout]; }]) {
return
self;
}
return
nil
;
}
- (ASCollectionView *)
view
{
return
(ASCollectionView *)[
super
view
];
}
- (
void
)
clearContents
{
[
super
clearContents
];
[
self
.view
clearContents
];
}
- (
void
)
clearFetchedData
{
[
super
clearFetchedData
];
[
self
.view
clearFetchedData
];
}
@end
Back
|
FazBrowse Home
|
New Git URL