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

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

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

IOS Programming: Implement MVVM for project swift(part 5): Create offline applications using realm database (next)

Hello! In the previous article, we have finished writing the base layer to handle the realm database. And today we will proceed to write services inherited from this class to use realm database flexibly. Our RealmGithubService class will have the following: Store results from the returned server, specifically the GithubSearchResponse model Because for each keyword … Read more