Skip to content

Commit

Permalink
feat(v1.0)
Browse files Browse the repository at this point in the history
version 1.0
  • Loading branch information
Toby-Shi-cloud committed Nov 26, 2022
1 parent af513f2 commit 88d23bf
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 2 deletions.
6 changes: 6 additions & 0 deletions BUAA Tools.xcodeproj/.xcodesamplecode.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?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">
<array/>
</plist>

6 changes: 4 additions & 2 deletions BUAA Tools.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
04DC15E02931EC4F009F3411 /* TdQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TdQuery.swift; sourceTree = "<group>"; };
04DC15E12931EC4F009F3411 /* NcovQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NcovQuery.swift; sourceTree = "<group>"; };
04DC15E22931EC4F009F3411 /* TrafficQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrafficQuery.swift; sourceTree = "<group>"; };
04DC160529321C51009F3411 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -90,6 +91,7 @@
04DC15A22931E9AB009F3411 = {
isa = PBXGroup;
children = (
04DC160529321C51009F3411 /* README.md */,
04DC15AD2931E9AB009F3411 /* BUAA Tools */,
04DC15AC2931E9AB009F3411 /* Products */,
);
Expand Down Expand Up @@ -459,7 +461,7 @@
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -501,7 +503,7 @@
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
Binary file not shown.
Binary file modified BUAA Tools/.DS_Store
Binary file not shown.
60 changes: 60 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[![platforms](https://img.shields.io/badge/platforms-iOS%2016.0%2B%20%7C%20iPadOS%2016.0%2B%20%7C%20macOS%2013.0%2B-red.svg)](https://developer.apple.com/ios/)

[![GitHub release](https://img.shields.io/github/release/Toby-Shi-cloud/BUAA-Tools.svg)](https://GitHub.com/Toby-Shi-cloud/BUAA-Tools/releases/)

# BUAA Tools

## 功能

1. 查看校园网流量
2. 查看 TD 次数(需要校园网访问)
3. 查看一卡通余额
4. 查看健康打卡状态
5. 进行健康打卡

## 使用指南

[推荐前往我的博客查看](https://toby-shi-cloud.github.io/posts/buaatoolsusage.html)

## 安装指南

0. 安装前请确保您的设备在 iOS 16,iPadOS 16,或 macOS 13 及以上
1. 在 Github Release 中下载最新版 ipa
2. 推荐使用 [AltSotre](https://altstore.io/) 侧载
3. 记得定期重签名
4. Enjoy!

## 学习 SwiftUI 指南

以下内容都是我在学习并制作这个 App 时使用的,对我帮助很大,所以写在此处,一方面希望能帮助大家,另一方面也算是我对他们无私分享的感谢。

1. SwiftUI 登录和主界面切换列子:https://www.jianshu.com/p/5d94c926e78c
2. SwiftUI之深入解析@StateObject@ObservedObject@EnvironmentObject的联系和区别:https://blog.csdn.net/forever_wj/article/details/121981007
3. Making SwiftUI views refreshable:https://www.swiftbysundell.com/articles/making-swiftui-views-refreshable/
4. SwiftUI-自定义进度条:https://www.jianshu.com/p/99dd4e2c4ae2
5. Swift并发编程async/await:https://juejin.cn/post/7025261081291407373
6. SwiftUI——全局背景渐变色(Gradient)案例:https://blog.csdn.net/qq_36924683/article/details/127748879
7. SwiftUI:如何适配深色模式和浅色模式:https://www.jianshu.com/p/3384fa41dc47
8. SwiftSoup:Swift 版跨平台(Linux, iOS, Mac, tvOS, watchOS)HTML 文本解析器:https://juejin.cn/post/6844903494877446151
9. SwiftUI数据流之StateObject& ObservedObject探讨:https://zhuanlan.zhihu.com/p/349079593?utm_id=0#
10. How to solve "Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates." error?:https://developer.apple.com/forums/thread/128119
11. Create a web browser with WebKit and SwiftUI:https://benoitpasquier.com/create-webview-in-swiftui/
12. A Beginner’s Guide to NavigationSplitView in SwiftUI for iOS 16:https://www.appcoda.com/navigationsplitview-swiftui/
13. SwiftUI List (2) —— 定制化显示:https://zhuanlan.zhihu.com/p/111010271
14. SwiftUI List那些事(十一)List 修改显示样式(ListStyle):https://blog.csdn.net/lengshengren/article/details/120422048

## 未来可能会做的

1. 查询课表功能
2. 数据储存功能,保存流量使用情况和校园卡使用情况,然后提供图表分析
3. 提供 DDL 提醒 (不过大家都有提醒事项,这个功能可能略显多余)
4. 桌面小组件

## 特别感谢

特别感谢所有支持和喜欢这个项目的人。

也欢迎任何人给这个项目提供任何意见和建议(通过 GitHub Issue 或发邮件至 [email protected]

又及:我自己制作的图标过于丑陋,希望能征集到更好看的图标,谢谢大家。

0 comments on commit 88d23bf

Please sign in to comment.