Apple release the new iOS SDK every day, as the developer, we want to test our apps on those new SDK before they are officially released. For example, we want
If you are like me, the project is still using the pod to manage the libraries and frameworks. We need to clean the projects from time to time. The following
A nested class in Swift is a class that is defined within another class. Some key features:
* Nested class have access to local variables or constants of the outer class
In this article we will dig a bit more depth in some core concepts on 2 hours to master RxSwift - Part 1.
Section 1: Observable
Like mentioned in the
In the previous post: 2 hours to master RxSwift - Part 1 (needone.app) and 2 hours to master RxSwift - Part 2 (needone.app), we get to know
a simple introudction on rxswift, including what is rxswift, how to use it and a quick example (with swift code) on demo that.
In the Kotlin programming language, a singleton is a design pattern that allows you to create only one instance of a class. This is useful when you want to make
The keystore is a secure storage location in Android that is used to store encryption keys, digital certificates, and other sensitive information. The keystore is encrypted with a hardware-based key,
In Swift, a generic type is a placeholder for a specific type that is specified when the generic type is used. A generic type allows you to write
An indirect enum in Swift is an enum that can be used to define a recursive data structure. This means that one or more of its cases can refer to
UITraitCollection is a class in the UIKit framework that defines a set of interface traits that specify the environment in which your app is running. These traits include the device’
UIKit and SwiftUI are two different frameworks for building user interfaces on Apple platforms.
UIKit is the older of the two frameworks, and has been around since the early
With the last article (Certificate pinning and Public key pinning), we know the concept of Certificate pinning and Public key pinning, and how to implement them in iOS. This article
Certificate pinning and public key pinning are both techniques that are used to enhance the security of a network connection by ensuring that the client trusts only a specific certificate
In Android, we can get the image from synchronously and asynchronously, but it is more common to see in the later.
Download image synchronously
To download an image from a
Many of us have met the situation that we have an array/list of custom objects, and we want them can be sorted in a specific order. For example, we
In previous post, we have gone through most of the key concepts and methods in Coroutine:
Kotlin Coroutines Table Content
1, Introduction to Coroutine in Kotlin
2, Non-blocking in Kotlin
Recently I have done quite an amount of work on formatting currency in Swift project, here are some tricks on how to format number in Swift:
Format currency with auto