david-swift 04c77831b5
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Waiting to run
Remove Core library
2025-10-30 21:36:13 +01:00

22 lines
408 B
Swift

//
// Entry+.swift
// Adwaita
//
// Created by david-swift on 19.04.25.
//
extension Entry {
/// Initialize an entry.
/// - Parameters:
/// - placeholder: The placeholder text.
/// - text: The value.
public init(_ placeholder: String, text: Binding<String>) {
self.init()
self = self
.text(text)
.placeholderText(placeholder)
}
}