awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
github avatar

github/swift-style-guideArchived

0
View on GitHub↗
4,762 نجوم·560 تفرعات·CC0-1.0·9 مشاهدات

Swift Style Guide

This project is a set of coding standards, architectural patterns, and type safety guidelines for writing Swift source code. It provides a framework for maintaining clean and maintainable code through established conventions and formatting rules.

The guide prioritizes composition over class inheritance by favoring value types and final classes. It establishes a policy for access control to manage boundaries between internal logic and external components through explicit visibility modifiers.

The standards cover type safety optimization through immutable bindings and safe optional handling. Additional areas include the use of early exit patterns to optimize logic flow, the reduction of syntax verbosity, and the application of uniform code formatting.

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.

سجل النجوم

مخطط تاريخ النجوم لـ github/swift-style-guideمخطط تاريخ النجوم لـ github/swift-style-guide

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Swift Style Guide

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Swift Style Guide.
  • johnsundell/swifttipsالصورة الرمزية لـ JohnSundell

    JohnSundell/SwiftTips

    4,014عرض على 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

    عرض على GitHub↗4,014
  • kodecocodes/swift-style-guideالصورة الرمزية لـ kodecocodes

    kodecocodes/swift-style-guide

    13,173عرض على 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

    عرض على GitHub↗13,173
  • raywenderlich/swift-style-guideالصورة الرمزية لـ raywenderlich

    raywenderlich/swift-style-guide

    13,173عرض على 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

    عرض على GitHub↗13,173
  • zakirullin/cognitive-loadالصورة الرمزية لـ zakirullin

    zakirullin/cognitive-load

    12,288عرض على 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

    عرض على GitHub↗12,288
عرض جميع البدائل الـ 30 لـ Swift Style Guide→

الأسئلة الشائعة

ما هي وظيفة github/swift-style-guide؟

This project is a set of coding standards, architectural patterns, and type safety guidelines for writing Swift source code. It provides a framework for maintaining clean and maintainable code through established conventions and formatting rules.

ما هي الميزات الرئيسية لـ github/swift-style-guide؟

الميزات الرئيسية لـ github/swift-style-guide هي: Swift Linting Standards, Immutable Variables, Type Safety, Swift Type Safety Patterns, Architectural Governance, Protocol-Oriented Design, Value Unwrapping, Layer Visibility Enforcement.

ما هي البدائل مفتوحة المصدر لـ github/swift-style-guide؟

تشمل البدائل مفتوحة المصدر لـ github/swift-style-guide: 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.