diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj index 6f3bf149..72c92319 100644 --- a/AltStore.xcodeproj/project.pbxproj +++ b/AltStore.xcodeproj/project.pbxproj @@ -21,6 +21,7 @@ BFD247952284D7BD00981D42 /* Apps.plist in Resources */ = {isa = PBXBuildFile; fileRef = BFD247942284D7BD00981D42 /* Apps.plist */; }; BFD2479A2284D80900981D42 /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFD247992284D80900981D42 /* App.swift */; }; BFD2479C2284E19A00981D42 /* AppDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFD2479B2284E19A00981D42 /* AppDetailViewController.swift */; }; + BFD2479F2284FBD000981D42 /* UIColor+AltStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFD2479E2284FBD000981D42 /* UIColor+AltStore.swift */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -53,6 +54,7 @@ BFD247942284D7BD00981D42 /* Apps.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Apps.plist; sourceTree = ""; }; BFD247992284D80900981D42 /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; BFD2479B2284E19A00981D42 /* AppDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDetailViewController.swift; sourceTree = ""; }; + BFD2479E2284FBD000981D42 /* UIColor+AltStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIColor+AltStore.swift"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -92,6 +94,7 @@ BFD2478A2284C49000981D42 /* Apps */, BFD247982284D7FC00981D42 /* Model */, BFD2478D2284C4C700981D42 /* Components */, + BFD2479D2284FBBD00981D42 /* Extensions */, BFD247712284B9A500981D42 /* SecondViewController.swift */, BFD247962284D7C100981D42 /* Resources */, BFD247972284D7D800981D42 /* Supporting Files */, @@ -152,6 +155,14 @@ path = Model; sourceTree = ""; }; + BFD2479D2284FBBD00981D42 /* Extensions */ = { + isa = PBXGroup; + children = ( + BFD2479E2284FBD000981D42 /* UIColor+AltStore.swift */, + ); + path = Extensions; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -233,6 +244,7 @@ BFD247702284B9A500981D42 /* AppsViewController.swift in Sources */, BFD2479A2284D80900981D42 /* App.swift in Sources */, BFD247932284D4B700981D42 /* AppTableViewCell.swift in Sources */, + BFD2479F2284FBD000981D42 /* UIColor+AltStore.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/AltStore/Base.lproj/Main.storyboard b/AltStore/Base.lproj/Main.storyboard index 77e220cc..7ba0e007 100644 --- a/AltStore/Base.lproj/Main.storyboard +++ b/AltStore/Base.lproj/Main.storyboard @@ -118,7 +118,6 @@ - @@ -393,4 +392,5 @@ + diff --git a/AltStore/Extensions/UIColor+AltStore.swift b/AltStore/Extensions/UIColor+AltStore.swift new file mode 100644 index 00000000..df1dd941 --- /dev/null +++ b/AltStore/Extensions/UIColor+AltStore.swift @@ -0,0 +1,14 @@ +// +// UIColor+AltStore.swift +// AltStore +// +// Created by Riley Testut on 5/9/19. +// Copyright © 2019 Riley Testut. All rights reserved. +// + +import UIKit + +extension UIColor +{ + static let altPurple = UIColor(named: "Purple")! +} diff --git a/AltStore/Resources/Assets.xcassets/Colors/Contents.json b/AltStore/Resources/Assets.xcassets/Colors/Contents.json new file mode 100644 index 00000000..da4a164c --- /dev/null +++ b/AltStore/Resources/Assets.xcassets/Colors/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/AltStore/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json b/AltStore/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json new file mode 100644 index 00000000..7286a22d --- /dev/null +++ b/AltStore/Resources/Assets.xcassets/Colors/Purple.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + }, + "colors" : [ + { + "idiom" : "universal", + "color" : { + "color-space" : "srgb", + "components" : { + "red" : "0.545", + "alpha" : "1.000", + "blue" : "0.969", + "green" : "0.157" + } + } + } + ] +} \ No newline at end of file