Skip to content

Repository files navigation

TaskOrchestratorKit

Deterministic task orchestration for app startup workflows, with both Objective-C and Swift implementations.

中文文档 | English Docs

Keywords

  • iOS 启动优化 / iOS startup optimization
  • DAG 调度 / DAG scheduling
  • 任务编排 / task orchestration

Highlights

  • Deterministic execution order: priority + registration order
  • DAG dependency scheduling with cycle detection
  • Mixed execution lanes: serial / main-thread / concurrent
  • Idempotent state store support
  • Run-level observer hooks and structured result output
  • Objective-C core and Swift native implementation in one repo

Repository Layout

  • TaskOrchestratorKit/ Objective-C implementation
  • TaskOrchestratorSwift/ Swift implementation (SPM + CocoaPods)
  • ExampleApp/ iOS demo app with Objective-C and Swift demo entries

Quick Start

Objective-C (CocoaPods)

Remote (GitHub):

pod 'TaskOrchestratorKit', :git => 'https://github.com/AikenCod/TaskOrchestratorKit.git', :branch => 'main'

Local development:

pod 'TaskOrchestratorKit', :path => '/path/to/TaskOrchestratorKit'

Swift (SPM)

.package(url: "https://github.com/<YOUR_ORG>/TaskOrchestratorKit.git", branch: "main")

Then import:

import TaskOrchestratorSwift

Swift (CocoaPods)

Remote (GitHub):

pod 'TaskOrchestratorSwift', :git => 'https://github.com/AikenCod/TaskOrchestratorKit.git', :branch => 'main'

Local development:

pod 'TaskOrchestratorSwift', :path => '/path/to/TaskOrchestratorKit'

Run Demo App

cd ExampleApp
pod install
open TaskOrchestratorExample.xcworkspace

In the app:

  • 运行正常依赖 runs Objective-C normal DAG flow
  • 运行循环依赖 runs Objective-C cycle detection flow
  • 运行 Swift Demo runs Swift flow through TaskOrchestratorSwift

Release

License

MIT. See LICENSE.

About

Deterministic task orchestration for app startup workflows, with both Objective-C and Swift implementations.一个面向 App 启动编排的任务调度框架,提供 Objective-C 与 Swift 两套实现。

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages