Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #164, Add support watchOS #165

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5fd523b
feat: add support watchOS
s8ngyu Oct 22, 2023
2268159
chore: update packages
s8ngyu Nov 8, 2023
4af68c5
feat: Flutter-iOS-watchOS communication
s8ngyu Nov 8, 2023
3b888de
add: you got this
s8ngyu Nov 8, 2023
1752cea
add: ObservableScrollView.swift
s8ngyu Nov 9, 2023
c187e8d
add: accentColour
s8ngyu Nov 9, 2023
eb37572
add: WeeklyTableView barebone
s8ngyu Nov 9, 2023
924eccb
add: DailyTableView barebone
s8ngyu Nov 9, 2023
d14a11c
add: OTLAPI to watchOS
s8ngyu Nov 17, 2023
e958f72
add: WeeklyDayView
s8ngyu Nov 17, 2023
561201a
add: SettingsView
s8ngyu Nov 17, 2023
d1319b5
add: more functions to OTLAPI
s8ngyu Nov 17, 2023
096457d
feat: daily view!
s8ngyu Nov 17, 2023
fd87ec1
add: DailyDayView
s8ngyu Nov 17, 2023
2f6046b
fix: point proper view
s8ngyu Nov 21, 2023
0b1033d
add: LectureDetailView
s8ngyu Nov 23, 2023
c01848f
fix: minor issues
s8ngyu Nov 23, 2023
541bdca
fix: WeeklyTableView padding
s8ngyu Nov 23, 2023
c69d27a
fix: proper navigation for WeeklyTableView
s8ngyu Dec 17, 2023
21f3e3d
fix: proper structures for WeeklyDayView
s8ngyu Dec 17, 2023
a25ee4f
fix: proper navigation for DailyDayView
s8ngyu Dec 17, 2023
4721885
feat: login state
s8ngyu Dec 17, 2023
cc7a0cb
fix: code optimisation
s8ngyu Dec 17, 2023
e336845
chore: move watchOS icon to main asset
sboh1214 Jan 13, 2024
0293f0a
chore: fix AppIcon issue, add @available(iOS 13.0, *)
sboh1214 Jan 13, 2024
7c0b94e
fix: archiving issue
s8ngyu Jan 13, 2024
111930c
chore: format dart code
sboh1214 Jan 14, 2024
a8ea04f
chore: updates bunch of outdated
s8ngyu Nov 6, 2024
695613b
fix: many many errors
s8ngyu Nov 6, 2024
231a547
some fixes
s8ngyu Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"colors" : [
{
"color" : {
"platform" : "universal",
"reference" : "systemRedColor"
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
13 changes: 13 additions & 0 deletions ios/OTL Watch App/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions ios/OTL Watch App/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
26 changes: 26 additions & 0 deletions ios/OTL Watch App/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// ContentView.swift
// otl Watch App
//
// Created by Soongyu Kwon on 06/11/2024.
//

import SwiftUI

struct ContentView: View {
@ObservedObject var viewModel = WatchViewModel()

@State private var loginState: Bool = true

var body: some View {
if loginState {
WeeklyTableView(loginState: $loginState)
} else {
LoginView()
}
}
}

#Preview {
ContentView()
}
10 changes: 10 additions & 0 deletions ios/OTL Watch App/OTL Watch App.entitlements
Original file line number Diff line number Diff line change
@@ -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.application-groups</key>
<array>
<string>group.org.sparcs.otl</string>
</array>
</dict>
</plist>
Loading
Loading