Skip to content

Instantly share code, notes, and snippets.

View dneykov's full-sized avatar

Daniel Neykov dneykov

  • Varna, Bulgaria
View GitHub Profile
@dneykov
dneykov / DropdownSelector.swift
Created September 18, 2022 15:15 — forked from emmanuelkehinde/DropdownSelector.swift
Reusable Dropdown selector using SwiftUI + Overlapping displaying using zIndex()
import SwiftUI
struct DropdownOption: Hashable {
let key: String
let value: String
public static func == (lhs: DropdownOption, rhs: DropdownOption) -> Bool {
return lhs.key == rhs.key
}
}