GithubHelp home page GithubHelp logo

vakhokontridze / vcomponents Goto Github PK

View Code? Open in Web Editor NEW
637.0 9.0 31.0 12.04 MB

VComponents is a SwiftUI collection that contains reusable UI components

License: MIT License

Swift 100.00%
swift swiftui component components components-library framework ios uikit ui-components library

vcomponents's People

Contributors

vakhokontridze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vcomponents's Issues

Amazing components - TextView Input Field above the Keyboards?

Hi,

Thank you for this amazing implementation of the components, learning so much from it.

I am just woundering if we have a Form with a number of textfields and the last one is a TextView field is there a solution to make sure where any TextField or TextView field scrolls up to be above the keyboard whenever the user starts to ente text?

Thanks.

Wael

View extensions don't change colorscheme automatic

The vAlert and vToast don't respond to theme changes automatically they stay in light mode and won't change self
The colours are set in my Assets file

Example:

extension VAlertUIModel {
    
    public static var error: Self {
        var uiModel: Self = .init()
        
        uiModel.backgroundColor = Color("AlertBGColor", bundle: .none)
        uiModel.titleTextColor = Color("AlertTextColor", bundle: .none)
        uiModel.messageTextColor = Color("AlertTextColor", bundle: .none)
        
        return uiModel
    }
}

VTextField - onChange handler fired before value is committed

I have a VTextField with an onChange handler where the bound String variable is always one key stroke behind the actual string value. In UIKitTextFieldCoordinator.textFieldDidChange() there's code to commit the text change before the changeHandler is called. However, UIKitTextFieldRepresentable.commitText() is called asynchronously and is executed after the change handler is called.

This code is all running on the main thread so is there a reason to wrap the commitText string assignment in a DispatchQueue.main.async?

If it has to be assigned asynchronously, the changeHandler should be run as a completion handler in the async closure.

Test in terminal keeps failing

Keep getting this error after testing with the terminal

Command: xcodebuild -project test.xcodeproj -scheme test -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15 pro,OS=17.2' test | xcbeautify

Screenshot 2024-01-30 at 4 04 38 PM Screenshot 2024-01-30 at 4 10 11 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.