plansger.blogg.se

Telegram open source code
Telegram open source code






telegram open source code telegram open source code

You can find more details in the Makefile. The command buck project can generate the Xcode project files for engineers to develop in Xcode, and these files are explicitly ignored in Git.

telegram open source code

For a typical module, it simply has a BUCK file to describe the build rules in a dozen lines, a Sources folder for the code files, and an optional Resouces folder for images. It encourages small modules consisting of code and resources, which results in clean build config files and faster parallel build. It’s usually not a pleasant experience when there are merge conflicts inside Xcode files, and it’s challenging to spot issues during code review.īuck is a build system developed by Facebook. It would become difficult to maintain in the long run as the files are represented in XML and edited via Xcode UI instructions. xcworkspace, is good enough for smaller projects. For readers who are not familiar with the iOS build tools, the normal Xcode project file format, like. By looking into the App category, there are nearly 70% code in Swift and 24% in Objective-C/C++. Telegram-iOS is a mixed language project.

telegram open source code

  • 3rd-party, the other open-source projects it depends on.īelow is the LOC statistic of each category:.
  • TON, the experimental integration with the new blockchain platform.
  • VoIP, the feature of voice calls which was released at the end of March 2017.
  • App, modules that support the main app features, like foundation utils, UI, network, etc.
  • I roughly put these modules into five categories: Telegram-iOS organizes the source code by over 200 submodules with more than two million lines of code. The codebase shows its solutions to many practical engineering problems that other iOS engineers would encounter, such as reliable network, secure storage, reactive events, multimedia playback, interactive UX, complex list UI, customization/hacks to system controllers, etc. The process is an appreciated move that helps ease the criticism over its slow release habit in the past years.Īs iOS is my favorite platform, the first series of articles is all about Telegram-iOS. They also started a new process to allow others to verify the iOS and Android source code is the same version that’s used on AppStore and Google Play. Most Telegram client apps are open-sourced to prove its gene of security. It’s a great achievement considering its service is not available in some countries. As of April this year, its MAU has passed 400 million. Telegram is one of the most popular instant messengers in the market.








    Telegram open source code