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

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 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 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

Experience as a framework for IOS

Here are some experiences for brothers who plan to write a framework to support IOS, so that you can take time to study. The solution I molded is as follows: The framework should be written in Objective-C: – The reason for choosing objective-C is because it has not changed anything anymore, running stably. Currently every … Read more