flinedev / handyuikit Goto Github PK
View Code? Open in Web Editor NEWHandy UI features that should have been part of UIKit in the first place.
License: MIT License
Handy UI features that should have been part of UIKit in the first place.
License: MIT License
To be in-line with Swift naming conventions (as being the case with .sort()
and .sorted()
for collections), I'd propose to rename the UIColor change()
extension to changed()
. Adding a func change()
as an addition isn't possible due to the design of UIColor
.
"x^{2}" - works as expected but reversing it "^{2}x" would result in the whole string being superscripted. A work-around is adding a space in front of the string " ^{2}x" and the result is ok but needles to say it is a useless drag removing the space from a NSMutableAttributedString.
Thank you
Does the framework contain two similar schemes for iOS platform?
Here is a log from Carthage:
*** Building scheme "HandyUIKit iOS" in HandyUIKit.xcworkspace
*** Building scheme "HandyUIKit-iOS" in HandyUIKit.xcworkspace
Environment:
Description says it all, use Double.pi instead of deprecated M_PI to get rid of warnings.
I propose to add the following extension
to UIApplication
, taken from this article:
public extension UIApplication {
func clearLaunchScreenCache() {
do {
try FileManager.default.removeItem(atPath: NSHomeDirectory()+"/Library/SplashBoard")
} catch {
print("Failed to delete launch screen cache: \(error)")
}
}
}
While this extension is only appropriate in debug environments, I think it's still a good fit for HandyUIKit
...
Regarding the following code:
let newHueValue = UIColor.white.change(.hue, to: 0.25).hsba.hue
The expected new hue value would be 0.25, but it's actually 0.0. It seems not to work with UIColor.white
. This should be added to the tests and covered. Also other possible not-working options should checked like UIColor.black
.
This library already supports Accio but doesn't document it in the list of supported dependency managers.
Hi ,
We updated our xcode version to xcode 10. Its throwing an error in UIViewExtension file.
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.