Engineering Reference

Choose a software engineering learning path, study practical code examples, and prepare for interviews in mobile, backend, distributed systems, and AI.

~12 min reading~18 min practice estimate
Suggest content

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.

  1. Architecture and SOLID and Modern iOS Codebase Blueprint - dependency direction, composition, feature boundaries, and testing seams
  2. Swift Types, Protocols, and Generics and Swift Keywords and Syntax Quick Reference - Swift type system and syntax
  3. Modern SwiftUI Engineering Reference and SwiftUI and Combine - state ownership, @Binding, Observation, UIKit-era Combine, and view composition
  4. Swift Concurrency 6.4 — Quick Reference and Concurrency and Memory - actors, task lifetime, GCD, Sendable, cancellation, and ARC
  5. Networking, Security, and Data - APIs, persistence, authentication, and TLS
  6. Mobile Tech Lead and Architecture - architecture patterns, mobile leadership, modularization, and platform strategy
  7. Backend Engineering and Distributed Systems - API, database, auth, and reliability fundamentals
  8. AI Engineering and Orchestration and AI Security and Agent Governance - production AI, agent design, and security
  9. Token Optimization and Context Engineering and AI Coding Tools and MCP - cost-aware context and coding-agent workflows
  10. 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
  11. 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
  12. Architecture Case Studies - six end-to-end system-design examples
  13. Claude Certification Preparation — Architect Foundations - verified, dated CCA Foundations facts and independent study routes
  14. Interview Paths: Mobile, Backend, and AI Systems, then Interview Paths: Senior, Lead, Staff, and Architect - quick role/difficulty routes to canonical answers
  15. Senior iOS Interview Knowledge Recap - short Swift/iOS interview hit points in the Knowledge Recap
  16. UIKit and Swift Fundamentals and Swift Code Quizzes: Choose the Valid Line and Find the Bug - UIKit foundations and compiler practice
  17. 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

LessonFocus
Architecture and SOLIDSOLID, architecture patterns, and the canonical dependency inversion/injection answer
SwiftUI and CombineCombine, legacy ObservableObject, bindings, view composition
Concurrency and MemoryGCD, actors, Sendable, cancellation, ARC
Networking, Security, and DataNetworking, token refresh, TLS pinning, persistence
UIKit and Swift FundamentalsUIKit layout and core Swift concepts
Senior iOS Interview Knowledge RecapSenior iOS interview Knowledge Recap, protocol deep dive, and code exercises; role paths are in 14
Original Thread CoverageOriginal conversation coverage
Swift Types, Protocols, and GenericsProtocol abstraction and construction, let/var, iOS examples, generics, associated types, some/any
Swift Keywords and Syntax Quick ReferenceQuick Reference: reserved/contextual keywords, modifiers, macros, syntax examples
Modern SwiftUI Engineering ReferenceEngineering Reference: Observation, question-by-question @Binding guide, navigation, .task, SwiftData
Swift Concurrency 6.4 — Quick ReferenceQuick Reference: Swift 6.4 concurrency and isolation patterns
Modern iOS Codebase BlueprintFeature boundaries, networking, models, dependencies, testing
Swift Code Quizzes: Choose the Valid Line and Find the BugFundamentals plus SwiftUI and UIKit state/lifetimes, races, actors, ARC, continuations, streams, retries, Combine, and code-review questions
Interview Paths: Senior, Lead, Staff, and ArchitectSenior, Lead, Staff, Principal, and Architect questions mapped by difficulty to shared answers
Mobile System Design and Engineering LeadershipSystem design, scalability, reliability, CI/CD, decision-making, and team leadership answers
Mobile Tech Lead and ArchitectureTech Lead responsibilities, mobile architecture patterns, modularization, and cross-platform tradeoffs
Backend Engineering and Distributed SystemsBackend/API architecture, data, distributed reliability, and mobile authentication
AI Engineering and OrchestrationLLM applications, RAG, model routing, orchestration patterns, agents, and lifecycle
Token Optimization and Context EngineeringToken budgets, context design, repository-aware agents, cost estimates, and optimization
AI Security and Agent GovernancePrompt injection, trust boundaries, secure tools, agent permissions, and review checklist
AI Coding Tools and MCPClaude Code, Codex, skills, tools, MCP, and secure coding workflow
Architecture Case StudiesBanking, enterprise mobile, AI chat, coding orchestrator, RAG, distributed backend
Interview Paths: Mobile, Backend, and AI SystemsShort hit points by role/difficulty, case-study routes, coding prompts and separate solutions
Claude Certification Preparation — Architect FoundationsDated official CCA Foundations facts, weighted blueprint, 7/14/30-day routes, and independently labeled practice
AI Agents, Plugins, and SubagentsAgent/tool boundaries, plugin review, subagent contracts, and verification
AI Model Selection and Benchmark ScoresDated benchmark scores, model-choice tradeoffs, and private evaluations
Build a Private Local AI AssistantLocal inference setup, scoped tools, plugins, design integration, and privacy validation
Build an AI Plugin: Skills, Tools, and MCPPortable plugin package, skill instructions, typed MCP tools, authorization, and tests
Define a Code Review Agent That Engineers TrustReview contracts, scoped repository rules, actionable findings, and evaluation
Connect Jira to AI Workflows Across the SDLCJira Cloud OAuth, verified events, issue-to-draft workflow, review gates, and privacy
Android Code and Architecture QuestionnaireKotlin, coroutines, Flow, DataStore, Room, Compose, RecyclerView, permissions, lifecycle, and layout scenarios with worked answers
Mobile Tech Lead Questionnaire40 code-review, architecture, reliability, release, privacy, and leadership scenarios with worked answers
Xcode Debugging and Profiling QuestionnaireNavigators, compiler errors, LLDB, Instruments, CPU/GPU usage, memory, and debugging workflows
Android Studio Debugging and Profiling QuestionnaireBuild diagnostics, Logcat, debugger, CPU/memory profiling, Perfetto, rendering/GPU tools, and practical workflows
Codex Usage QuestionnaireSlash commands, custom skills/plugins, MCP server and hook creation, folder structures, marketplaces, AGENTS.md, review, and verification
Claude Code Usage QuestionnaireSlash 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 ModelsIdeal 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 OllamaApp/model/runtime roles, a native SwiftUI macOS chat app, local API requests, cancellation, errors, and privacy boundaries
content-manifest.jsonLogical 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 some vs any, generic parameters, associated types, and type aliases aloud.
  • Write a generic function with a protocol constraint and a where clause.

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

  1. Explain one architecture case study from Architecture Case Studies without reading the answer.
  2. Practice token budgeting, prompt-injection defense, and model routing using 19 and 20.
  3. 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:

  1. Give the definition in one sentence.
  2. Explain ownership or responsibility.
  3. Give a small iOS example.
  4. Mention the main failure mode.
  5. 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.