mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
Add code readme
This commit is contained in:
parent
0bde0019f1
commit
0d4b8ee2c0
20
CLAUDE.md
Normal file
20
CLAUDE.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# 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
|
Loading…
x
Reference in New Issue
Block a user