Skip to content

Commit

Permalink
Removed theme library
Browse files Browse the repository at this point in the history
  • Loading branch information
tomidelucca committed Jun 17, 2019
1 parent 3f23c3a commit b449b7e
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 83 deletions.
1 change: 0 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ platform :ios, '11.2'

target 'Stickers' do
pod 'PureLayout'
pod 'DKNightVersion'
end

post_install do |pi|
Expand Down
18 changes: 1 addition & 17 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
PODS:
- DKNightVersion (2.4.3):
- DKNightVersion/Core (= 2.4.3)
- DKNightVersion/CoreAnimation (= 2.4.3)
- DKNightVersion/UIKit (= 2.4.3)
- DKNightVersion/Core (2.4.3):
- DKNightVersion/Core/DeallocBlockExecutor (= 2.4.3)
- DKNightVersion/Core/extobjc (= 2.4.3)
- DKNightVersion/Core/DeallocBlockExecutor (2.4.3)
- DKNightVersion/Core/extobjc (2.4.3)
- DKNightVersion/CoreAnimation (2.4.3):
- DKNightVersion/Core
- DKNightVersion/UIKit (2.4.3):
- DKNightVersion/Core
- PureLayout (3.1.4)

DEPENDENCIES:
- DKNightVersion
- PureLayout

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- DKNightVersion
- PureLayout

SPEC CHECKSUMS:
DKNightVersion: eaa80cc4014b4bae7d4b535fd87ecc6a3c2767b3
PureLayout: f08c01b8dec00bb14a1fefa3de4c7d9c265df85e

PODFILE CHECKSUM: 7083de66f8df9aaec10eb7d72c80765d30a15a9a
PODFILE CHECKSUM: 141ee4775185091e8a998c8bcffe23b295e003f9

COCOAPODS: 1.7.2
33 changes: 5 additions & 28 deletions Stickers.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
E655B12820683F2600FB2D6D /* Themes.txt in Resources */ = {isa = PBXBuildFile; fileRef = E655B12720683F2600FB2D6D /* Themes.txt */; };
E655B12B20684A0B00FB2D6D /* STStickerStatisticsBoxView.m in Sources */ = {isa = PBXBuildFile; fileRef = E655B12A20684A0B00FB2D6D /* STStickerStatisticsBoxView.m */; };
E655B131206886DB00FB2D6D /* STStickerStatisticView.m in Sources */ = {isa = PBXBuildFile; fileRef = E655B130206886DB00FB2D6D /* STStickerStatisticView.m */; };
E655B1342068890200FB2D6D /* STStickerStatistic.m in Sources */ = {isa = PBXBuildFile; fileRef = E655B1332068890200FB2D6D /* STStickerStatistic.m */; };
Expand All @@ -29,7 +28,6 @@
/* Begin PBXFileReference section */
2B8BB87D3DC1C7E2D6B9741A /* libPods-Stickers.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Stickers.a"; sourceTree = BUILT_PRODUCTS_DIR; };
ADB46962161D76AA79DA6C7D /* Pods-Stickers.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Stickers.release.xcconfig"; path = "Pods/Target Support Files/Pods-Stickers/Pods-Stickers.release.xcconfig"; sourceTree = "<group>"; };
E655B12720683F2600FB2D6D /* Themes.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = Themes.txt; sourceTree = "<group>"; };
E655B12920684A0B00FB2D6D /* STStickerStatisticsBoxView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = STStickerStatisticsBoxView.h; sourceTree = "<group>"; };
E655B12A20684A0B00FB2D6D /* STStickerStatisticsBoxView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = STStickerStatisticsBoxView.m; sourceTree = "<group>"; };
E655B12F206886DB00FB2D6D /* STStickerStatisticView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = STStickerStatisticView.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -97,7 +95,6 @@
isa = PBXGroup;
children = (
E6FFC6D92067352400B25631 /* Assets.xcassets */,
E655B12720683F2600FB2D6D /* Themes.txt */,
);
path = Resources;
sourceTree = "<group>";
Expand All @@ -124,7 +121,7 @@
isa = PBXGroup;
children = (
E655B12620683F0700FB2D6D /* Resources */,
E6FFC6F3206737DB00B25631 /* Protocols */,
E6FFC6F3206737DB00B25631 /* DAO */,
E6FFC6EF2067360D00B25631 /* Views */,
E6FFC6EE2067360900B25631 /* Controllers */,
E6FFC6ED2067360400B25631 /* Models */,
Expand Down Expand Up @@ -153,8 +150,6 @@
children = (
E6FFC6E9206735E100B25631 /* STSticker.h */,
E6FFC6EA206735E100B25631 /* STSticker.m */,
E6FFC6F520673C4800B25631 /* STUserDefaultsStickerDAO.h */,
E6FFC6F620673C4800B25631 /* STUserDefaultsStickerDAO.m */,
E6FFC6FB2067454E00B25631 /* STStickersLayout.h */,
E6FFC6FC2067454E00B25631 /* STStickersLayout.m */,
E655B1322068890200FB2D6D /* STStickerStatistic.h */,
Expand Down Expand Up @@ -189,12 +184,14 @@
path = Views;
sourceTree = "<group>";
};
E6FFC6F3206737DB00B25631 /* Protocols */ = {
E6FFC6F3206737DB00B25631 /* DAO */ = {
isa = PBXGroup;
children = (
E6FFC6F4206737EB00B25631 /* STStickerDAO.h */,
E6FFC6F520673C4800B25631 /* STUserDefaultsStickerDAO.h */,
E6FFC6F620673C4800B25631 /* STUserDefaultsStickerDAO.m */,
);
path = Protocols;
path = DAO;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand All @@ -208,7 +205,6 @@
E6FFC6C92067352400B25631 /* Sources */,
E6FFC6CA2067352400B25631 /* Frameworks */,
E6FFC6CB2067352400B25631 /* Resources */,
B8412DB853E7CCE1EF319527 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -257,7 +253,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E655B12820683F2600FB2D6D /* Themes.txt in Resources */,
E6FFC6DA2067352400B25631 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -283,24 +278,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
B8412DB853E7CCE1EF319527 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Stickers/Pods-Stickers-resources.sh",
"${PODS_ROOT}/DKNightVersion/DKNightVersion/ColorTable/DKColorTable.txt",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/DKColorTable.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Stickers/Pods-Stickers-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#import "STStickersLayout.h"

#import <PureLayout/PureLayout.h>
#import <DKNightVersion/DKNightVersion.h>

@interface STMainStickersCollectionViewController () <UICollectionViewDelegate, UICollectionViewDataSource, STStickerSectionScrubberDelegate>
@property (strong, nonatomic) STStickersViewModel *viewModel;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 0 additions & 17 deletions Stickers/Resources/Themes.txt

This file was deleted.

12 changes: 0 additions & 12 deletions Stickers/STAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,10 @@

#import "STMainStickersCollectionViewController.h"

#import <DKNightVersion/DKNightVersion.h>

static NSString *const kThemeFile = @"Themes.txt";

@implementation STAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self setupTheme];

UIViewController *root = [STMainStickersCollectionViewController new];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:root];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
Expand All @@ -29,10 +23,4 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
return YES;
}

