Swift: How to convert integer to a binary number?

We can convert a integer number to a binary number using radix method available in String.

Leave a Reply