mirror of
https://github.com/ivabus/GradeMapper
synced 2024-11-24 00:55:07 +03:00
Initial Commit
This commit is contained in:
commit
fea6d7c43a
12 changed files with 916 additions and 0 deletions
463
GradeMapper.xcodeproj/project.pbxproj
Normal file
463
GradeMapper.xcodeproj/project.pbxproj
Normal file
|
@ -0,0 +1,463 @@
|
|||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 55;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
4F7E91CD279615A200CB18B7 /* SubjectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F7E91CC279615A200CB18B7 /* SubjectView.swift */; };
|
||||
4F7E91CE279615A200CB18B7 /* SubjectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F7E91CC279615A200CB18B7 /* SubjectView.swift */; };
|
||||
4FEB3F0F2795DFE90005C604 /* GradeMapperApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEB3EFF2795DFE80005C604 /* GradeMapperApp.swift */; };
|
||||
4FEB3F102795DFE90005C604 /* GradeMapperApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEB3EFF2795DFE80005C604 /* GradeMapperApp.swift */; };
|
||||
4FEB3F112795DFE90005C604 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEB3F002795DFE80005C604 /* ContentView.swift */; };
|
||||
4FEB3F122795DFE90005C604 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FEB3F002795DFE80005C604 /* ContentView.swift */; };
|
||||
4FEB3F132795DFE90005C604 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4FEB3F012795DFE90005C604 /* Assets.xcassets */; };
|
||||
4FEB3F142795DFE90005C604 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4FEB3F012795DFE90005C604 /* Assets.xcassets */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
4F7E91CC279615A200CB18B7 /* SubjectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SubjectView.swift; sourceTree = "<group>"; };
|
||||
4FEB3EFF2795DFE80005C604 /* GradeMapperApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GradeMapperApp.swift; sourceTree = "<group>"; };
|
||||
4FEB3F002795DFE80005C604 /* ContentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
||||
4FEB3F012795DFE90005C604 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
4FEB3F062795DFE90005C604 /* GradeMapper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GradeMapper.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4FEB3F0C2795DFE90005C604 /* GradeMapper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GradeMapper.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4FEB3F0E2795DFE90005C604 /* macOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = macOS.entitlements; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
4FEB3F032795DFE90005C604 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
4FEB3F092795DFE90005C604 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
4FEB3EF92795DFE80005C604 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4FEB3EFE2795DFE80005C604 /* Shared */,
|
||||
4FEB3F0D2795DFE90005C604 /* macOS */,
|
||||
4FEB3F072795DFE90005C604 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
4FEB3EFE2795DFE80005C604 /* Shared */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4FEB3EFF2795DFE80005C604 /* GradeMapperApp.swift */,
|
||||
4FEB3F002795DFE80005C604 /* ContentView.swift */,
|
||||
4FEB3F012795DFE90005C604 /* Assets.xcassets */,
|
||||
4F7E91CC279615A200CB18B7 /* SubjectView.swift */,
|
||||
);
|
||||
path = Shared;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
4FEB3F072795DFE90005C604 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4FEB3F062795DFE90005C604 /* GradeMapper.app */,
|
||||
4FEB3F0C2795DFE90005C604 /* GradeMapper.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
4FEB3F0D2795DFE90005C604 /* macOS */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4FEB3F0E2795DFE90005C604 /* macOS.entitlements */,
|
||||
);
|
||||
path = macOS;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
4FEB3F052795DFE90005C604 /* GradeMapper (iOS) */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 4FEB3F172795DFE90005C604 /* Build configuration list for PBXNativeTarget "GradeMapper (iOS)" */;
|
||||
buildPhases = (
|
||||
4FEB3F022795DFE90005C604 /* Sources */,
|
||||
4FEB3F032795DFE90005C604 /* Frameworks */,
|
||||
4FEB3F042795DFE90005C604 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = "GradeMapper (iOS)";
|
||||
productName = "GradeMapper (iOS)";
|
||||
productReference = 4FEB3F062795DFE90005C604 /* GradeMapper.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
4FEB3F0B2795DFE90005C604 /* GradeMapper (macOS) */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 4FEB3F1A2795DFE90005C604 /* Build configuration list for PBXNativeTarget "GradeMapper (macOS)" */;
|
||||
buildPhases = (
|
||||
4FEB3F082795DFE90005C604 /* Sources */,
|
||||
4FEB3F092795DFE90005C604 /* Frameworks */,
|
||||
4FEB3F0A2795DFE90005C604 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = "GradeMapper (macOS)";
|
||||
productName = "GradeMapper (macOS)";
|
||||
productReference = 4FEB3F0C2795DFE90005C604 /* GradeMapper.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
4FEB3EFA2795DFE80005C604 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
BuildIndependentTargetsInParallel = 1;
|
||||
LastSwiftUpdateCheck = 1320;
|
||||
LastUpgradeCheck = 1320;
|
||||
TargetAttributes = {
|
||||
4FEB3F052795DFE90005C604 = {
|
||||
CreatedOnToolsVersion = 13.2.1;
|
||||
};
|
||||
4FEB3F0B2795DFE90005C604 = {
|
||||
CreatedOnToolsVersion = 13.2.1;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 4FEB3EFD2795DFE80005C604 /* Build configuration list for PBXProject "GradeMapper" */;
|
||||
compatibilityVersion = "Xcode 13.0";
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 4FEB3EF92795DFE80005C604;
|
||||
productRefGroup = 4FEB3F072795DFE90005C604 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
4FEB3F052795DFE90005C604 /* GradeMapper (iOS) */,
|
||||
4FEB3F0B2795DFE90005C604 /* GradeMapper (macOS) */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
4FEB3F042795DFE90005C604 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
4FEB3F132795DFE90005C604 /* Assets.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
4FEB3F0A2795DFE90005C604 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
4FEB3F142795DFE90005C604 /* Assets.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
4FEB3F022795DFE90005C604 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
4FEB3F112795DFE90005C604 /* ContentView.swift in Sources */,
|
||||
4F7E91CD279615A200CB18B7 /* SubjectView.swift in Sources */,
|
||||
4FEB3F0F2795DFE90005C604 /* GradeMapperApp.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
4FEB3F082795DFE90005C604 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
4FEB3F122795DFE90005C604 /* ContentView.swift in Sources */,
|
||||
4F7E91CE279615A200CB18B7 /* SubjectView.swift in Sources */,
|
||||
4FEB3F102795DFE90005C604 /* GradeMapperApp.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
4FEB3F152795DFE90005C604 /* 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_CXX_LIBRARY = "libc++";
|
||||
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;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4FEB3F162795DFE90005C604 /* 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_CXX_LIBRARY = "libc++";
|
||||
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;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
4FEB3F182795DFE90005C604 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = F5PQ7AR4DP;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.ivabus.GradeMapper;
|
||||
PRODUCT_NAME = GradeMapper;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4FEB3F192795DFE90005C604 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = F5PQ7AR4DP;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.ivabus.GradeMapper;
|
||||
PRODUCT_NAME = GradeMapper;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
4FEB3F1B2795DFE90005C604 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = F5PQ7AR4DP;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 12.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.ivabus.GradeMapper;
|
||||
PRODUCT_NAME = GradeMapper;
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4FEB3F1C2795DFE90005C604 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = F5PQ7AR4DP;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 12.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.ivabus.GradeMapper;
|
||||
PRODUCT_NAME = GradeMapper;
|
||||
SDKROOT = macosx;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
4FEB3EFD2795DFE80005C604 /* Build configuration list for PBXProject "GradeMapper" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4FEB3F152795DFE90005C604 /* Debug */,
|
||||
4FEB3F162795DFE90005C604 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
4FEB3F172795DFE90005C604 /* Build configuration list for PBXNativeTarget "GradeMapper (iOS)" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4FEB3F182795DFE90005C604 /* Debug */,
|
||||
4FEB3F192795DFE90005C604 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
4FEB3F1A2795DFE90005C604 /* Build configuration list for PBXNativeTarget "GradeMapper (macOS)" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4FEB3F1B2795DFE90005C604 /* Debug */,
|
||||
4FEB3F1C2795DFE90005C604 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 4FEB3EFA2795DFE80005C604 /* Project object */;
|
||||
}
|
7
GradeMapper.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
7
GradeMapper.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:">
|
||||
</FileRef>
|
||||
</Workspace>
|
|
@ -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>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Bucket
|
||||
uuid = "1FA12096-94D4-4153-9D70-423E3C4922F7"
|
||||
type = "1"
|
||||
version = "2.0">
|
||||
<Breakpoints>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
uuid = "A355FD59-8B4D-4388-96AB-61D1BDC2B27F"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "Shared/SubjectView.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "60"
|
||||
endingLineNumber = "60"
|
||||
landmarkName = "body"
|
||||
landmarkType = "24">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
</Breakpoints>
|
||||
</Bucket>
|
|
@ -0,0 +1,19 @@
|
|||
<?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>SchemeUserState</key>
|
||||
<dict>
|
||||
<key>GradeMapper (iOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>GradeMapper (macOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
11
Shared/Assets.xcassets/AccentColor.colorset/Contents.json
Normal file
11
Shared/Assets.xcassets/AccentColor.colorset/Contents.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
148
Shared/Assets.xcassets/AppIcon.appiconset/Contents.json
Normal file
148
Shared/Assets.xcassets/AppIcon.appiconset/Contents.json
Normal file
|
@ -0,0 +1,148 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "2x",
|
||||
"size" : "20x20"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "3x",
|
||||
"size" : "20x20"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "2x",
|
||||
"size" : "29x29"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "3x",
|
||||
"size" : "29x29"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "2x",
|
||||
"size" : "40x40"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "3x",
|
||||
"size" : "40x40"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "2x",
|
||||
"size" : "60x60"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"scale" : "3x",
|
||||
"size" : "60x60"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "1x",
|
||||
"size" : "20x20"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "2x",
|
||||
"size" : "20x20"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "1x",
|
||||
"size" : "29x29"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "2x",
|
||||
"size" : "29x29"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "1x",
|
||||
"size" : "40x40"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "2x",
|
||||
"size" : "40x40"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "1x",
|
||||
"size" : "76x76"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "2x",
|
||||
"size" : "76x76"
|
||||
},
|
||||
{
|
||||
"idiom" : "ipad",
|
||||
"scale" : "2x",
|
||||
"size" : "83.5x83.5"
|
||||
},
|
||||
{
|
||||
"idiom" : "ios-marketing",
|
||||
"scale" : "1x",
|
||||
"size" : "1024x1024"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "512x512"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "512x512"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
6
Shared/Assets.xcassets/Contents.json
Normal file
6
Shared/Assets.xcassets/Contents.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
36
Shared/ContentView.swift
Normal file
36
Shared/ContentView.swift
Normal file
|
@ -0,0 +1,36 @@
|
|||
//
|
||||
// ContentView.swift
|
||||
// Shared
|
||||
//
|
||||
// Created by Иван Бущик on 17.01.2022.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView: View{
|
||||
var body: some View {
|
||||
VStack(alignment: .center) {
|
||||
Text("GradeMapper")
|
||||
.font(.largeTitle)
|
||||
.fontWeight(.heavy)
|
||||
.multilineTextAlignment(.center)
|
||||
NavigationView {
|
||||
List{
|
||||
ForEach(subjectsNames, id: \.self) {
|
||||
subjectName in NavigationLink("\(subjectName)", destination: SubjectView(name: subjectName))
|
||||
}
|
||||
}
|
||||
}
|
||||
}.padding([.leading, .top], 5.0)
|
||||
}
|
||||
}
|
||||
|
||||
struct ContentView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
ContentView()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
117
Shared/GradeMapperApp.swift
Normal file
117
Shared/GradeMapperApp.swift
Normal file
|
@ -0,0 +1,117 @@
|
|||
//
|
||||
// GradeMapperApp.swift
|
||||
// Shared
|
||||
//
|
||||
// Created by Иван Бущик on 17.01.2022.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
class helpMe{
|
||||
var multiplier: Double
|
||||
var subjectName: String
|
||||
var subjectSubName: String
|
||||
var grade: Int
|
||||
var sum: Double
|
||||
var sr: Double
|
||||
var gradesWeighted: Double = 0
|
||||
var weightsSum: Double = 0
|
||||
var history: [Int]
|
||||
init(){
|
||||
self.multiplier = 1.5
|
||||
self.subjectName = "Русский язык"
|
||||
self.subjectSubName = "Контрольная работа"
|
||||
self.gradesWeighted = 0
|
||||
self.weightsSum = 0
|
||||
self.sr = 0
|
||||
self.sum = 0
|
||||
self.grade = 0
|
||||
self.history = []
|
||||
}
|
||||
func set(n1: String, n2: String) -> Void{
|
||||
self.multiplier = subjects[n1]![n2]!
|
||||
self.subjectName = n1
|
||||
self.subjectSubName = n2
|
||||
}
|
||||
func setGrade(grade: Int){
|
||||
self.grade = grade
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@main
|
||||
struct GradeMapperApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var subjects: [String : [String : Double]] = [
|
||||
"Русский язык": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Контрольный диктант": 1.5,
|
||||
"Административная контрольная работа": 1.5,
|
||||
"Словарный диктант": 1.4,
|
||||
"Домашнее сочинение": 1.4,
|
||||
"Изложение": 1.4,
|
||||
"Проверочная работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Тест": 1.0,
|
||||
"Сочинение": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
], "Литература": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Классное сочинение": 1.5,
|
||||
"Домашнее сочинение": 1.4,
|
||||
"Проверочная работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Тест": 1.0,
|
||||
"Сочинение": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
], "Алгебрa": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Административная контрольная работа": 1.5,
|
||||
"Контрольная практическая работа": 1.5,
|
||||
"Зачёт": 1.5,
|
||||
"Проверочная работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
], "Геометрия": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Административная контрольная работа": 1.5,
|
||||
"Контрольная практическая работа": 1.5,
|
||||
"Зачёт": 1.5,
|
||||
"Проверочная работа": 1.3,
|
||||
"Практическая работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
], "Физика": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Зачёт": 1.5,
|
||||
"Проверочная работа": 1.3,
|
||||
"Практическая работа": 1.3,
|
||||
"Срезовая работа": 1.3,
|
||||
"Лабораторная работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Тест": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
], "Информатика": [
|
||||
"Контрольная работа": 1.5,
|
||||
"Зачёт": 1.5,
|
||||
"Проверочная работа": 1.3,
|
||||
"Практическая работа": 1.3,
|
||||
"Самостоятельная работа": 1.2,
|
||||
"Работа на уроке": 1.0,
|
||||
"Домашняя работа": 1.0
|
||||
]
|
||||
]
|
||||
|
||||
var subjectsNames: [String] = [String](subjects.keys)
|
67
Shared/SubjectView.swift
Normal file
67
Shared/SubjectView.swift
Normal file
|
@ -0,0 +1,67 @@
|
|||
//
|
||||
// SubjectView.swift
|
||||
// GradeMapper
|
||||
//
|
||||
// Created by Иван Бущик on 18.01.2022.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
enum Grade: Int, Identifiable, CaseIterable{
|
||||
case One = 1
|
||||
case Two = 2
|
||||
case Three = 3
|
||||
case Four = 4
|
||||
case Five = 5
|
||||
|
||||
var id: Int { self.rawValue }
|
||||
}
|
||||
|
||||
|
||||
struct SubjectView: View {
|
||||
var ow = helpMe()
|
||||
@State var srr: Double = 0
|
||||
var name: String
|
||||
@State private var selectedGrade = Grade.One
|
||||
@State var selectedTypeOfGrade = "Контрольная работа"
|
||||
|
||||
var body: some View {
|
||||
var current = subjects[name]!
|
||||
VStack(alignment: .center, spacing: 75){
|
||||
Text("\(name)")
|
||||
.font(.title)
|
||||
.fontWeight(.black)
|
||||
.multilineTextAlignment(.center)
|
||||
VStack(alignment: .leading, spacing: 30){
|
||||
Picker("Тип оценки", selection: $selectedTypeOfGrade){
|
||||
ForEach([String](subjects[name]!.keys), id: \.self) {
|
||||
subjectSN in Text("\(subjectSN)")
|
||||
}
|
||||
}.pickerStyle(.wheel)
|
||||
VStack{
|
||||
Picker("Оценка", selection: $selectedGrade){
|
||||
ForEach(Grade.allCases, id: \.self) {
|
||||
currGrade in Text("\(currGrade.rawValue)")
|
||||
}
|
||||
}
|
||||
}.pickerStyle(.segmented)
|
||||
}
|
||||
Button ("Добавить оценку"){
|
||||
ow.multiplier = current[selectedTypeOfGrade]!
|
||||
ow.gradesWeighted += Double(selectedGrade.rawValue) * ow.multiplier
|
||||
ow.weightsSum += ow.multiplier
|
||||
ow.sr = (ow.gradesWeighted / ow.weightsSum)
|
||||
print(ow.sr)
|
||||
print(ow.multiplier)
|
||||
self.srr = ow.sr
|
||||
}.buttonStyle(.borderedProminent)
|
||||
Text(String(self.srr))
|
||||
.fontWeight(.bold)
|
||||
}
|
||||
.padding(.top, -155.0)
|
||||
}
|
||||
}
|
||||
struct SubjectView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
SubjectView(name: "Русский язык")
|
||||
}
|
||||
}
|
10
macOS/macOS.entitlements
Normal file
10
macOS/macOS.entitlements
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in a new issue