Files
Zakhar Timoshenko 170a44c377 Add date and time handling, models, schedule management, storage, and widget support
- Introduced `Dates.swift` for handling date and time in the university's timezone.
- Created `Models.swift` to define data structures for timetable, lessons, and directory search results.
- Implemented `Schedule.swift` for managing lesson slots and timetable functionalities.
- Developed `Storage.swift` for user settings and data persistence.
- Added `Widgets.swift` to create widgets displaying lessons and upcoming classes.
2026-10-18 20:26:12 +03:00

421 lines
14 KiB
Plaintext

// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {
/* Begin PBXBuildFile section */
4D46DD4AF5CDCC2545A8EF3B /* PSUScheduleWidgets.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 1C7052EC5FC02E5BD365EC48 /* PSUScheduleWidgets.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
431387EB7262E1CFC79B125E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4DC844ABCCFC0D132D087C1C /* Project object */;
proxyType = 1;
remoteGlobalIDString = E8173D1080A28ECDFD3BF6B2;
remoteInfo = PSUScheduleWidgets;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
CF85AC55444E92E2A151D05E /* Embed Foundation Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
4D46DD4AF5CDCC2545A8EF3B /* PSUScheduleWidgets.appex in Embed Foundation Extensions */,
);
name = "Embed Foundation Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1C7052EC5FC02E5BD365EC48 /* PSUScheduleWidgets.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = PSUScheduleWidgets.appex; sourceTree = BUILT_PRODUCTS_DIR; };
81918909E83595C8F4212CCC /* PSUSchedule.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSUSchedule.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
6CB77480E0F0214B7AC1764B /* PSUSchedule */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = PSUSchedule;
sourceTree = "<group>";
};
9D254543540250A73DA109E9 /* Shared */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = Shared;
sourceTree = "<group>";
};
EB8CA8D1CCE6CA70621B7C5C /* Widgets */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = Widgets;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
0248D6DB510EB0F7E9C05175 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C2B571F11AF4AD9F122E48C3 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
86024CAD1E83101D97359D73 /* Products */ = {
isa = PBXGroup;
children = (
81918909E83595C8F4212CCC /* PSUSchedule.app */,
1C7052EC5FC02E5BD365EC48 /* PSUScheduleWidgets.appex */,
);
name = Products;
sourceTree = "<group>";
};
FAD58DE7366495DB4650CFEF = {
isa = PBXGroup;
children = (
6CB77480E0F0214B7AC1764B /* PSUSchedule */,
9D254543540250A73DA109E9 /* Shared */,
EB8CA8D1CCE6CA70621B7C5C /* Widgets */,
86024CAD1E83101D97359D73 /* Products */,
);
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
3D4C91345015A4DD0A099400 /* PSUSchedule */ = {
isa = PBXNativeTarget;
buildConfigurationList = 780754F98F0CCAA36D4D0A49 /* Build configuration list for PBXNativeTarget "PSUSchedule" */;
buildPhases = (
DA10D9DD089DF2AFEBC5ED5A /* Sources */,
0248D6DB510EB0F7E9C05175 /* Frameworks */,
82A968CB662751220D4DFE2D /* Resources */,
CF85AC55444E92E2A151D05E /* Embed Foundation Extensions */,
);
buildRules = (
);
dependencies = (
E54DEBD65D8142E7785275AA /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
6CB77480E0F0214B7AC1764B /* PSUSchedule */,
9D254543540250A73DA109E9 /* Shared */,
);
name = PSUSchedule;
productName = PSUSchedule;
productReference = 81918909E83595C8F4212CCC /* PSUSchedule.app */;
productType = "com.apple.product-type.application";
};
E8173D1080A28ECDFD3BF6B2 /* PSUScheduleWidgets */ = {
isa = PBXNativeTarget;
buildConfigurationList = E5E361A19AF73B31E4F0D905 /* Build configuration list for PBXNativeTarget "PSUScheduleWidgets" */;
buildPhases = (
C861C1B2713F1DA729267477 /* Sources */,
C2B571F11AF4AD9F122E48C3 /* Frameworks */,
3EB9B1A63CB0AF905AC09EAB /* Resources */,
);
buildRules = (
);
dependencies = (
);
fileSystemSynchronizedGroups = (
9D254543540250A73DA109E9 /* Shared */,
EB8CA8D1CCE6CA70621B7C5C /* Widgets */,
);
name = PSUScheduleWidgets;
productName = PSUScheduleWidgets;
productReference = 1C7052EC5FC02E5BD365EC48 /* PSUScheduleWidgets.appex */;
productType = "com.apple.product-type.app-extension";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
4DC844ABCCFC0D132D087C1C /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 2710;
LastUpgradeCheck = 2710;
TargetAttributes = {
3D4C91345015A4DD0A099400 = {
CreatedOnToolsVersion = 27.1;
};
E8173D1080A28ECDFD3BF6B2 = {
CreatedOnToolsVersion = 27.1;
};
};
};
buildConfigurationList = 71371EFA15DA3BB408E93DEB /* Build configuration list for PBXProject "PSUSchedule" */;
developmentRegion = ru;
hasScannedForEncodings = 0;
knownRegions = (
ru,
Base,
);
mainGroup = FAD58DE7366495DB4650CFEF;
minimizedProjectReferenceProxies = 1;
preferredProjectObjectVersion = 77;
productRefGroup = 86024CAD1E83101D97359D73 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3D4C91345015A4DD0A099400 /* PSUSchedule */,
E8173D1080A28ECDFD3BF6B2 /* PSUScheduleWidgets */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
3EB9B1A63CB0AF905AC09EAB /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
82A968CB662751220D4DFE2D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
C861C1B2713F1DA729267477 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
DA10D9DD089DF2AFEBC5ED5A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
E54DEBD65D8142E7785275AA /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E8173D1080A28ECDFD3BF6B2 /* PSUScheduleWidgets */;
targetProxy = 431387EB7262E1CFC79B125E /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
191734982F22ABEBB64A1AE0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Config/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = F753S4PN2W;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Config/App-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Расписание ПГУ";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
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";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = org.xtimms.psu.schedule;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
2D74CA302FF4E1F0293F50B2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Config/Widgets.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = F753S4PN2W;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Config/Widgets-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Расписание ПГУ";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = org.xtimms.psu.schedule.widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
72FB3ED29B4639D83EC5DB14 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Config/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = F753S4PN2W;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Config/App-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Расписание ПГУ";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
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";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = org.xtimms.psu.schedule;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
999D00FC968E12EBDA6FF541 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Config/Widgets.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = F753S4PN2W;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Config/Widgets-Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Расписание ПГУ";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = org.xtimms.psu.schedule.widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
FA9139DD8B03E3F922556BF8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_OPTIMIZATION_LEVEL = 0;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
FFE2104CCFAB79205AC64460 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
71371EFA15DA3BB408E93DEB /* Build configuration list for PBXProject "PSUSchedule" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA9139DD8B03E3F922556BF8 /* Debug */,
FFE2104CCFAB79205AC64460 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
780754F98F0CCAA36D4D0A49 /* Build configuration list for PBXNativeTarget "PSUSchedule" */ = {
isa = XCConfigurationList;
buildConfigurations = (
72FB3ED29B4639D83EC5DB14 /* Debug */,
191734982F22ABEBB64A1AE0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E5E361A19AF73B31E4F0D905 /* Build configuration list for PBXNativeTarget "PSUScheduleWidgets" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2D74CA302FF4E1F0293F50B2 /* Debug */,
999D00FC968E12EBDA6FF541 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4DC844ABCCFC0D132D087C1C /* Project object */;
}