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

@ -50,6 +50,7 @@ final class AppContentUnavailableView: UIView {
actionsContainer.isHidden = actions.isEmpty
}
/// Views
private func configureViews(
title: String,
systemImage: String,

View File

@ -9,6 +9,7 @@ import CoreGraphics
/// App
final class AppMetrics {
///
private init() {}
/// App

View File

@ -119,6 +119,7 @@ fileprivate final class GlobalLoadingOverlayView: UIView {
nil
}
/// Views
private func configureViews() {
isUserInteractionEnabled = true
accessibilityLabel = "加载中"
@ -171,6 +172,7 @@ fileprivate final class GlobalLoadingOverlayView: UIView {
])
}
/// Presentation
private func refreshPresentation(animated: Bool) {
let shouldShow = state.isVisible
let updates = {
@ -237,6 +239,7 @@ fileprivate final class GlobalLoadingOverlayView: UIView {
/// loading Resources
#if canImport(Lottie)
/// Animation
private static func loadAnimation() -> LottieAnimation? {
if let animation = LottieAnimation.named("loading") {
return animation
@ -250,6 +253,7 @@ fileprivate final class GlobalLoadingOverlayView: UIView {
return nil
}
#else
/// Animation
private static func loadAnimation() -> Any? {
nil
}