mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
20 lines
819 B
Markdown
20 lines
819 B
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to AI assistants when working with code in this repository.
|
|
|
|
## Build
|
|
The app is built using Bazel.
|
|
|
|
## Code Style Guidelines
|
|
- **Naming**: PascalCase for types, camelCase for variables/methods
|
|
- **Imports**: Group and sort imports at the top of files
|
|
- **Error Handling**: Properly handle errors with appropriate redaction of sensitive data
|
|
- **Formatting**: Use standard Swift/Objective-C formatting and spacing
|
|
- **Types**: Prefer strong typing and explicit type annotations where needed
|
|
- **Documentation**: Document public APIs with comments
|
|
|
|
## Project Structure
|
|
- Core launch and application extensions code is in `Telegram/` directory
|
|
- Most code is organized into libraries in `submodules/`
|
|
- External code is located in `third-party/`
|
|
- No tests are used at the moment |