Skip to content

Commit

Permalink
Merge pull request #36 from techstartucalgary/frontend-swift
Browse files Browse the repository at this point in the history
Frontend swift
  • Loading branch information
ParsaKargari authored Jan 5, 2024
2 parents 759e14a + 30a7dce commit 3ef0bf0
Show file tree
Hide file tree
Showing 28 changed files with 1,900 additions and 49 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Binary file added Rethread/.DS_Store
Binary file not shown.
141 changes: 133 additions & 8 deletions Rethread/Rethread.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,27 @@
objects = {

/* Begin PBXBuildFile section */
983286B52B05698E00851B19 /* RethreadApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983286B42B05698E00851B19 /* RethreadApp.swift */; };
983286B72B05698E00851B19 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983286B62B05698E00851B19 /* ContentView.swift */; };
7C3A04B82B0AD9DF00E36883 /* OnboardingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C3A04B42B0AD9DF00E36883 /* OnboardingApp.swift */; };
983014C22B451A3E004A6A07 /* NavigationTransitions in Frameworks */ = {isa = PBXBuildFile; productRef = 983014C12B451A3E004A6A07 /* NavigationTransitions */; };
983286B92B05698F00851B19 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 983286B82B05698F00851B19 /* Assets.xcassets */; };
983286BC2B05698F00851B19 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 983286BB2B05698F00851B19 /* Preview Assets.xcassets */; };
983286C62B05698F00851B19 /* RethreadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983286C52B05698F00851B19 /* RethreadTests.swift */; };
983286D02B05698F00851B19 /* RethreadUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983286CF2B05698F00851B19 /* RethreadUITests.swift */; };
983286D22B05698F00851B19 /* RethreadUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 983286D12B05698F00851B19 /* RethreadUITestsLaunchTests.swift */; };
9868A7D82B1FAD280063D9BA /* WelcomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9868A7D72B1FAD280063D9BA /* WelcomeView.swift */; };
9868A7DA2B1FADA70063D9BA /* QuestionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9868A7D92B1FADA70063D9BA /* QuestionView.swift */; };
9868A7DE2B1FAE780063D9BA /* ButtonStyles.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9868A7DD2B1FAE780063D9BA /* ButtonStyles.swift */; };
988A0F952B3BFB4C00ACDC90 /* SignUpView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 988A0F942B3BFB4C00ACDC90 /* SignUpView.swift */; };
988A0F992B3C112300ACDC90 /* DatePickerModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 988A0F982B3C112300ACDC90 /* DatePickerModel.swift */; };
9897C7732B3E6C4000EDE9D9 /* CustomDropdownMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9897C7722B3E6C4000EDE9D9 /* CustomDropdownMenu.swift */; };
98A183862B38273B001E324A /* MainView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98A183852B38273B001E324A /* MainView.swift */; };
98A183882B383C0B001E324A /* SignInView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98A183872B383C0B001E324A /* SignInView.swift */; };
98A1838A2B383C47001E324A /* VerificationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98A183892B383C47001E324A /* VerificationView.swift */; };
98A1838C2B38D32A001E324A /* ColorPalette.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98A1838B2B38D32A001E324A /* ColorPalette.swift */; };
98AE7AB92B1FAADB0029C2F7 /* OnboardingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98AE7AB82B1FAADB0029C2F7 /* OnboardingView.swift */; };
98F525C92B469BBD00CCAD78 /* PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98F525C82B469BBD00CCAD78 /* PlayerView.swift */; };
98F525CB2B469BEB00CCAD78 /* UIPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98F525CA2B469BEB00CCAD78 /* UIPlayerView.swift */; };
98F525CE2B46A96F00CCAD78 /* TermsAndConditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98F525CD2B46A96F00CCAD78 /* TermsAndConditions.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -34,23 +48,37 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
7C3A04B42B0AD9DF00E36883 /* OnboardingApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingApp.swift; sourceTree = "<group>"; };
983286B12B05698E00851B19 /* Rethread.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Rethread.app; sourceTree = BUILT_PRODUCTS_DIR; };
983286B42B05698E00851B19 /* RethreadApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RethreadApp.swift; sourceTree = "<group>"; };
983286B62B05698E00851B19 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
983286B82B05698F00851B19 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
983286BB2B05698F00851B19 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
983286C12B05698F00851B19 /* RethreadTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RethreadTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
983286C52B05698F00851B19 /* RethreadTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RethreadTests.swift; sourceTree = "<group>"; };
983286CB2B05698F00851B19 /* RethreadUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RethreadUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
983286CF2B05698F00851B19 /* RethreadUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RethreadUITests.swift; sourceTree = "<group>"; };
983286D12B05698F00851B19 /* RethreadUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RethreadUITestsLaunchTests.swift; sourceTree = "<group>"; };
9868A7D72B1FAD280063D9BA /* WelcomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WelcomeView.swift; sourceTree = "<group>"; };
9868A7D92B1FADA70063D9BA /* QuestionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuestionView.swift; sourceTree = "<group>"; };
9868A7DD2B1FAE780063D9BA /* ButtonStyles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonStyles.swift; sourceTree = "<group>"; };
988A0F942B3BFB4C00ACDC90 /* SignUpView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpView.swift; sourceTree = "<group>"; };
988A0F982B3C112300ACDC90 /* DatePickerModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatePickerModel.swift; sourceTree = "<group>"; };
9897C7722B3E6C4000EDE9D9 /* CustomDropdownMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomDropdownMenu.swift; sourceTree = "<group>"; };
98A183852B38273B001E324A /* MainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = "<group>"; };
98A183872B383C0B001E324A /* SignInView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInView.swift; sourceTree = "<group>"; };
98A183892B383C47001E324A /* VerificationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VerificationView.swift; sourceTree = "<group>"; };
98A1838B2B38D32A001E324A /* ColorPalette.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorPalette.swift; sourceTree = "<group>"; };
98AE7AB82B1FAADB0029C2F7 /* OnboardingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingView.swift; sourceTree = "<group>"; };
98F525C82B469BBD00CCAD78 /* PlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerView.swift; sourceTree = "<group>"; };
98F525CA2B469BEB00CCAD78 /* UIPlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIPlayerView.swift; sourceTree = "<group>"; };
98F525CD2B46A96F00CCAD78 /* TermsAndConditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TermsAndConditions.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
983286AE2B05698E00851B19 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
983014C22B451A3E004A6A07 /* NavigationTransitions in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -71,6 +99,31 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
7C9AA2CC2B0EC02600EF6F36 /* Models */ = {
isa = PBXGroup;
children = (
988A0F982B3C112300ACDC90 /* DatePickerModel.swift */,
98F525CD2B46A96F00CCAD78 /* TermsAndConditions.swift */,
);
path = Models;
sourceTree = "<group>";
};
7C9AA2D12B0EC3BC00EF6F36 /* Extensions */ = {
isa = PBXGroup;
children = (
);
path = Extensions;
sourceTree = "<group>";
};
7C9AA2D42B0ECADF00EF6F36 /* Styles */ = {
isa = PBXGroup;
children = (
9868A7DD2B1FAE780063D9BA /* ButtonStyles.swift */,
98A1838B2B38D32A001E324A /* ColorPalette.swift */,
);
path = Styles;
sourceTree = "<group>";
};
983286A82B05698E00851B19 = {
isa = PBXGroup;
children = (
Expand All @@ -94,8 +147,19 @@
983286B32B05698E00851B19 /* Rethread */ = {
isa = PBXGroup;
children = (
983286B42B05698E00851B19 /* RethreadApp.swift */,
983286B62B05698E00851B19 /* ContentView.swift */,
7C9AA2D12B0EC3BC00EF6F36 /* Extensions */,
7C9AA2D42B0ECADF00EF6F36 /* Styles */,
9897C7712B3E6BF600EDE9D9 /* Components */,
98F525CC2B46A8E900CCAD78 /* VideoPlayer */,
7C9AA2CC2B0EC02600EF6F36 /* Models */,
98AE7AB82B1FAADB0029C2F7 /* OnboardingView.swift */,
98A183852B38273B001E324A /* MainView.swift */,
98A183872B383C0B001E324A /* SignInView.swift */,
988A0F942B3BFB4C00ACDC90 /* SignUpView.swift */,
98A183892B383C47001E324A /* VerificationView.swift */,
9868A7D92B1FADA70063D9BA /* QuestionView.swift */,
9868A7D72B1FAD280063D9BA /* WelcomeView.swift */,
7C3A04B42B0AD9DF00E36883 /* OnboardingApp.swift */,
983286B82B05698F00851B19 /* Assets.xcassets */,
983286BA2B05698F00851B19 /* Preview Content */,
);
Expand Down Expand Up @@ -127,6 +191,23 @@
path = RethreadUITests;
sourceTree = "<group>";
};
9897C7712B3E6BF600EDE9D9 /* Components */ = {
isa = PBXGroup;
children = (
9897C7722B3E6C4000EDE9D9 /* CustomDropdownMenu.swift */,
);
path = Components;
sourceTree = "<group>";
};
98F525CC2B46A8E900CCAD78 /* VideoPlayer */ = {
isa = PBXGroup;
children = (
98F525C82B469BBD00CCAD78 /* PlayerView.swift */,
98F525CA2B469BEB00CCAD78 /* UIPlayerView.swift */,
);
path = VideoPlayer;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -143,6 +224,9 @@
dependencies = (
);
name = Rethread;
packageProductDependencies = (
983014C12B451A3E004A6A07 /* NavigationTransitions */,
);
productName = Rethread;
productReference = 983286B12B05698E00851B19 /* Rethread.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -195,6 +279,7 @@
TargetAttributes = {
983286B02B05698E00851B19 = {
CreatedOnToolsVersion = 15.0.1;
LastSwiftMigration = 1500;
};
983286C02B05698F00851B19 = {
CreatedOnToolsVersion = 15.0.1;
Expand All @@ -215,6 +300,9 @@
Base,
);
mainGroup = 983286A82B05698E00851B19;
packageReferences = (
983014C02B451A3E004A6A07 /* XCRemoteSwiftPackageReference "swiftui-navigation-transitions" */,
);
productRefGroup = 983286B22B05698E00851B19 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -257,8 +345,21 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
983286B72B05698E00851B19 /* ContentView.swift in Sources */,
983286B52B05698E00851B19 /* RethreadApp.swift in Sources */,
9868A7DA2B1FADA70063D9BA /* QuestionView.swift in Sources */,
7C3A04B82B0AD9DF00E36883 /* OnboardingApp.swift in Sources */,
9868A7DE2B1FAE780063D9BA /* ButtonStyles.swift in Sources */,
98AE7AB92B1FAADB0029C2F7 /* OnboardingView.swift in Sources */,
988A0F952B3BFB4C00ACDC90 /* SignUpView.swift in Sources */,
98A1838C2B38D32A001E324A /* ColorPalette.swift in Sources */,
98F525CE2B46A96F00CCAD78 /* TermsAndConditions.swift in Sources */,
98A183862B38273B001E324A /* MainView.swift in Sources */,
98F525C92B469BBD00CCAD78 /* PlayerView.swift in Sources */,
98A1838A2B383C47001E324A /* VerificationView.swift in Sources */,
98F525CB2B469BEB00CCAD78 /* UIPlayerView.swift in Sources */,
98A183882B383C0B001E324A /* SignInView.swift in Sources */,
988A0F992B3C112300ACDC90 /* DatePickerModel.swift in Sources */,
9897C7732B3E6C4000EDE9D9 /* CustomDropdownMenu.swift in Sources */,
9868A7D82B1FAD280063D9BA /* WelcomeView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -419,9 +520,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"Rethread/Preview Content\"";
DEVELOPMENT_TEAM = 4GW9NWA7H9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
Expand All @@ -437,6 +540,7 @@
PRODUCT_BUNDLE_IDENTIFIER = techstart.Rethread;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand All @@ -447,9 +551,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"Rethread/Preview Content\"";
DEVELOPMENT_TEAM = 4GW9NWA7H9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
Expand Down Expand Up @@ -582,6 +688,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
983014C02B451A3E004A6A07 /* XCRemoteSwiftPackageReference "swiftui-navigation-transitions" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/davdroman/swiftui-navigation-transitions.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.13.3;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
983014C12B451A3E004A6A07 /* NavigationTransitions */ = {
isa = XCSwiftPackageProductDependency;
package = 983014C02B451A3E004A6A07 /* XCRemoteSwiftPackageReference "swiftui-navigation-transitions" */;
productName = NavigationTransitions;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 983286A92B05698E00851B19 /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"pins" : [
{
"identity" : "swiftui-introspect",
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/swiftui-introspect",
"state" : {
"revision" : "9e1cc02a65b22e09a8251261cccbccce02731fc5",
"version" : "1.1.1"
}
},
{
"identity" : "swiftui-navigation-transitions",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/swiftui-navigation-transitions.git",
"state" : {
"revision" : "a6a3c70ad5d771bd1e927fb55897231cd9592024",
"version" : "0.13.3"
}
}
],
"version" : 2
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>Rethread.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "0220AA8C-8DDB-4B36-960E-86B8D661A58D"
type = "1"
version = "2.0">
</Bucket>
Binary file added Rethread/Rethread/.DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions Rethread/Rethread/Assets.xcassets/starSky.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "starSky.jpg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3ef0bf0

Please sign in to comment.