Skip to content

Commit

Permalink
Rock Paper Scissors screen saver
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Barinov committed Oct 13, 2022
0 parents commit 21e5344
Show file tree
Hide file tree
Showing 18 changed files with 1,021 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
xcuserdata/
367 changes: 367 additions & 0 deletions RockPaperScissorsSaver.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,367 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {

/* Begin PBXBuildFile section */
FA2752842844585200737B51 /* RockPaperScissorsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA2752832844585200737B51 /* RockPaperScissorsView.swift */; };
FA2752862844677F00737B51 /* Shape.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA2752852844677F00737B51 /* Shape.swift */; };
FA275294284587DD00737B51 /* ConfigurationSheet.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA275293284587DD00737B51 /* ConfigurationSheet.swift */; };
FA275296284588AD00737B51 /* ConfigurationSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = FA275295284588AD00737B51 /* ConfigurationSheet.xib */; };
FA2752982845A8C100737B51 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FA2752972845A8C100737B51 /* Media.xcassets */; };
FA27529A2845AFD000737B51 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = FA2752992845AFD000737B51 /* InfoPlist.strings */; };
FA27529C2845B09C00737B51 /* SaverMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA27529B2845B09C00737B51 /* SaverMode.swift */; };
FA27529E2845B24200737B51 /* ShapeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA27529D2845B24200737B51 /* ShapeType.swift */; };
FA2752A02845B38200737B51 /* Const.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA27529F2845B38200737B51 /* Const.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
FA2752772844583300737B51 /* RockPaperScissors.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RockPaperScissors.saver; sourceTree = BUILT_PRODUCTS_DIR; };
FA2752832844585200737B51 /* RockPaperScissorsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RockPaperScissorsView.swift; sourceTree = "<group>"; };
FA2752852844677F00737B51 /* Shape.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Shape.swift; sourceTree = "<group>"; };
FA275293284587DD00737B51 /* ConfigurationSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigurationSheet.swift; sourceTree = "<group>"; };
FA275295284588AD00737B51 /* ConfigurationSheet.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ConfigurationSheet.xib; sourceTree = "<group>"; };
FA2752972845A8C100737B51 /* Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Media.xcassets; sourceTree = "<group>"; };
FA2752992845AFD000737B51 /* InfoPlist.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = InfoPlist.strings; sourceTree = "<group>"; };
FA27529B2845B09C00737B51 /* SaverMode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SaverMode.swift; sourceTree = "<group>"; };
FA27529D2845B24200737B51 /* ShapeType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShapeType.swift; sourceTree = "<group>"; };
FA27529F2845B38200737B51 /* Const.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Const.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
FA2752742844583300737B51 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
FA27526D2844583300737B51 = {
isa = PBXGroup;
children = (
FA2752792844583300737B51 /* RockPaperScissorsSaver */,
FA2752782844583300737B51 /* Products */,
);
sourceTree = "<group>";
};
FA2752782844583300737B51 /* Products */ = {
isa = PBXGroup;
children = (
FA2752772844583300737B51 /* RockPaperScissors.saver */,
);
name = Products;
sourceTree = "<group>";
};
FA2752792844583300737B51 /* RockPaperScissorsSaver */ = {
isa = PBXGroup;
children = (
FA2752832844585200737B51 /* RockPaperScissorsView.swift */,
FA27529F2845B38200737B51 /* Const.swift */,
FA27529B2845B09C00737B51 /* SaverMode.swift */,
FA2752852844677F00737B51 /* Shape.swift */,
FA27529D2845B24200737B51 /* ShapeType.swift */,
FA275295284588AD00737B51 /* ConfigurationSheet.xib */,
FA275293284587DD00737B51 /* ConfigurationSheet.swift */,
FA2752972845A8C100737B51 /* Media.xcassets */,
FA2752992845AFD000737B51 /* InfoPlist.strings */,
);
path = RockPaperScissorsSaver;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
FA2752722844583300737B51 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
FA2752762844583300737B51 /* RockPaperScissors */ = {
isa = PBXNativeTarget;
buildConfigurationList = FA2752802844583300737B51 /* Build configuration list for PBXNativeTarget "RockPaperScissors" */;
buildPhases = (
FA2752722844583300737B51 /* Headers */,
FA2752732844583300737B51 /* Sources */,
FA2752742844583300737B51 /* Frameworks */,
FA2752752844583300737B51 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RockPaperScissors;
productName = RockPaperScissors;
productReference = FA2752772844583300737B51 /* RockPaperScissors.saver */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
FA27526E2844583300737B51 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastUpgradeCheck = 1330;
TargetAttributes = {
FA2752762844583300737B51 = {
CreatedOnToolsVersion = 13.3;
LastSwiftMigration = 1330;
};
};
};
buildConfigurationList = FA2752712844583300737B51 /* Build configuration list for PBXProject "RockPaperScissorsSaver" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = FA27526D2844583300737B51;
productRefGroup = FA2752782844583300737B51 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
FA2752762844583300737B51 /* RockPaperScissors */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
FA2752752844583300737B51 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA2752982845A8C100737B51 /* Media.xcassets in Resources */,
FA27529A2845AFD000737B51 /* InfoPlist.strings in Resources */,
FA275296284588AD00737B51 /* ConfigurationSheet.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
FA2752732844583300737B51 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA2752842844585200737B51 /* RockPaperScissorsView.swift in Sources */,
FA275294284587DD00737B51 /* ConfigurationSheet.swift in Sources */,
FA27529E2845B24200737B51 /* ShapeType.swift in Sources */,
FA27529C2845B09C00737B51 /* SaverMode.swift in Sources */,
FA2752862844677F00737B51 /* Shape.swift in Sources */,
FA2752A02845B38200737B51 /* Const.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
FA27527E2844583300737B51 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
FA27527F2844583300737B51 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
};
name = Release;
};
FA2752812844583300737B51 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = 8E9CLH5P3G;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = 123;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSPrincipalClass = RockPaperScissorsView;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = name.barinov.alex.RockPaperScissors;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
WRAPPER_EXTENSION = saver;
};
name = Debug;
};
FA2752822844583300737B51 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = 8E9CLH5P3G;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = 123;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSPrincipalClass = RockPaperScissorsView;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = name.barinov.alex.RockPaperScissors;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
WRAPPER_EXTENSION = saver;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
FA2752712844583300737B51 /* Build configuration list for PBXProject "RockPaperScissorsSaver" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA27527E2844583300737B51 /* Debug */,
FA27527F2844583300737B51 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
FA2752802844583300737B51 /* Build configuration list for PBXNativeTarget "RockPaperScissors" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA2752812844583300737B51 /* Debug */,
FA2752822844583300737B51 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = FA27526E2844583300737B51 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 21e5344

Please sign in to comment.