An action sheet is a component that displays a set of choices to the user in a modal format.
In iOS, you can create an action sheet using a
The defer keyword in Swift is used to execute a block of code at the end of the current scope, regardless of how the scope is exited. The defer block
Many of us have heard about the Command pattern or used them in the development, which is a behavioral design pattern in which an object is used to encapsulate all
What is XCTUnwrap and how to use it to help you effectively while you are doing the unit test?
XCTUnwrap is a utility function that is used in unit tests
A Property List (PLIST) file is a file format used by macOS and iOS to store serialized data. It is often used to store data such as user preferences, settings,
YAML (YAML Ain't Markup Language) is commonly used for configuration files, but can be used in many applications where data is being stored or transmitted.
A YAML file consists of
What is Property Wrapper
Property wrapper are a language feature that allows you to wrap a piece of code around a property in Swift world, which can help us to
To create a bottom sheet dialog in Kotlin, you can use the BottomSheetDialog class from the Android Support Library, which is a built-in package.
Here's an example of how you
Many of us have seen workspace, project, target and scheme quite often while doing the iOS development, but what are they exactly and how are they related with each other?
It is quite common that we are required to compare two custom objects in Swift, luckily Swift has provided some built-in protocol allows us to do this in a "swift"
As many of iOS developer known, layoutIfNeeded and setNeedsLayout are two methods that can be used to update the layout of a view and its subviews. But what are their
Dependency Injection is a design pattern that is providing another object with its dependencies, instead of having the object created or managed themselves. There are three main types of dependency
Type safety in programming languages refers to the concept that variables and data structures are strongly typed and cannot be assigned values of different types. This means that the
In Swift, it is quite common to see ContentHugging and ContentCompressionResistance either when we are using the storyboard or code to render the user interfaces in UIStackView. Those 2 properties
Kotlin provides a brand new keyword companion which not exists in other programming languages. But don't be panic, it is not something new when you have one step closer. A
Generally speaking, currently digital encryption methods can be divided into two main categories, symmetric encryption and asymmetric encryption.
For symmetric encryption, the same key is used for encryption and decryption.
Enumeration type is a common type in many programming languages, which normally presents a set of limited status for a program, such as list all the directions for a compass:
Extension is a great feature in Swift, which can help us to create helper/utility variables and method, and etc.
Use extension to conform protocols
It is quite common to