- (void)setupTheme
{
[[DKNightVersionManager sharedManager] setThemeVersion:DKThemeVersionNormal];
[[DKColorTable sharedColorTable] setFile:kThemeFile];
}

@end
3 changes: 0 additions & 3 deletions Stickers/Views/STStickerCollectionViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#import "STStickerCollectionViewCell.h"

#import <DKNightVersion/DKNightVersion.h>
#import <PureLayout/PureLayout.h>

@interface STStickerCollectionViewCell ()
Expand All @@ -29,8 +28,6 @@ - (instancetype)initWithFrame:(CGRect)frame

- (void)setupView
{
[self setBackgroundColor:[UIColor lightGrayColor]];

self.title = [UILabel newAutoLayoutView];
self.subtitle = [UILabel newAutoLayoutView];

Expand Down
1 change: 0 additions & 1 deletion Stickers/Views/STStickerProgressView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#import "STStickerProgressView.h"

#import <DKNightVersion/DKNightVersion.h>
#import <PureLayout/PureLayout.h>

@interface STStickerProgressView ()
Expand Down
1 change: 0 additions & 1 deletion Stickers/Views/STStickerSectionScrubber.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#import "STStickerSectionScrubber.h"

#import <DKNightVersion/DKNightVersion.h>
#import <PureLayout/PureLayout.h>

@interface STStickerSectionScrubber ()
Expand Down
1 change: 0 additions & 1 deletion Stickers/Views/STStickerStatisticView.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#import "STStickerStatisticView.h"

#import <DKNightVersion/DKNightVersion.h>
#import <PureLayout/PureLayout.h>

@interface STStickerStatisticView ()
Expand Down
1 change: 0 additions & 1 deletion Stickers/Views/STStickerStatisticsBoxView.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#import "STStickerStatisticView.h"

#import <DKNightVersion/DKNightVersion.h>
#import <PureLayout/PureLayout.h>

@interface STStickerStatisticsBoxView ()
Expand Down

0 comments on commit b449b7e

Please sign in to comment.