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