Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
two screens outlined, basic features implemented.
  • Loading branch information
MrPeterss committed Nov 20, 2023
1 parent 045c98c commit 86ebcf7
Show file tree
Hide file tree
Showing 53 changed files with 1,596 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
738 changes: 738 additions & 0 deletions truscoop-ios.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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>
Binary file not shown.
101 changes: 101 additions & 0 deletions truscoop-ios.xcodeproj/xcshareddata/xcschemes/truscoop.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D096F1F62B0AA6B000401DBE"
BuildableName = "truscoop-ios.app"
BlueprintName = "truscoop-ios"
ReferencedContainer = "container:truscoop-ios.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D096F2072B0AA6B400401DBE"
BuildableName = "truscoop-iosTests.xctest"
BlueprintName = "truscoop-iosTests"
ReferencedContainer = "container:truscoop-ios.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D096F2112B0AA6B400401DBE"
BuildableName = "truscoop-iosUITests.xctest"
BlueprintName = "truscoop-iosUITests"
ReferencedContainer = "container:truscoop-ios.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D096F1F62B0AA6B000401DBE"
BuildableName = "truscoop-ios.app"
BlueprintName = "truscoop-ios"
ReferencedContainer = "container:truscoop-ios.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D096F1F62B0AA6B000401DBE"
BuildableName = "truscoop-ios.app"
BlueprintName = "truscoop-ios"
ReferencedContainer = "container:truscoop-ios.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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>truscoop.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>D096F1F62B0AA6B000401DBE</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>D096F2072B0AA6B400401DBE</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>D096F2112B0AA6B400401DBE</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Binary file added truscoop/.DS_Store
Binary file not shown.
65 changes: 65 additions & 0 deletions truscoop/AddScoopView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
//
// AddScoopView.swift
// truscoop
//
// Created by Peter Bidoshi on 11/19/23.
//

import SwiftUI

struct AddScoopView: View {

@State var url: String = ""

var body: some View {
VStack () {
HStack {
VStack (alignment: .leading) {
Text("Find the reliability and bias of a news source fast, with accurate and up-to-date predictions using Artificial Intelligence. Paste the link below to get started.")
.font(.custom("Futura Book", size: 18))
.foregroundColor(Color(red: 0.42, green: 0.42, blue: 0.42))
Rectangle()
.foregroundColor(.clear)
.frame(width: 60, height: 8)
.background(Color(red: 0.41, green: 0.41, blue: 0.41))
.padding(EdgeInsets(top: 10, leading: 0, bottom: 20, trailing: 0))
HStack {
TextField("paste URL here", text: $url)
.padding(12)
.overlay(
RoundedRectangle(cornerRadius: 8)
.stroke(Color(red: 0.42, green: 0.42, blue: 0.42), lineWidth: 2)
)
Button {
url = ""
} label: {
Text("submit")
.font(.custom("Futura Bold", size: 18))
.foregroundColor(.white)
.padding(12)
.background(Color(red: 0.42, green: 0.42, blue: 0.42))
.clipShape(RoundedRectangle(cornerRadius: 8))
}
}
}.padding()
Spacer()
}
Spacer()
}
.toolbar {
ToolbarItem(placement: .principal) {
HStack(spacing: 0) {
Text("tru")
.font(.system(size: 32, weight: .bold))
.bold()
Text("review").font(.system(size: 32, weight: .regular))
}
.padding()
}
}
}
}

#Preview {
AddScoopView()
}
11 changes: 11 additions & 0 deletions truscoop/Assets.xcassets/AccentColor.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
63 changes: 63 additions & 0 deletions truscoop/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"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 changes: 6 additions & 0 deletions truscoop/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
21 changes: 21 additions & 0 deletions truscoop/Assets.xcassets/add_scoop.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "add_scoop.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
3 changes: 3 additions & 0 deletions truscoop/Assets.xcassets/add_scoop.imageset/add_scoop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "placeholder_favicon.png",
"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.
21 changes: 21 additions & 0 deletions truscoop/Assets.xcassets/search.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "search.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
3 changes: 3 additions & 0 deletions truscoop/Assets.xcassets/search.imageset/search.svg
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 86ebcf7

Please sign in to comment.