Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. GitHub Objective-C Style Guide

GitHub Objective-C Style Guide

A comprehensive style guide and coding conventions for Objective-C projects, building upon Apple's Cocoa guidelines.

GitHubGitHub
1.7k stars241 forks0 contributors

What is GitHub Objective-C Style Guide?

GitHub's Objective-C Style Guide is a set of coding conventions and best practices for Objective-C projects. It builds upon Apple's Cocoa guidelines to provide additional rules for whitespace, documentation, declarations, expressions, and control structures. The guide aims to standardize code style across teams and improve readability and maintainability.

Target Audience

Objective-C developers working on iOS or macOS projects, particularly teams seeking consistent coding standards. It's also useful for individual developers looking to adopt industry-aligned conventions.

Value Proposition

It offers a well-structured, community-vetted extension to Apple's official guidelines, reducing ambiguity in style decisions. Developers choose it to enforce consistency, avoid common pitfalls, and align with patterns used by major open-source projects.

Overview

Archived Style guide & coding conventions for Objective-C projects

Use Cases

Best For

  • Teams adopting a unified Objective-C coding standard
  • Enforcing consistent code style in legacy Objective-C projects
  • Learning modern Objective-C best practices beyond Apple's documentation
  • Code reviews focused on style and convention adherence
  • Open-source Objective-C projects seeking contributor guidelines
  • Integrating style checks into CI/CD pipelines for Objective-C

Not Ideal For

  • Teams transitioning to Swift or maintaining mixed-language projects where Swift style guides are prioritized
  • Developers using automated code formatters like ClangFormat that enforce style without manual guidelines
  • Projects requiring up-to-date conventions for modern Objective-C features, as the repository is inactive
  • Organizations that prefer spaces over tabs, since this guide mandates tab usage

Pros & Cons

Pros

Detailed Whitespace Conventions

Specifies tab usage, newline endings, and vertical spacing to logically organize code, reducing formatting ambiguity and improving readability.

Comprehensive Documentation Standards

Enforces Tomdoc-style comments and 80-character hard-wrapping, ensuring consistent and clear documentation across the codebase.

Modern Expression Practices

Recommends object literals and dot-syntax for idempotent methods, aligning with contemporary Objective-C best practices for cleaner code.

Clear Error Handling Guidance

Advises against exceptions for flow control and promotes NSError or ReactiveCocoa signals, enhancing code reliability and maintainability.

Cons

Outdated and Inactive

The README states the repository is no longer active, meaning it may not reflect current Objective-C developments or community standards, limiting its relevance.

Rigid Formatting Rules

Mandates specific conventions like tabs over spaces and strict curly brace placement, which can conflict with other team preferences or automated tools.

Manual Enforcement Overhead

Requires manual adherence or custom tooling for compliance, unlike integrated formatters, increasing maintenance effort for teams.

Frequently Asked Questions

Quick Stats

Stars1,663
Forks241
Contributors0
Open Issues0
Last commit8 years ago
CreatedSince 2012

Tags

#macos-development#coding-conventions#objective-c#code-quality#best-practices#cocoa#ios-development#style-guide

Included in

iOS51.7k
Auto-fetched 15 hours ago

Related Projects

Swift Style Guide by @raywenderlichSwift Style Guide by @raywenderlich

The official Swift style guide for Kodeco.

Stars13,164
Forks2,102
Last commit1 year ago
Futurice iOS Good PracticesFuturice iOS Good Practices

Good ideas for iOS development, by Futurice developers.

Stars10,976
Forks1,225
Last commit2 years ago
NY Times - Objective C Style GuideNY Times - Objective C Style Guide

The Objective-C Style Guide used by The New York Times

Stars5,821
Forks1,236
Last commit3 years ago
GitHub - Style guide & coding conventions for Swift projectsGitHub - Style guide & coding conventions for Swift projects

**Archived** Style guide & coding conventions for Swift projects

Stars4,758
Forks560
Last commit8 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub