awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
github avatar

github/swift-style-guideArchived

0
View on GitHub↗
4,762 estrellas·560 forks·CC0-1.0·9 vistas

Swift Style Guide

Este proyecto es un conjunto de estándares de codificación, patrones arquitectónicos y directrices de seguridad de tipos para escribir código fuente en Swift. Proporciona un framework para mantener un código limpio y mantenible a través de convenciones establecidas y reglas de formato.

La guía prioriza la composición sobre la herencia de clases, favoreciendo los tipos de valor y las clases finales. Establece una política de control de acceso para gestionar los límites entre la lógica interna y los componentes externos mediante modificadores de visibilidad explícitos.

Los estándares cubren la optimización de la seguridad de tipos mediante enlaces inmutables y manejo seguro de opcionales. Áreas adicionales incluyen el uso de patrones de salida temprana para optimizar el flujo lógico, la reducción de la verbosidad de la sintaxis y la aplicación de un formato de código uniforme.

Features

  • Swift Linting Standards - Establishes a comprehensive set of rule sets and standards to enforce consistent syntax and style in Swift.
  • Immutable Variables - Prioritizes the use of constants over variables to prevent accidental state mutation and improve thread safety.
  • Type Safety - Improves overall type safety by mandating constants and explicit optional handling.
  • Swift Type Safety Patterns - Provides guidelines for implementing immutable bindings and safe optional handling to prevent runtime crashes.
  • Architectural Governance - Provides a framework for enforcing project-wide architectural constraints and design goals within Swift projects.
  • Protocol-Oriented Design - Promotes protocol-oriented design and protocol composition to reduce coupling and complexity.
  • Value Unwrapping - Standardizes explicit unwrapping techniques for optional types to eliminate runtime crashes.
  • Layer Visibility Enforcement - Maintains strict boundaries between architectural layers through the application of visibility modifiers.
  • Composition Over Inheritance - Provides standards for favoring composition and protocol-oriented design over deep class inheritance hierarchies.
  • Swift Access Control Standards - Defines the application of explicit visibility modifiers to protect internal logic in Swift.
  • Swift Architectural Guidelines - Sets standards for prioritizing value types and composition over complex class inheritance hierarchies.
  • Value Type Prioritization - Favors structs and enums over classes to ensure predictable state and reduce memory overhead.
  • Explicit Modifier Requirements - Enforces explicit visibility modifiers on top-level definitions to protect internal implementation details.
  • Explicit Visibility Enforcement - Hides internal logic from external components by applying explicit access control specifiers.
  • Code Style Standardization - Provides guidelines for maintaining consistent whitespace, indentation, and visual structure across the codebase.
  • Access Control Policies - Defines policies for applying explicit visibility modifiers to isolate internal implementation details from public APIs.
  • Architectural Preference Standards - Provides architectural standards for choosing between value and reference types to simplify maintenance.
  • Code Readability Optimizations - Implements techniques to improve code readability through patterns like early exits and concise property declarations.
  • Early Return Patterns - Standardizes logic flows by using early returns to align the happy path and improve readability.
  • Early-Return Patterns - Implements early-return patterns using guard statements to reduce nesting and handle edge cases efficiently.
  • Swift API Design Guidelines - Offers design guidelines for creating robust and type-safe APIs in Swift.
  • General - Applies safety patterns including immutable bindings and safe optional handling to prevent crashes.
  • Mobile Development Guides - Swift coding conventions used at GitHub.
  • Programming Language Standards - Official Swift style and conventions.
  • Coding Standards - Swift coding style and habits guide.

Historial de estrellas

Gráfico del historial de estrellas de github/swift-style-guideGráfico del historial de estrellas de github/swift-style-guide

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Swift Style Guide

Proyectos open-source similares, clasificados según cuántas características comparten con Swift Style Guide.
  • johnsundell/swifttipsAvatar de JohnSundell

    JohnSundell/SwiftTips

    4,014Ver en GitHub↗

    SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s

    Ver en GitHub↗4,014
  • kodecocodes/swift-style-guideAvatar de kodecocodes

    kodecocodes/swift-style-guide

    13,173Ver en GitHub↗

    This project is a comprehensive set of standards for the Swift ecosystem, providing a code style guide, API design standards, and a memory management guide. It establishes standardized naming and formatting rules to ensure consistent and maintainable source code. The project includes a linting configuration used by automated tools to detect and enforce syntax patterns. These rules are designed to standardize code style and can be integrated into build phases to block commits with formatting errors. The guidelines cover a broad range of development capabilities, including the use of access mo

    Ver en GitHub↗13,173
  • raywenderlich/swift-style-guideAvatar de raywenderlich

    raywenderlich/swift-style-guide

    13,173Ver en GitHub↗

    This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across Swift projects. It provides a defined set of naming conventions and structural guidelines to maintain a shared style for teams. The repository centers on a SwiftLint configuration used to automate the detection and correction of style violations in source code. This configuration enables automated style enforcement, ensuring that code adheres to organizational standards without requiring manual review. The guidelines cover the standardization of code formatting, naming, and

    Ver en GitHub↗13,173
  • zakirullin/cognitive-loadAvatar de zakirullin

    zakirullin/cognitive-load

    12,288Ver en GitHub↗

    This project is a collection of software engineering principles and architectural design patterns designed to minimize the mental effort required to understand and maintain source code. It serves as a guide for implementing clean code methodologies and architectural simplification to reduce the overall cognitive load on developers. The framework emphasizes aligning module boundaries and ubiquitous language with business stakeholders to prevent architectural ripple effects. It advocates for balancing service granularity to avoid the overhead of distributed monoliths and suggests favoring objec

    Ver en GitHub↗12,288
Ver las 30 alternativas a Swift Style Guide→

Preguntas frecuentes

¿Qué hace github/swift-style-guide?

Este proyecto es un conjunto de estándares de codificación, patrones arquitectónicos y directrices de seguridad de tipos para escribir código fuente en Swift. Proporciona un framework para mantener un código limpio y mantenible a través de convenciones establecidas y reglas de formato.

¿Cuáles son las características principales de github/swift-style-guide?

Las características principales de github/swift-style-guide son: Swift Linting Standards, Immutable Variables, Type Safety, Swift Type Safety Patterns, Architectural Governance, Protocol-Oriented Design, Value Unwrapping, Layer Visibility Enforcement.

¿Qué alternativas de código abierto existen para github/swift-style-guide?

Las alternativas de código abierto para github/swift-style-guide incluyen: johnsundell/swifttips — SwiftTips is a curated collection of guides, libraries, and design patterns focused on Swift language mastery,… kodecocodes/swift-style-guide — This project is a comprehensive set of standards for the Swift ecosystem, providing a code style guide, API design… raywenderlich/swift-style-guide — This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across… zakirullin/cognitive-load — This project is a collection of software engineering principles and architectural design patterns designed to minimize… nytimes/objective-c-style-guide — This project provides a comprehensive set of standardized design patterns, naming conventions, and environment… github/objective-c-style-guide — **Archived** Style guide & coding conventions for Objective-C projects.