Bazel 4.1.0: Session 3 Building an iOS App

 Download source code:  cd into forder examples/tutorial and make file WORKSPACE by terminal:  Open WORKSPACE and type:    cd into ios-app and make BUILD file:  Open BUILD file and type:  On this file:         This script make 1 library objective-c with name UrlGetClasses, include files .m in forder UrlGet. header file in hdrs, data … Read more

Bazel 4.1.0: Session 1 – Installing Bazel 4.1.0 on macOS

Installing using the binary installer The binary installers are on Bazel’s GitHub releases page. The installer contains the Bazel binary.1 Some additional libraries must also be installed for Bazel to work. Step 1: Install Xcode command line tools If you don’t intend to use ios_* rules, it is sufficient to install the Xcode command line tools package by using xcode-select: … Read more

Protocol-oriented programming vs object-oriented in Swift: translating complicated world into simple code

Please see base link by Anna Widera. Protocol-oriented programming has been making strides in the Swift community in recent years. It is more of an extension rather replacement of the object-oriented paradigm – a prelude to evolution rather than a revolution. But it still provides tons of benefits for both developers and organizations. Find out … Read more

Telegram IOS Source Code Guide part 3: Platforms for in-app use

Let me recommend other platforms used in Telegram. English articles read here: https://hubo.dev/2020-05-15-source-code-walkthrough-of-telegram-ios-part-3/ Logging Logging is a recording of app activities. TelegramCore module provides simple logging solution: It supports logging into consoles and system files if log flags are enabled. A queue used to record non-main-thread. redactSensitiveData puts sensitive data in the message log or … Read more

Telegram IOS Source Code Guide part 3: Platforms for in-app use

Next lesson 2, today let me introduce other platforms used in Telegram. English articles read here: https://hubo.dev/2020-05-15-source-code-walkthrough-of-telegram-ios-part-3/ Logging Logging is a recording of app activities. TelegramCore module provides simple logging solution: It supports logging into consoles and system files if log flags are enabled. A queue used to record non-main-thread. redactSensitiveData puts sensitive data in … Read more

Telegram IOS Source Code Guide part 3: Platforms for in-app use

Let me recommend other platforms used in Telegram. English version read here: https://hubo.dev/2020-05-15-source-code-walkthrough-of-telegram-ios-part-3/ Logging Logging is a recording of app activities. TelegramCore module provides simple logging solution: It supports logging into consoles and system files if log flags are enabled. A queue used to record non-main-thread. redactSensitiveData puts sensitive data in the message log or … Read more

Telegram IOS Source Code Tutorial Part 2: What is SSignalKit?

Next article No. 1, in this article we will study SSignalKit. You can refer to the English version here: https://hubo.dev/2020-05-11-source-code-walkthrough-of-telegram-ios-part-2/ Telegram-iOS uses Reactive programing in most of their modules. The following are the 3 main frameworks that use rx in the project: MTSignal: Can be considered reactive programing for Objective-C. It mainly uses mtprotokitmodule, implement … Read more

Build swift package to call network in swift

Last week, we took a custom look at the keyboard library that displays pre-Vietnam currency suggestions. Today I will show you how to create a library to call the network as a restful API. The library is called Qnetwork. You can download it on github at the link: https://github.com/lexuanquynh/QNetwork What is this library for? First … Read more