shackley / swift-blade Goto Github PK
View Code? Open in Web Editor NEWA macro powered dependency injection framework for Swift
Home Page: https://shackley.io/swift-blade/documentation/blade/
License: MIT License
A macro powered dependency injection framework for Swift
Home Page: https://shackley.io/swift-blade/documentation/blade/
License: MIT License
Hey there!
I’m having an issue where components with an initializer containing more than one parameter are being expanded without a separating comma.
I don’t think I’m doing anything stupid. Kinda wonder if it’s a bug in the swift-syntax package? I’m not very well aquatinted with Swift Macros yet but I had a quick look over there and I did spot this issue which may be related?
I am pretty new to swift but I am running into issues getting this building on linux.
It appears that OSAllocatedUnfairLock
from import os
is an Apple only API.
Is there another way to solve the problem Lazy
is doing without OSAllocatedUnfairLock
?
Some members of the Vapor discord had suggested using NIOLock
or NSLock
on Linux. There was some great conversation about the preformance differences between OSUnfairLock and these other solutions.
The converstation can be found starting from here:
https://discord.com/channels/431917998102675485/499822537027616768/1186767808193888368
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.