Skip to content

Commit 07972d7

Browse files
committed
Rename some files for better understanding.
1 parent 8c26e61 commit 07972d7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

CardAnimation.xcodeproj/project.pbxproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
D21FB6791BCED32B0021B734 /* ComponentViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21FB6781BCED32B0021B734 /* ComponentViewController.swift */; settings = {ASSET_TAGS = (); }; };
10+
D21FB6791BCED32B0021B734 /* ComponentExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21FB6781BCED32B0021B734 /* ComponentExampleViewController.swift */; settings = {ASSET_TAGS = (); }; };
1111
D21FB67C1BCED4C20021B734 /* AnimatedCardsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21FB67B1BCED4C20021B734 /* AnimatedCardsView.swift */; settings = {ASSET_TAGS = (); }; };
1212
D21FC1301BD0730D004D033D /* CardViews.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21FC12F1BD0730D004D033D /* CardViews.swift */; settings = {ASSET_TAGS = (); }; };
1313
FDD71FB91BBB360A00E076EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDD71FB81BBB360A00E076EE /* AppDelegate.swift */; };
@@ -46,9 +46,9 @@
4646
/* End PBXContainerItemProxy section */
4747

4848
/* Begin PBXFileReference section */
49-
D21FB6781BCED32B0021B734 /* ComponentViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentViewController.swift; sourceTree = "<group>"; };
49+
D21FB6781BCED32B0021B734 /* ComponentExampleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentExampleViewController.swift; sourceTree = "<group>"; };
5050
D21FB67B1BCED4C20021B734 /* AnimatedCardsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AnimatedCardsView.swift; path = AnimatedCardView/AnimatedCardsView.swift; sourceTree = "<group>"; };
51-
D21FC12F1BD0730D004D033D /* CardViews.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CardViews.swift; sourceTree = "<group>"; };
51+
D21FC12F1BD0730D004D033D /* CardViews.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CardViews.swift; path = AnimatedCardView/CardViews.swift; sourceTree = "<group>"; };
5252
FDD71FB51BBB360A00E076EE /* CardAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CardAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; };
5353
FDD71FB81BBB360A00E076EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5454
FDD71FBA1BBB360A00E076EE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@@ -142,7 +142,7 @@
142142
FDD720201BBBF36700E076EE /* wonder_woman_logo_by_kalangozilla.jpg */,
143143
FDD71FB81BBB360A00E076EE /* AppDelegate.swift */,
144144
FDD71FBA1BBB360A00E076EE /* ViewController.swift */,
145-
D21FB6781BCED32B0021B734 /* ComponentViewController.swift */,
145+
D21FB6781BCED32B0021B734 /* ComponentExampleViewController.swift */,
146146
FDD71FBC1BBB360A00E076EE /* Main.storyboard */,
147147
FDD71FBF1BBB360A00E076EE /* Assets.xcassets */,
148148
FDD71FC11BBB360A00E076EE /* LaunchScreen.storyboard */,
@@ -311,7 +311,7 @@
311311
FDD71FBB1BBB360A00E076EE /* ViewController.swift in Sources */,
312312
D21FB67C1BCED4C20021B734 /* AnimatedCardsView.swift in Sources */,
313313
FDD71FB91BBB360A00E076EE /* AppDelegate.swift in Sources */,
314-
D21FB6791BCED32B0021B734 /* ComponentViewController.swift in Sources */,
314+
D21FB6791BCED32B0021B734 /* ComponentExampleViewController.swift in Sources */,
315315
D21FC1301BD0730D004D033D /* CardViews.swift in Sources */,
316316
);
317317
runOnlyForDeploymentPostprocessing = 0;
File renamed without changes.

CardAnimation/Base.lproj/Main.storyboard

+2-2
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@
271271
</objects>
272272
<point key="canvasLocation" x="61" y="320"/>
273273
</scene>
274-
<!--Component View Controller-->
274+
<!--Component Example View Controller-->
275275
<scene sceneID="PBh-2T-O7K">
276276
<objects>
277-
<viewController id="fw9-rg-tLH" customClass="ComponentViewController" customModule="CardAnimation" customModuleProvider="target" sceneMemberID="viewController">
277+
<viewController id="fw9-rg-tLH" customClass="ComponentExampleViewController" customModule="CardAnimation" customModuleProvider="target" sceneMemberID="viewController">
278278
<layoutGuides>
279279
<viewControllerLayoutGuide type="top" id="vLI-t1-AxW"/>
280280
<viewControllerLayoutGuide type="bottom" id="QO0-0n-sl7"/>

CardAnimation/ComponentViewController.swift CardAnimation/ComponentExampleViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import UIKit
1010

11-
class ComponentViewController: UIViewController {
11+
class ComponentExampleViewController: UIViewController {
1212

1313
@IBOutlet weak var cardsView: AnimatedCardsView!
1414

@@ -59,7 +59,7 @@ enum JusticeLeagueLogos: String {
5959

6060

6161
// MARK: - AnimatedCardsViewDataSource
62-
extension ComponentViewController : AnimatedCardsViewDataSource {
62+
extension ComponentExampleViewController : AnimatedCardsViewDataSource {
6363

6464
func numberOfVisibleCards() -> Int {
6565
return 2

0 commit comments

Comments
 (0)