Getting Started
Engineering Knowledge Handbook
Learn Concepts. Understand Architecture. Build Better Software.
Learn software engineering through practical lessons in Swift/iOS, Android, mobile architecture, backend engineering, distributed systems, AI engineering, and secure agent orchestration. Choose a learning path, work through realistic code examples, and prepare for interviews with questions that link to the full explanations.
Toolchain baseline
Reviewed October 11, 2026 against Swift 6.4, Xcode 27, and the iOS 27 SDK. The app deployment target is separate from the SDK version: check availability before using APIs that require newer iOS versions. Beta-only APIs should be treated as beta until Apple marks them available in a release.
Visual key
🟪 Swift syntax · 🟦 Types and APIs · 🟩 Correct pattern · 🟥 Bug or invalid code · 🟨 Gotcha / availability · 🧠 Plain-language explanation
Code examples use language-specific syntax colors, line numbers, and copy controls for Swift, Kotlin, TypeScript, JavaScript, Python, JSON, YAML, Bash, and SQL. Swift syntax colors are Xcode-inspired.
For the self-contained offline edition, open Engineering Knowledge Handbook — Offline Edition. The legacy filename is intentionally retained for compatibility. Its dashboard groups the material into real domains, then the left navigator drills into topic groups and lessons. Selecting a topic opens it by itself while preserving every other article in the same file. The sticky breadcrumbs, active section map, previous/next links, and domain overview follow the current location. Search indexes headings and nearby explanation/code, and ⌘K / Ctrl+K opens the command palette.
The offline reader includes interview practice with answers initially concealed, Knowledge Recap, guided role paths, cross-topic links, optional focus and Recap Mode, bookmarks, and manually set study status. Topic, domain, search-result, and learning-path reading estimates are calculated from source content; practice time is shown separately. Estimates are not mastery time. The integrated Claude Architect Foundations center separates dated official facts from independent custom practice, saves results locally, and never predicts an official exam outcome. Recent visits, bookmarks, progress, focus and appearance preferences, and expanded folders are stored locally when the browser permits storage for file:// pages. Export/import makes study status and the latest practice result portable. The offline edition is self-contained, works without a server, and does not execute code examples.
Start at devopedia.dev to explore engineering domains, follow a learning path, or open an individual lesson. The website and offline edition share the same lessons. Study without an account, or use My Learning to sign in and sync your chapter progress across devices. For support or corrections, email support@devopedia.dev.
Readers with verified accounts can propose new content from Contribute in the website navigation. Proposals are reviewed before publication; approved changes become part of the shared lessons in both editions.
Planned product work
The handbook grows through reviewed lessons, practical examples, and reader suggestions. Use Contribute to suggest a missing topic or an improvement to an existing lesson.
Recommended reading order
- Architecture and SOLID and Modern iOS Codebase Blueprint - dependency direction, composition, feature boundaries, and testing seams
- Swift Types, Protocols, and Generics and Swift Keywords and Syntax Quick Reference - Swift type system and syntax
- Modern SwiftUI Engineering Reference and SwiftUI and Combine - state ownership,
@Binding, Observation, UIKit-era Combine, and view composition - Swift Concurrency 6.4 — Quick Reference and Concurrency and Memory - actors, task lifetime, GCD, Sendable, cancellation, and ARC
- Networking, Security, and Data - APIs, persistence, authentication, and TLS
- Mobile Tech Lead and Architecture - architecture patterns, mobile leadership, modularization, and platform strategy
- Backend Engineering and Distributed Systems - API, database, auth, and reliability fundamentals
- AI Engineering and Orchestration and AI Security and Agent Governance - production AI, agent design, and security
- Token Optimization and Context Engineering and AI Coding Tools and MCP - cost-aware context and coding-agent workflows
- AI Agents, Plugins, and Subagents, AI Model Selection and Benchmark Scores, AI Model Quantization Explained, and Build a Private Local AI Assistant - bounded delegation, dated comparisons, model memory, and local privacy design
- Build an AI Plugin, Define a Code Review Agent, and Connect Jira to AI Workflows Across the SDLC - plugin authoring, review contracts, and Jira Cloud workflow design
- Architecture Case Studies - six end-to-end system-design examples
- Claude Certification Preparation — Architect Foundations - verified, dated CCA Foundations facts and independent study routes
- Interview Paths: Mobile, Backend, and AI Systems, then Interview Paths: Senior, Lead, Staff, and Architect - quick role/difficulty routes to canonical answers
- Senior iOS Interview Knowledge Recap - short Swift/iOS interview hit points in the Knowledge Recap
- UIKit and Swift Fundamentals and Swift Code Quizzes: Choose the Valid Line and Find the Bug - UIKit foundations and compiler practice
- Original Thread Coverage - coverage map for the original conversations
To build the interface yourself, follow Build Your Own Local AI GUI with Qwen and Ollama. It explains the app, model, and runtime roles through Vyron's local setup, then walks through a small native macOS chat app.
Mobile questionnaires
Use the Swift and SwiftUI code questionnaire, Android code and architecture questionnaire, and Mobile Tech Lead questionnaire for deeper interview practice. Read the prompt and code first, explain the failure and your proposed repair aloud, then open the separate answer section. Topic and seniority labels are independent study guidance, not official interview grades.
The iOS questionnaire covers SwiftUI bindings and Observation, Combine publishers and @Published timing, subjects, subscription ownership, schedulers, publisher recovery, and Future/Deferred. Its async scenarios include sequential versus concurrent calls, task results, bounded task groups, refresh completion, publisher-to-async bridges, and actor update ordering, alongside the callback, memory, UIKit, and state-lifetime exercises. Every question has a short answer and a separate detailed explanation with copyable examples in Interview Practice.
The Android questionnaire extends that practical format to callback cleanup, Flow delivery, bounded concurrency, atomic DataStore updates, Room relations, deterministic coroutine tests, Compose effects and saved drafts, permissions, RecyclerView updates, and scroll/inset layout. Short answers and expandable worked examples come from the same canonical answer key.
The Mobile Tech Lead questionnaire covers code reviews, architecture, production incidents, delivery, and mentoring scenarios. Each question has a short teaching answer and a separate detailed explanation; the practice interface shows the question count for the available bank.
The deadlock answer catalog develops queue, lock, completion, and executor wait cycles with broken and corrected Swift examples. Compare Android liveness examples, Xcode wait diagnosis, and transaction deadlocks.
The worked ARC answer starts with what Automatic Reference Counting is and why Swift uses it, then follows object, closure, delegate, and task ownership through copyable examples and expected observations.
The worked frame/bounds answer explains coordinate spaces with numerical examples, common placement bugs, conversions, scrolling, transforms, Auto Layout, and the SwiftUI .frame distinction.
The worked mobile SOLID scenarios explain all five principles through real change requests, broken/improved Swift, observable behavior, and acceptance checks. The architecture overview links directly to each principle.
The public Interview Practice page and the offline Interview mode derive their questions and answers from the same Markdown lessons. Each revised question has one main focus and a deliberately written short answer that explains the idea in plain language. Optional follow-up questions are separate, and a detailed explanation preserves the reasoning, examples, and tradeoffs. Code appears in the prompt when reading code is part of the exercise; explanations may use code, commands, or configuration when useful. Examples are illustrative unless explicitly marked as validated. Answers stay concealed until revealed, and code remains copyable. Android has its own domain, and the banks are linked from Interview Preparation.
For development tools, use Xcode Debugging and Profiling and Android Studio Debugging and Profiling. Each includes a tool selector, practical investigation steps, CPU/GPU and memory terminology, compiler/build diagnostics, and questions with a separate answer key. In Interview Practice, choose a Domain and Topic, optionally refine Target seniority, and use More filters → Practice set to select a specific source.
Coding-agent usage questionnaires
Use the separate Codex Usage Questionnaire and Claude Code Usage Questionnaire to practice better prompts, context selection, repository guidance, skills, tool permissions, delegation, debugging, and verification. Each contains 48 independent scenarios and a separate answer key with copyable prompts, commands, configuration, or code examples. Start with each lesson's command and capability quick reference to distinguish slash commands, skills, plugins, and MCP tools; the command exercises explain what to type, what happens, and when to use it. Questions 33–40 cover creating custom skills and plugins with complete folder structures, example files, local testing, and team distribution. Questions 41–48 cover creating MCP servers and lifecycle hooks with complete server/configuration files, event handlers, usage examples, and troubleshooting. Product behavior is linked to dated official documentation; illustrative workflow contracts are labeled. Find each under its own topic group in AI Orchestration or Interview Preparation, or choose AI Coding Tools and then Codex or Claude Code in Interview Practice. Both banks support question-number selection, Previous/Next, and separate short and detailed answers.
Engineering Reference & Knowledge Recap Index
| Lesson | Focus |
|---|---|
| Architecture and SOLID | SOLID, architecture patterns, and the canonical dependency inversion/injection answer |
| SwiftUI and Combine | Combine, legacy ObservableObject, bindings, view composition |
| Concurrency and Memory | GCD, actors, Sendable, cancellation, ARC |
| Networking, Security, and Data | Networking, token refresh, TLS pinning, persistence |
| UIKit and Swift Fundamentals | UIKit layout and core Swift concepts |
| Senior iOS Interview Knowledge Recap | Senior iOS interview Knowledge Recap, protocol deep dive, and code exercises; role paths are in 14 |
| Original Thread Coverage | Original conversation coverage |
| Swift Types, Protocols, and Generics | Protocol abstraction and construction, let/var, iOS examples, generics, associated types, some/any |
| Swift Keywords and Syntax Quick Reference | Quick Reference: reserved/contextual keywords, modifiers, macros, syntax examples |
| Modern SwiftUI Engineering Reference | Engineering Reference: Observation, question-by-question @Binding guide, navigation, .task, SwiftData |
| Swift Concurrency 6.4 — Quick Reference | Quick Reference: Swift 6.4 concurrency and isolation patterns |
| Modern iOS Codebase Blueprint | Feature boundaries, networking, models, dependencies, testing |
| Swift Code Quizzes: Choose the Valid Line and Find the Bug | Fundamentals plus SwiftUI and UIKit state/lifetimes, races, actors, ARC, continuations, streams, retries, Combine, and code-review questions |
| Interview Paths: Senior, Lead, Staff, and Architect | Senior, Lead, Staff, Principal, and Architect questions mapped by difficulty to shared answers |
| Mobile System Design and Engineering Leadership | System design, scalability, reliability, CI/CD, decision-making, and team leadership answers |
| Mobile Tech Lead and Architecture | Tech Lead responsibilities, mobile architecture patterns, modularization, and cross-platform tradeoffs |
| Backend Engineering and Distributed Systems | Backend/API architecture, data, distributed reliability, and mobile authentication |
| AI Engineering and Orchestration | LLM applications, RAG, model routing, orchestration patterns, agents, and lifecycle |
| Token Optimization and Context Engineering | Token budgets, context design, repository-aware agents, cost estimates, and optimization |
| AI Security and Agent Governance | Prompt injection, trust boundaries, secure tools, agent permissions, and review checklist |
| AI Coding Tools and MCP | Claude Code, Codex, skills, tools, MCP, and secure coding workflow |
| Architecture Case Studies | Banking, enterprise mobile, AI chat, coding orchestrator, RAG, distributed backend |
| Interview Paths: Mobile, Backend, and AI Systems | Short hit points by role/difficulty, case-study routes, coding prompts and separate solutions |
| Claude Certification Preparation — Architect Foundations | Dated official CCA Foundations facts, weighted blueprint, 7/14/30-day routes, and independently labeled practice |
| AI Agents, Plugins, and Subagents | Agent/tool boundaries, plugin review, subagent contracts, and verification |
| AI Model Selection and Benchmark Scores | Dated benchmark scores, model-choice tradeoffs, and private evaluations |
| Build a Private Local AI Assistant | Local inference setup, scoped tools, plugins, design integration, and privacy validation |
| Build an AI Plugin: Skills, Tools, and MCP | Portable plugin package, skill instructions, typed MCP tools, authorization, and tests |
| Define a Code Review Agent That Engineers Trust | Review contracts, scoped repository rules, actionable findings, and evaluation |
| Connect Jira to AI Workflows Across the SDLC | Jira Cloud OAuth, verified events, issue-to-draft workflow, review gates, and privacy |
| Android Code and Architecture Questionnaire | Kotlin, coroutines, Flow, DataStore, Room, Compose, RecyclerView, permissions, lifecycle, and layout scenarios with worked answers |
| Mobile Tech Lead Questionnaire | 40 code-review, architecture, reliability, release, privacy, and leadership scenarios with worked answers |
| Xcode Debugging and Profiling Questionnaire | Navigators, compiler errors, LLDB, Instruments, CPU/GPU usage, memory, and debugging workflows |
| Android Studio Debugging and Profiling Questionnaire | Build diagnostics, Logcat, debugger, CPU/memory profiling, Perfetto, rendering/GPU tools, and practical workflows |
| Codex Usage Questionnaire | Slash commands, custom skills/plugins, MCP server and hook creation, folder structures, marketplaces, AGENTS.md, review, and verification |
| Claude Code Usage Questionnaire | Slash commands, custom skills/plugins, MCP servers, lifecycle hooks, complete folder structures, local tests, CLAUDE.md, and recovery |
| AI Model Quantization Explained: Bits, Memory, and Running Large Models | Ideal bit-width storage, real memory needs, GLM-5.3 and Qwen3.8 sizing, and local versus data-center inference |
| Build Your Own Local AI GUI with Qwen and Ollama | App/model/runtime roles, a native SwiftUI macOS chat app, local API requests, cancellation, errors, and privacy boundaries |
content-manifest.json | Logical concept-first sidebar structure and role/difficulty cross-references |
Five-day review plan
Day 1 - Swift language
- Read the type-system and keyword sheets.
- Explain
somevsany, generic parameters, associated types, and type aliases aloud. - Write a generic function with a protocol constraint and a
whereclause.
Day 2 - SwiftUI
- Review Observation,
@State,@Binding,@Bindable, environment injection, and typed navigation. - Build a small API-backed list with loading, error, empty, and loaded states.
- Review the legacy
ObservableObject/ Combine path for apps with older deployment targets.
Day 3 - Architecture and data
- Trace UI -> model -> repository -> API or persistence in the codebase blueprint.
- Explain DTO/domain separation and the reason a dependency is injected.
- Review storage choices, API errors, token handling, and TLS pinning.
Day 4 - Concurrency
- Explain actor isolation, actor reentrancy,
Sendable, cancellation, and task lifetime. - Trace a GCD wait cycle, explain the corrected dependency, and compare structured concurrency.
- Distinguish Swift 6.2+ isolation settings from the behavior of plain
async.
Day 5 - Mock interview
- Answer the questions in the Senior iOS Interview Knowledge Recap (Senior iOS Interview Knowledge Recap) aloud.
- Practice the protocol code-review prompts before revealing their separate answer section.
- Keep initial answers under two minutes.
- Add a concrete project example after the definition.
- State tradeoffs instead of presenting one design as universally correct.
Advanced track — Mobile leadership, backend, and AI
- Explain one architecture case study from Architecture Case Studies without reading the answer.
- Practice token budgeting, prompt-injection defense, and model routing using
19and20. - Answer a Tech Lead, Backend, and AI question from Interview Paths: Mobile, Backend, and AI Systems; use its linked concept source for follow-ups.
Claude Architect Foundations study route
Use the independent 7-, 14-, or 30-day plan in Claude Certification Preparation — Architect Foundations. Recheck the official Anthropic exam guide and certification FAQ before booking because access, pricing, policy, and blueprint can change.
Senior-level answer pattern
For most technical questions, use this order:
- Give the definition in one sentence.
- Explain ownership or responsibility.
- Give a small iOS example.
- Mention the main failure mode.
- Describe when you would choose an alternative.
Example:
An actor serializes access to its isolated mutable state. Calls from outside the actor normally cross an isolation boundary and therefore require await. I use actors for shared mutable services such as a token store or cache, but I do not make every model an actor because immutable value types are simpler and cheaper.