vakhokontridze / vcomponents Goto Github PK
View Code? Open in Web Editor NEWVComponents is a SwiftUI collection that contains reusable UI components
License: MIT License
VComponents is a SwiftUI collection that contains reusable UI components
License: MIT License
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
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
}
}
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.