Skip to content
    Back to all Bounties

    Earn 1,800 ($18.00)

    Time Remainingdue 1 year ago
    Open

    SwiftUI: Build a AutoCompleteTextView (Android) equivalent in swiftUI

    IdleIdle
    IdleIdle
    Posted 1 year ago

    Bounty Description

    Problem Description

    I currently have a form in iOS/swiftUI with a bunch of text fields

    They look like this

    TextField("Some input", text: $something).textFieldStyle(.roundedBorder)

    I want to be able to have a SwiftUI component that looks/can be styled just like a textField (just in case my designs change in the future). But as the user starts to type, there is a floating window with options that appears and the user typing will effectively filter that list. You can think of it as building a country picker (just text though, no images) of a CountryPickerTextField.

    Acceptance Criteria

    You should deliver the swiftUI struct that ends up looking like a textField but upon clicking on the field, some sort of popup/window/dropdown menu will appear and the user typing will filter that list down.

    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang