Skip to content

Commit 9fbed75

Browse files
committed
naming things
1 parent 64b24df commit 9fbed75

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

LayoutFrameworkBenchmark.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
24661D0A1F4EFFF5002CB883 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 24661D081F4EFFF5002CB883 /* LaunchScreen.storyboard */; };
2727
639E5A2020DF62D700C6BCEA /* NKFrameLayoutKitView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 639E5A1F20DF62D700C6BCEA /* NKFrameLayoutKitView.swift */; };
2828
BF3DC69820B560A400536177 /* FeedItemNotAutoLayoutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF3DC69720B560A400536177 /* FeedItemNotAutoLayoutView.swift */; };
29-
E4A8A14124FE99B1009D872B /* FeedItemTextureView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4A8A14024FE982E009D872B /* FeedItemTextureView.swift */; };
29+
E4A8A14124FE99B1009D872B /* FeedItemTextureNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4A8A14024FE982E009D872B /* FeedItemTextureNode.swift */; };
3030
E4A8A24F24FEDD14009D872B /* TextureCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4A8A24E24FEDD14009D872B /* TextureCollectionViewController.swift */; };
3131
/* End PBXBuildFile section */
3232

@@ -54,7 +54,7 @@
5454
639E5A1F20DF62D700C6BCEA /* NKFrameLayoutKitView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NKFrameLayoutKitView.swift; sourceTree = "<group>"; };
5555
73BD901DE3512A23A7603899 /* Pods-LayoutFrameworkBenchmark.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LayoutFrameworkBenchmark.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LayoutFrameworkBenchmark/Pods-LayoutFrameworkBenchmark.debug.xcconfig"; sourceTree = "<group>"; };
5656
BF3DC69720B560A400536177 /* FeedItemNotAutoLayoutView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedItemNotAutoLayoutView.swift; sourceTree = "<group>"; };
57-
E4A8A14024FE982E009D872B /* FeedItemTextureView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedItemTextureView.swift; sourceTree = "<group>"; };
57+
E4A8A14024FE982E009D872B /* FeedItemTextureNode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedItemTextureNode.swift; sourceTree = "<group>"; };
5858
E4A8A24E24FEDD14009D872B /* TextureCollectionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextureCollectionViewController.swift; sourceTree = "<group>"; };
5959
/* End PBXFileReference section */
6060

@@ -216,7 +216,7 @@
216216
E4A8A13F24FE981F009D872B /* Texture */ = {
217217
isa = PBXGroup;
218218
children = (
219-
E4A8A14024FE982E009D872B /* FeedItemTextureView.swift */,
219+
E4A8A14024FE982E009D872B /* FeedItemTextureNode.swift */,
220220
E4A8A24E24FEDD14009D872B /* TextureCollectionViewController.swift */,
221221
);
222222
name = Texture;
@@ -363,7 +363,7 @@
363363
2401BC821F4F018C00788998 /* CollectionViewController.swift in Sources */,
364364
2401BC9E1F4F042700788998 /* FeedItemManualView.swift in Sources */,
365365
2401BC811F4F018C00788998 /* BenchmarkViewController.swift in Sources */,
366-
E4A8A14124FE99B1009D872B /* FeedItemTextureView.swift in Sources */,
366+
E4A8A14124FE99B1009D872B /* FeedItemTextureNode.swift in Sources */,
367367
BF3DC69820B560A400536177 /* FeedItemNotAutoLayoutView.swift in Sources */,
368368
639E5A2020DF62D700C6BCEA /* NKFrameLayoutKitView.swift in Sources */,
369369
2401BC9B1F4F03B300788998 /* ProfileCardLayout.swift in Sources */,

LayoutFrameworkBenchmark/FeedItemTextureView.swift renamed to LayoutFrameworkBenchmark/FeedItemTextureNode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import UIKit
1010
import AsyncDisplayKit
1111

1212
/// A LinkedIn feed item that is implemented with Texture.
13-
class FeedItemTextureView: ASCellNode {
13+
class FeedItemTextureNode: ASCellNode {
1414
let topBarView = TopBarNode()
1515
let miniProfileView = MiniProfileNode()
1616
let miniContentView = MiniContentNode()

LayoutFrameworkBenchmark/TextureCollectionViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TextureCollectionViewController: ASDKViewController<ASCollectionNode>, ASC
4242
}
4343

4444
func collectionNode(_ collectionNode: ASCollectionNode, nodeForItemAt indexPath: IndexPath) -> ASCellNode {
45-
let cell = FeedItemTextureView(data: data[indexPath.row])
45+
let cell = FeedItemTextureNode(data: data[indexPath.row])
4646

4747
return cell
4848
}

0 commit comments

Comments
 (0)