C Union equivalent in Swift
In C we can declare unions as follows: So the same storage is used for the int and uint....
In C we can declare unions as follows: So the same storage is used for the int and uint....
In this short article we explore when two array are equal in Swift. Let's start we the obvious cases: ...
In this short article we will run unit tests on a Playground. Lets create a Playground and add the code...
In this article we will explore what happens when we have different equatable methods for a type across packages and...
What is a Heap A Heap is a tree with the requirement that the value of a node must be...
Disjoint Set is an algorithm that can help us solve many graph problems. There are many variations/improvements on the base...
There are some times that we have to delete the derived data that Xcode produces.There are many ways to achieve...
Operators precedence matters when we have many operators in one expression. The operator with the highest precedence will be evaluated...
Bech32 is a checksummed base32 format. It is being used in cryptocurrencies development (bitcoin, cardano,...) https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki, https://cips.cardano.org/cips/cip19/. Let's explore the...
Blake2 is a cryptographic hash function. https://www.blake2.net/ Let's now explore how to implement this algorithm in Swift. The first option...
Passionate Blogger
Hello & welcome to my blog! My name is Mocha Rose and I'm a 20-year-old independent blogger with a passion for sharing about fashion and lifestyle.