devxoul/Then

✨ Super sweet syntactic sugar for Swift initializers

SwiftRubyswiftsyntactic-sugar
This is stars and forks stats for /devxoul/Then repository. As of 27 Apr, 2024 this repository has 4064 stars and 297 forks.

Then ✨ Super sweet syntactic sugar for Swift initializers. At a Glance Initialize UILabel then set its properties. let label = UILabel().then { $0.textAlignment = .center $0.textColor = .black $0.text = "Hello, World!" } This is equivalent to: let label: UILabel = { let label = UILabel() label.textAlignment = .center label.textColor = .black label.text = "Hello, World!" return label }() Tips and Tricks You can use then() to all of NSObject subclasses. let queue = OperationQueue().then...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
mapbox/mapbox-maps-iosSwiftShellOther34801310
clong/DetectionLabHTMLPowerShellShell4.3k09550
GoogleCloudPlatform/magic-modulesHTMLGoRuby695+51.2k+15
swisskyrepo/PayloadsAllTheThingsPythonRubyASP.NET51.4k013.3k0
instructure/canvas-lmsRubyJavaScriptTypeScript5k+102.3k+6
DatabaseCleaner/database_cleanerRubyGherkinShell2.9k04900
SwiftOldDriver/iOS-Weekly4.6k04360
redis/redisCTclPython61.8k023k0
easychen/pushdeerCGoKotlin4.1k04300
FundingCircle/fc4-frameworkClojureShellDockerfile129080