There are two files:
xcodebuild- the script that the agent is expected to runbuilding-with-xcode.md- the instructions given to the agent, i.e. in CLAUDE.md
| 我的開發目標 | |
| 🎯 目標概述 | |
| 我希望能開發出便利且能造福許多人的App。 | |
| 具體的構想是製作一個「台大美食地圖App」,讓使用者能快速找到校園周邊餐廳、評價與推薦,結合地圖與社群功能,打造屬於台大人的美食平台。 | |
| 💡 動機 | |
| 大一時我加入了「吃貨台大」社團,這個經驗讓我發現學生之間其實很需要一個整合資訊的平台。 | |
| 如果能將這個概念延伸成App,不僅能讓找餐廳更方便,也有潛力發展成更大的校園品牌或商機。 |
Updated with info from https://developer.apple.com/documentation/testing fetched via Firecrawl on June 7, 2025.
See also my blog: See also my blog post: https://steipete.me/posts/2025/migrating-700-tests-to-swift-testing
A hands-on, comprehensive guide for migrating from XCTest to Swift Testing and mastering the new framework. This playbook integrates the latest patterns and best practices from WWDC 2024 and official Apple documentation to make your tests more powerful, expressive, and maintainable.
| import AppKit | |
| import Charts | |
| import CoreVideo | |
| import SwiftUI | |
| struct FPSMeasurement: Identifiable, Equatable { | |
| let id: Int | |
| let fps: Int | |
| static func == (lhs: FPSMeasurement, rhs: FPSMeasurement) -> Bool { |
| from datetime import datetime, timedelta | |
| from Speech import SFSpeechRecognizer, SFSpeechAudioBufferRecognitionRequest | |
| from AppKit import NSRunLoop | |
| from PyObjCTools import AppHelper | |
| import AVFoundation | |
| # https://developer.apple.com/documentation/speech/recognizing_speech_in_live_audio |
| // | |
| // NSApplication+openSettings.swift | |
| // | |
| // Created by Stephan Casas on 12/3/23. | |
| // | |
| import SwiftUI; | |
| fileprivate let kAppMenuInternalIdentifier = "app" | |
| fileprivate let kSettingsLocalizedStringKey = "Settings\\U2026"; |
| // | |
| // DebugDevice.swift | |
| // | |
| // Copyright 2022 • Sidetrack Tech Limited | |
| // | |
| import Foundation | |
| // This must be called on the main-thread. | |
| var isDebugProfileInstalled: Bool { |
| //How to use BaseState struct to share state between views in TCA architecture. | |
| // https://forums.swift.org/t/best-practice-for-sharing-data-between-many-features/37696/4 | |
| //This is a proof-of-concept only; it simply is an attempt to model how to get and set global shared state among different views in a TCA-style app. | |
| import SwiftUI | |
| import ComposableArchitecture | |
| @dynamicMemberLookup | |
| struct TCABaseState<State: Equatable>: Equatable{ |