Trending

#SwiftPackage

Latest posts tagged with #SwiftPackage on Bluesky

Latest Top
Trending

Posts tagged #SwiftPackage

๐ŸŒŸ Spotlight: @jeremicz.com

I really like the #SwiftPackage approach. It creates a clean and readable environment within larger workspaces. ๐Ÿ˜Š

The #Xcode Workspace works perfectly with folders, mak...

๐Ÿ‘‰ bsky.app/profile/jeremicz.com/pos...

#IndieSpotlight

0 0 0 0
Post image

I really like the #SwiftPackage approach. It creates a clean and readable environment within larger workspaces. ๐Ÿ˜Š

The #Xcode Workspace works perfectly with folders, making it easy to create new packages and manage their structures inside the IDE. ๐Ÿงฐ

#DevDiary #BuildInPublic

4 1 1 0
Post image

All Auth dependencies are registered in ๐Ÿ› ๏ธ Auth #Assembly. This is a core place of preparing the shareable logic and resolve it when it is needed.

Each #Module can have many assemblies to make clear division how the #SwiftPackage is built. ๐Ÿงฉ

#DevDiary #iOS #Architecture #Swift

0 0 1 0
Dark code editor showing a Swift file defining CommonModule class with assemblies: StoreAssembly(), AuthAssembly(), DeviceAssembly() and import Core.

Dark code editor showing a Swift file defining CommonModule class with assemblies: StoreAssembly(), AuthAssembly(), DeviceAssembly() and import Core.

In my experience, the fewer targets a #SwiftPackage has, the better. ๐Ÿš€

To facilitate function separation, I created Assembly - submodules that enable code separation within the module. ๐Ÿงฉ

Tomorrow, I will show you one of the assemblies. ๐Ÿ’ก

#BuildInPublic #DevDiary #Swift #SPM

3 0 0 0
Dark IDE sidebar showing a Swift Package structure: Core and Common folders, many Feature modules (Agencies, Dashboard, Fares, Feed, Launch, Map, Route, Stops, Timetables, Trips, User, Vehicles) and package dependencies.

Dark IDE sidebar showing a Swift Package structure: Core and Common folders, many Feature modules (Agencies, Dashboard, Fares, Feed, Launch, Map, Route, Stops, Timetables, Trips, User, Vehicles) and package dependencies.

Every #Module represents a target located in a #SwiftPackage. There are three types:

๐Ÿ—๏ธ Core: An architecture-only module that can be reused in any app.

๐Ÿ”„ Commons: Shareable modules providing global logic.

๐Ÿš€ Features: Modules that provide specific behavior.

#BuildInPublic

3 1 1 0
Preview
Improving Swift Package Scripts with GitHub Actions workflows I have improved my open-source project Swift Package Scripts which contains Swift Package-related scripts, by adding a couple of convenie...

โš™๏ธ ๐˜๐˜ฎ๐˜ฑ๐˜ณ๐˜ฐ๐˜ท๐˜ช๐˜ฏ๐˜จ ๐˜š๐˜ธ๐˜ช๐˜ง๐˜ต ๐˜—๐˜ข๐˜ค๐˜ฌ๐˜ข๐˜จ๐˜ฆ ๐˜š๐˜ค๐˜ณ๐˜ช๐˜ฑ๐˜ต๐˜ด ๐˜ž๐˜ช๐˜ต๐˜ฉ ๐˜Ž๐˜๐˜ต๐˜๐˜ถ๐˜ฃ ๐˜ˆ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ๐˜ด by Daniel Saidi (@danielsaidi.bsky.social)

Stop manually configuring ๐˜Ž๐˜๐˜›๐˜๐˜ถ๐˜ฃ ๐˜ˆ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ๐˜ด. Get ready-to-use workflows for building, testing, and docs.

#GitHub #Automation #SwiftPackage

danielsaidi.com/blog/2025/11...

3 1 0 0
Post image

So it begins... ๐ŸŒŸ

Until now, the package had #MainActor default isolation. This was intentional to gain a clear understanding of where the #Sendable declaration is necessary.

Now, it's time to make this package truly thread-safe! ๐Ÿš€

#BuildInPublic #SwiftPackage #concurrency

3 1 0 0
Post image

I've added more modifier variations!

You can now set string as body content, automatically setting the #ContentType to text/plain. Additionally, if you wish to #override all the headings saved in the configuration, you now have that opportunity! ๐Ÿ’ก

#BuildInPublic #SwiftPackage

3 1 0 0
Post image

It is so satisfying! ๐Ÿ˜Š

I have cleaned the code, and here is the final result. The custom #Request uses associated types for the #Response Body and Error types.

The code is clean and type-safe. Under the hood, it builds a complex URL Request. ๐Ÿ› ๏ธ

#BuildInPublic #SwiftPackage

3 1 0 0
Post image

Morning #debugging session. ๐ŸŒ…

I can't find a proper solution for sharing Configuration through the Request tree, so I started with a small case: the EmptyRequest with one modifier. ๐Ÿ’ป

Working on a #SwiftPackage is easier with a sample app that you can run to test your code. ๐Ÿ“ฆ

#BuildInPublic

2 1 0 0
Post image

This is how it looks. ๐Ÿง

The method modifier sets the appropriate method in the configuration. I'm uncertain if this is the final solution, as I have concerns about the store location and how to pass configuration through the tree. ๐Ÿค”

Brainstorm! โ›ˆ๏ธ
#SwiftPackage #BuildInPublic

3 1 1 0
Post image

Work, work... ๐Ÿ’ผ

I have developed basic modifiers to configure URLRequest in the future, along with basic request methods. ๐Ÿ› ๏ธ

Now, I need to determine how to build a configuration within the Request tree. ๐ŸŒณ

#BuildInPublic #SwiftPackage #SPM

3 1 0 0
Post image

Having Request Modifier marks the second step in my #SwiftyNetworking package refactor. ๐Ÿ”„

Unlike before, I now rely on modifiers. Previously, #SwiftPackage copied the Request, modified the configuration, and returned a new object.

Now, it's more aligned with #SwiftUI. ๐Ÿš€

#iOS

0 0 0 0
Post image

When designing a #SwiftPackage, I enjoy crafting code that predicts the eventual results of development. ๐Ÿ› ๏ธ

Here are three sample requests using the GET, POST, and DELETE methods. ๐Ÿ“ฅ

Each request method takes a path parameter and inherits from the Request protocol.

#BuildInPublic

2 1 0 0
Preview
#buildinpublic #ios #swift #sqlite | Antonio Guerra Building an SQLite ORM in Swift: day 2 Today I mainly focused on consolidating what I did yesterday and improving it. Here's what's new in brief: - I have increased the configuration possibil...

Building an SQLite ORM in Swift: day 2

#BuildInPublic #iOS #Swift #SQLite #SwiftPackage #Swift6 #SwiftTesting

www.linkedin.com/posts/antoni...

4 0 0 0

Bill Gates' first game was a lunar lander simulator. In honoring 50yrs of Microsoft I threw together a simple #SwiftPackage replicating it. Enjoy! github.com/dl-alexandre...

www.gatesnotes.com/meet-bill/so...

2 0 0 0

TIL you can load up your #SwiftPackage with warnings that wonโ€™t show up in projects using it.

0 0 0 0
Administrando recursos en Swift Playgrounds
Administrando recursos en Swift Playgrounds ยฟAlguna vez pensaste en cรณmo puedes tener los recursos (Assets) de Swift Playgrounds en tu iPad como lo haces en Xcode en tu Mac? Les voy a mostrar cรณmo pode...

Ever wondered how to handle images, colors, and even custom fonts in your #SwiftPlaygrounds projects right from your #iPad? Letโ€™s dive into this with the help of #Textastic and explore the structure of a #SwiftPackage project. ๐Ÿš€โœจ

youtu.be/q4C0GdtkNjo

0 0 0 0