Topic: "swift-macros"
swiftlang/swift-testing
A modern, expressive testing package for Swift
Language: Swift - Size: 4.96 MB - Last synced at: 10 days ago - Pushed at: 12 days ago - Stars: 2,075 - Forks: 129
SwiftyLab/MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
Language: Swift - Size: 83.4 MB - Last synced at: 9 days ago - Pushed at: about 1 month ago - Stars: 749 - Forks: 41
jaywcjlove/awesome-swift-macos-apps
A curated collection of open-source macOS applications built with Swift
Language: Swift - Size: 531 KB - Last synced at: 4 days ago - Pushed at: 7 days ago - Stars: 669 - Forks: 21
Matejkob/swift-spyable
Swift macro that simplifies and automates the process of creating spies for testing
Language: Swift - Size: 509 KB - Last synced at: 27 days ago - Pushed at: 5 months ago - Stars: 458 - Forks: 48
lukepistrol/SFSymbolsMacro
A Swift Macro for "type-safe" SF Symbols.
Language: Swift - Size: 30.3 KB - Last synced at: 23 days ago - Pushed at: 11 months ago - Stars: 202 - Forks: 4
ordo-one/equatable
A Swift package that provides macros for generating Equatable conformances for structs for high performance SwiftUI view diffing.
Language: Swift - Size: 99.6 KB - Last synced at: about 20 hours ago - Pushed at: 2 months ago - Stars: 201 - Forks: 11
gohanlon/swift-memberwise-init-macro
Swift Macro for enhanced automatic inits.
Language: Swift - Size: 246 KB - Last synced at: 2 months ago - Pushed at: 9 months ago - Stars: 158 - Forks: 19
fetch-rewards/swift-mocking
Swift macros for generating mocks.
Language: Swift - Size: 1.09 MB - Last synced at: about 2 months ago - Pushed at: 4 months ago - Stars: 88 - Forks: 3
neothXT/Snowdrop
Networking made easy
Language: Swift - Size: 501 KB - Last synced at: about 1 month ago - Pushed at: 10 months ago - Stars: 67 - Forks: 7
RandomHashTags/swift-htmlkit
Write HTML and HTMX using Swift Macros.
Language: Swift - Size: 2.07 MB - Last synced at: about 2 months ago - Pushed at: 4 months ago - Stars: 55 - Forks: 1
WendellXY/CodableKit
A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy integration of default values, reducing the amount of auxiliary code you need to write.
Language: Swift - Size: 328 KB - Last synced at: 23 days ago - Pushed at: about 2 months ago - Stars: 48 - Forks: 8
ikhvorost/ReactBridge
Swift Macros for React Native
Language: Swift - Size: 117 KB - Last synced at: about 1 month ago - Pushed at: 9 months ago - Stars: 47 - Forks: 6
fetch-rewards/SwiftSyntaxSugar
Helpful extensions for SwiftSyntax.
Language: Swift - Size: 177 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 38 - Forks: 1
bernndr/swift-macros
Collection of useful macros
Language: Swift - Size: 42 KB - Last synced at: 23 days ago - Pushed at: 2 months ago - Stars: 34 - Forks: 8
mentalflux/tca-composer
A swift macro framework for generating boiler-plate code in TCA-based applications.
Language: Swift - Size: 580 KB - Last synced at: about 2 months ago - Pushed at: about 1 year ago - Stars: 34 - Forks: 1
zijievv/CodingKeysGenerator
Swift macros generating customizable Coding Keys
Language: Swift - Size: 27.3 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 33 - Forks: 4
HuangRunHua/wwdc23-code-notes
Example Code of WWDC23
Language: Swift - Size: 20.1 MB - Last synced at: 7 months ago - Pushed at: about 2 years ago - Stars: 33 - Forks: 7
JosephDuffy/Renamed
Swift macro to add deprecated symbols, useful when renaming a symbol without introducing a breaking change.
Language: Swift - Size: 63.5 KB - Last synced at: 18 days ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 0
mrylmz/Prototype
Prototype is a Swift Macro project that generates SwiftUI Forms and Views for data structures and classes. It's designed to complement SwiftData Models seamlessly.
Language: Swift - Size: 75.2 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 28 - Forks: 4
artemnovichkov/awesome-swift-macros
A hand-curated list of Swift macros. Feel free to contribute!
Size: 7.81 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 28 - Forks: 1
fetch-rewards/swift-locking
Swift macros for protecting shared mutable state.
Language: Swift - Size: 114 KB - Last synced at: 10 days ago - Pushed at: about 1 month ago - Stars: 23 - Forks: 2
CaptureContext/swift-foundation-extensions
Standard extensions for Foundation framework
Language: Swift - Size: 80.1 KB - Last synced at: 7 days ago - Pushed at: almost 2 years ago - Stars: 19 - Forks: 0
EnesKaraosman/LoremSwiftify
LoremSwiftify is a Macro that creates lorem ipsum data for your models
Language: Swift - Size: 74.2 KB - Last synced at: about 1 month ago - Pushed at: 2 months ago - Stars: 18 - Forks: 0
FiveSheepCo/OrderedRelationship
A Swift macro taking away the pain in adding ordered relationships to SwiftData models
Language: Swift - Size: 15.6 KB - Last synced at: 4 months ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 2
dioKaratzas/fluent-dto-macro
A Swift macro that simplifies handling Vapor Fluent models in API responses by auto-generating type-safe content structures, reducing boilerplate while keeping a clean separation between database models and API layers. 🚀
Language: Swift - Size: 1.86 MB - Last synced at: about 2 months ago - Pushed at: 10 months ago - Stars: 17 - Forks: 0
23122K/swift-loggable
Set of macros that support type-wide and per-function logging with ability to customize how logs are handled
Language: Swift - Size: 852 KB - Last synced at: 23 days ago - Pushed at: 3 months ago - Stars: 15 - Forks: 2
JosephDuffy/DeepLink
Create type-safe deep links in to iOS apps, macOS apps, and websites using Swift macros.
Language: Swift - Size: 125 KB - Last synced at: 2 months ago - Pushed at: almost 2 years ago - Stars: 15 - Forks: 0
simonbs/ProxyMacro
Swift macro that proxies a value from one object to another.
Language: Swift - Size: 19.5 KB - Last synced at: 7 months ago - Pushed at: about 1 year ago - Stars: 13 - Forks: 3
RandomHashTags/destiny
Standalone, high-performance and lightweight HTTP Server utilizing Swift Macros.
Language: Swift - Size: 1.95 MB - Last synced at: 24 days ago - Pushed at: 24 days ago - Stars: 12 - Forks: 0
zijievv/sf-symbols-generator
A Swift macro generating type-safe SF Symbols
Language: Swift - Size: 38.1 KB - Last synced at: 8 months ago - Pushed at: about 1 year ago - Stars: 10 - Forks: 0
trinhngocthuyen/orcam
A Collection of Swift Macros
Language: Swift - Size: 44.9 KB - Last synced at: about 2 months ago - Pushed at: almost 2 years ago - Stars: 10 - Forks: 0
simonbs/SBSObservation
Tiny observation framework designed for UIKit-based apps and built with Swift macros. It automatically handles the deallocation of observations and supports iOS 12 and newer.
Language: Swift - Size: 122 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 7 - Forks: 0
Star-Lord-PHB/swift-codable-macro
Macros for automatically generating customizable conformance to `Codable` protocol.
Language: Swift - Size: 511 KB - Last synced at: 19 days ago - Pushed at: 6 months ago - Stars: 7 - Forks: 1
lucaswkuipers/SafeTypesMacros
Macros for compile-time SafeTypes initializers from literals
Language: Swift - Size: 79.1 KB - Last synced at: 2 months ago - Pushed at: almost 2 years ago - Stars: 7 - Forks: 0
JuniperPhoton/Photonfire
A library utilize Swift Macros to generate code for network request.
Language: Swift - Size: 23.4 KB - Last synced at: 8 months ago - Pushed at: over 2 years ago - Stars: 7 - Forks: 0
iAmMccc/McccMacros
McccMacros is a modular and extensible Swift macros library, providing powerful compile-time capabilities for Swift developers.McccMacros 是一个基于 Swift 宏系统的实用宏集合,旨在提高开发效率、简化样板代码。 项目通过多个宏实现案例,探索了 Swift 编译期元编程的强大能力,适合作为学习与生产的模板项目
Language: Swift - Size: 19.5 KB - Last synced at: 6 months ago - Pushed at: 7 months ago - Stars: 6 - Forks: 0
zijievv/user-defaults-observation
A Swift macro adding accessors to properties for reading/writing values in UserDefaults within Observable classes
Language: Swift - Size: 32.2 KB - Last synced at: 8 months ago - Pushed at: over 1 year ago - Stars: 6 - Forks: 1
darrarski/tca-frameworks
Experimental script for building binary XCFrameworks of Composable Architecture and its dependencies.
Language: Shell - Size: 7.81 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 6 - Forks: 0
CaptureContext/combine-interception
Package extending Apple' `Combine` framework for interception of objc selectors.
Language: Swift - Size: 45.9 KB - Last synced at: 23 days ago - Pushed at: almost 2 years ago - Stars: 6 - Forks: 0
Koshimizu-Takehito/ScreenMacros
Swift macro package for generating type-safe SwiftUI views from enums with automatic View protocol conformance and navigation helpers.
Language: Swift - Size: 104 KB - Last synced at: 7 days ago - Pushed at: 10 days ago - Stars: 5 - Forks: 0
yusufozgul/SwiftyJS
Interact with your JavaScript code like Swift with Swift Macro
Language: Swift - Size: 62.5 KB - Last synced at: 5 months ago - Pushed at: over 1 year ago - Stars: 5 - Forks: 0
josetorronteras/EmailValidationMacro
Swift macro framework for validating email addresses
Language: Swift - Size: 25.4 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 4 - Forks: 1
yukiny0811/MetalVertexHelper
Converts Swift structs into C-compatible tuples, including necessary padding for alignment.
Language: Swift - Size: 57.6 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 3 - Forks: 0
brunogama/SwinjectMacros
A Collection of macros to interact with Swinject
Language: Swift - Size: 10.5 MB - Last synced at: 23 days ago - Pushed at: 4 months ago - Stars: 3 - Forks: 0
yukiny0811/OpenAIStructure
Swift Macro for OpenAI API Structured Outputs.
Language: Swift - Size: 1.28 MB - Last synced at: 23 days ago - Pushed at: 7 months ago - Stars: 3 - Forks: 0
khlopko/swift-util-macros
A collection of macros to reduce boilerplate on common declarations.
Language: Swift - Size: 34.2 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 3 - Forks: 0
Plan-V-Studio/DocumentData
A data persistence library like SwiftData, and persist all the data into Property List Document.
Language: Swift - Size: 85 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 3 - Forks: 0
CaptureContext/swift-cocoa-extensions
Standard extensions for Cocoa
Language: Swift - Size: 86.9 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 3 - Forks: 0
CaptureContext/combine-extensions Fork of MakeupStudio/combine-extensions
Extensions for Apple Combine framework
Language: Swift - Size: 64.5 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 3 - Forks: 0
FiveSheepCo/PersistedStorage
A Swift Macro providing type-safe persisted iCloud-synced storage for Swift projects using `NSUbiquitousKeyValueStore` internally.
Language: Swift - Size: 8.79 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 3 - Forks: 0
alimyuz/TestCaseKit
Write Neat Test Cases in Swift
Language: Swift - Size: 26.4 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 2 - Forks: 0
RandomHashTags/slay
High-performance UI layout library using Swift Macros. Inspired by Clay and SwiftUI.
Language: Swift - Size: 113 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 1 - Forks: 0
NSFatalError/PrincipleMacros
Essential tools that simplify the implementation of custom Swift macros
Language: Swift - Size: 91.8 KB - Last synced at: 2 days ago - Pushed at: 9 days ago - Stars: 1 - Forks: 0
zijievv/hex-color
Swift macros for type-safe generation of Color, UIColor, and NSColor from hex string values.
Language: Swift - Size: 12.7 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0
i2h3/swift-issue-72307-example
Example code for Swift issue #72307 I filed.
Language: Swift - Size: 1.95 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0
CaptureContext/combine-cocoa Fork of MakeupStudio/combine-cocoa
Cocoa extensions for Apple Combine framework.
Language: Swift - Size: 69.3 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0
SwiftyLab/swift-syntax
Unofficial CocoaPods pod for the swift-syntax library.
Language: Ruby - Size: 12.7 KB - Last synced at: 4 months ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 2
NSFatalError/StorybookComposer
Automatically create a dedicated Storybook app from your SwiftUI components!
Language: Swift - Size: 5.04 MB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0
NSFatalError/StorybookComposer-Example
Automatically create a dedicated Storybook app from your SwiftUI components!
Language: Swift - Size: 11.7 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0
zijievv/swift-string-obfuscation
String literal obfuscation using Swift macros
Language: Swift - Size: 22.5 KB - Last synced at: 11 days ago - Pushed at: 13 days ago - Stars: 0 - Forks: 0
yeahitsjan/swiftbok
Swift, but why is it spicy 🌶️
Language: Swift - Size: 9.77 KB - Last synced at: 17 days ago - Pushed at: 17 days ago - Stars: 0 - Forks: 0
coenttb/swift-splat
Swift macro for generating convenience initializers by splatting nested struct properties.
Language: Swift - Size: 16.6 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0
chebupa/GetterSetterMacro
Getter & Setter macro for Swift. Inspired by project Lombok from Java.
Language: Swift - Size: 38.1 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0
opacicmarko/EnumReducerView
EnumReducerView is a Swift macro that generates a View declaration for a TCA enum Reducer.
Language: Swift - Size: 7.81 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0
lemo-nade-room/swift-static-env
Swift macros for compile-time environment variables (#getStaticEnv, #findStaticEnv). Inline values as literals; fail fast when missing.
Language: Swift - Size: 11.7 KB - Last synced at: about 2 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0
EyalKatz24/Localized
Manage your localizable string files easily with a simple Swift macro 😎
Language: Swift - Size: 26.4 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0
Aristide021/SwiftSyntaxBinaries
Automated builds of pre-compiled SwiftSyntax XCFrameworks (macOS universal) to speed up Swift Macro project builds via binary dependencies.
Language: Shell - Size: 17.6 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0
mikeyclarke/NoCoderInitMacro
A Swift Macro that adds an unimplemented init(coder:)
Language: Swift - Size: 3.91 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0
BrooklynSwift/HTMLCoreType
Swift Macro to wrap the minimum code needed to create existing HTML tags as Swift structs
Language: Swift - Size: 9.77 KB - Last synced at: 4 months ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0
Meppiee/FME-Macros-Editor
FME-Macros-Editor is a powerful tool for creating and managing custom macros in FME workspaces, enhancing workflow efficiency and automation. With a user-friendly interface and robust features, it simplifies the process of developing and deploying custom macros in FME.
Size: 44.9 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0
atifdev10/SQLiteValidator
A swift macro for validating an SQLite query.
Language: Swift - Size: 44.9 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0
FME-Macros-Editor/FME-Macros-Editor
Size: 43.9 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0
terukorolung/macros
Size: 21.5 KB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0
viktor-lepkovich/macros
Size: 27.3 KB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0
space-code/builder-macro
builder-macro is a macro that implements the Builder design pattern in Swift
Language: Swift - Size: 312 KB - Last synced at: about 2 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0
Wanaldino/MacrosDictionary
Language: Swift - Size: 0 Bytes - Last synced at: 12 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0
MrSmart00/PublicInitializeMacro
Super Simple Swift Macro Part 2 (Attached Macros)
Language: Swift - Size: 41 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0
CaptureContext/swift-interception
Package for interception of objc selectors in Swift.
Language: Swift - Size: 62.5 KB - Last synced at: 23 days ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0
MrSmart00/HelloWorldMacro
Super Simple Swift Macro
Language: Swift - Size: 25.4 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0
TheSwiftBird/BirdChat
Swift Macros Deep Dive demo project
Language: Swift - Size: 10.7 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0
Arestronaut/EnumComparable
EnumComparable is a swift macro that makes comparing enums with associated values potentially easier
Language: Swift - Size: 6.84 KB - Last synced at: over 1 year ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0
fwcd/swift-derive
Useful conformance extension macros for Swift
Language: Swift - Size: 19.5 KB - Last synced at: 8 months ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0
laosb/WithPreviewVariant
Create simple value types for SwiftData @Model to use with SwiftUI Previews.
Language: Swift - Size: 12.7 KB - Last synced at: about 2 months ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0