Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Neykov dneykov

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