docs: 📝 Create basic readme

Create readme and add all assets
This commit is contained in:
Louis Gallet 2023-11-06 01:04:22 +01:00
parent 48d387185f
commit fa9b9da0d4
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY
12 changed files with 23 additions and 2 deletions

View File

@ -19,6 +19,9 @@ struct BinaryConverter: View {
Section(header: Text("Base 2")) {
Text("Your number in base 2: \(binaryNumber)")
}
Button("Dismiss Keyboard") {
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
}
}
.onChange(of: decimalNumber) { newValue in
binaryNumber = convertToBinary(newValue)

View File

@ -16,14 +16,19 @@ struct HexaConverter: View {
TextField("Enter the base 10 number here", text: $decimalNumber)
.keyboardType(.numberPad)
}
Section(header: Text("Base 2")) {
Section(header: Text("Base 16")) {
Text("Your number in base 16: \(HexadecimalNumber)")
}
Button("Dismiss Keyboard") {
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
}
}
.onChange(of: decimalNumber) { newValue in
HexadecimalNumber = convertToBinary(newValue)
HexadecimalNumber = convertToHex(newValue)
}
}
}
#Preview {

13
README.md Normal file
View File

@ -0,0 +1,13 @@
<p align="center">
<img src="./resources/logo/logo.png" height=auto width=50%/>
<h1><center>Binary Converter</center></h1>
</p>
A simple hex converter for converting decimal to binary/hexadecimal and other base
<div style="display: flex;">
<img src="./resources/store-image/6.7/en-1.png" style="width: 50%;"/>
<img src="./resources/store-image/6.7/en-2.png" style="width: 50%;"/>
</div>
## Download
https://apps.apple.com/fr/app/hexconverter/id6471345416

BIN
resources/logo/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB