Advance UIKit rewrite with AMap integration and core UI modules.

Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-26 15:16:12 +08:00
parent 9edf993432
commit d99a5b1bf8
124 changed files with 5195 additions and 1536 deletions

View File

@ -106,6 +106,7 @@ final class ToastOverlayView: UIView {
nil
}
/// Views
private func configureViews() {
bannerView.backgroundColor = AppDesign.primary
bannerView.isHidden = true
@ -134,6 +135,7 @@ final class ToastOverlayView: UIView {
])
}
/// Presentation
private func refreshPresentation(animated: Bool) {
guard let message = toastCenter?.message, !message.isEmpty else {
hideBanner(animated: animated)
@ -144,6 +146,7 @@ final class ToastOverlayView: UIView {
showBanner(animated: animated)
}
/// Banner
private func showBanner(animated: Bool) {
guard bannerView.isHidden || bannerView.alpha < 1 else { return }
@ -162,6 +165,7 @@ final class ToastOverlayView: UIView {
}
}
/// Banner
private func hideBanner(animated: Bool) {
guard !bannerView.isHidden else { return }