ctietze, to random
@ctietze@mastodon.social avatar

It lives, and it works!

https://github.com/CleanCocoa/DeclarativeTextKit/blob/main/Tests/DeclarativeTextKitTests/UseCaseTests.swift

With this, I can now add wrappers to detect ranges in text buffers based on my AST/token tree information in the app and test-drive everything.

pixel, to programming
@pixel@social.pixels.pizza avatar

Parsing JSON Data is a fundamental in modern SwiftUI apps. This comprehensive guide covers all the aspects of the Codable protocols in Swift.

#JSON #Programming #Swift #SwiftUI #macOS #iOS #visionOS #Codable
https://matteomanferdini.com/swift-parse-json/

natpanferova, to swift
@natpanferova@mastodon.cloud avatar

Sorting data by multiple criteria can be complex, but Swift's built-in tuple comparison feature simplifies the process. Using tuple comparison, we can efficiently sort and organize data by various fields. Check out my new post to learn how: https://nilcoalescing.com/blog/MultiCriteriaDataSortingWithTuples

rox_lukas, to iOS
@rox_lukas@cmdr.social avatar

🇵🇱 #PRACA

Nasz klient poszukuje developera #iOS #Swift/#React Native

#pracazdalna #fullremote #widełki w treści oferty

Boosty mile widziane :-) Jeśli znasz kogoś o pasujących kompetencjach - możesz mu śmiało podesłać.

https://multizawodowi.pl/?p=jobs&s=view&offerID=3543

codedbydan, to stlouis
@codedbydan@mas.to avatar

Attention mobile developers in the Greater St. Louis area! LaunchCode is hosting a free watch event for WWDC. Please RSVP: https://www.eventbrite.com/e/wwdc-watch-event-tickets-905139044247?aff=oddtdtcreator&lang=en-us&locale=en_US&status=30&view=listing #STL #stlouis #events #swift #apple #wwdc

StewartLynch, to swift
@StewartLynch@iosdev.space avatar

Check out the talk I had to cancel at There might be a nugget here that would surprise you. Check out the links in the description to go directly to a specific or nugget

Deep Dish Swift Presentation
https://youtu.be/_XZHzl3R1Fo

phranck, to swift German
@phranck@chaos.social avatar

Does anyone know of a tool that analyses Xcode projects and then provides me with statistics on lines of code etc.? In any case, it should also take into account Swift packages used.

Any suggestions?

#Xcode #Swift #SwiftUI

davidbures, to swift
@davidbures@mstdn.social avatar

Thanks to @dimitribouniol and @glacials, we're much closer to the next Cork release! I was finally able to implement the first version of a self-compiled check, which was the only requirement left for the next release.

As promised, both Dimitri and Ben will be getting either a free Cork license or the cash equivalent, as well as a special shoutout in the contributors sections once the feature is fully implemented.

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

tootsdk, to swift
@tootsdk@iosdev.space avatar

A new release of TootSDK - 3.10.0 📣

https://github.com/TootSDK/TootSDK/releases/tag/3.10.0

What's changed:

  • Add report, signup and severed relationship notification types @luckkerr

Community contributions are greatly appreciated 🙌

#iOSDev #Swift #TootSDK #Fediverse

davidbures, to swift
@davidbures@mstdn.social avatar

Earlier today, I shared the first prototype of starting and stopping services in Cork.

I've made some adjustments to it, including polishing up the progress indicator, and I think it looks pretty alright.

What do you think?

(@troz here's that 2nd part 😉)

Video of new Homebrew service starting workflow

kern, to swift
@kern@iosdev.space avatar

Hello Fediverse!

I grew up programming in Applesoft Basic, and now I spend my days writing apps for Apple products.

I’m looking for my next role part-time or full-time. Please get in touch if you would like to work with me!

pixel, to swift
@pixel@social.pixels.pizza avatar

“To use for await item in streamOfItems {...}, you need an AsyncStream. It is very common that you already have an existing Combine publisher, and you want to use the nice Swift Concurrency syntax.”

#Swift #Asynchronous #Programming #macOS #iOS
https://samwize.com/2024/05/06/how-to-create-asyncstream-with-a-publisher/

niclake, to swift
@niclake@mastodon.social avatar

I wish I understood why #swift and #iOS development has such a strong pull on me. I'm many months removed from the last time I worked on stuff, but I think about diving back in to learning Swift at least once a day.

marcpalmer, to iOS
@marcpalmer@iosdev.space avatar

Any CoreImage gurus out there? Losing my mind 😭

  1. Load sRGB image with alpha (see bottom “shadow” image with rounded-corners in SwiftUI preview)
  2. Use CoreImage to composite over white
  3. Get smaller, more “pointy” version

Cause: auto-conversion from sRGB to linear sRGB inside CoreImage is not happening, but the nodes are in the tree. Changing CIContext workingColorSpace to NSNull or non-linear sRGB “fixes” it — but can’t be used for correct compositing results. 🤯?
#ios #swift #coreimage

Dreamwieber, to AppleVisionPro
@Dreamwieber@sigmoid.social avatar

Real world scans can add so much more depth to your immersive environments ✨

Here's my process for using photogrammetry in making Vibescape, my meditation app for #AppleVisionPro

#indiedev #buildinpublic #swift #swiftui #3d #houdini #XR #ar #vr #spatialcomputing #apple #makingof

https://www.youtube.com/watch?v=B_WUfL_-3yc

natpanferova, to swift
@natpanferova@mastodon.cloud avatar

Exciting news! I just released a new book called "Swift Gems" 📚✨

The book consists of a large collection of advanced Swift language techniques gathered and tested over the years, tailored for experienced developers.

Please, check it out: https://books.nilcoalescing.com/swift-gems

All the tips in the book are focused on Swift and Swift Standard Library, so they can be applied to any platform, from iOS and macOS to Swift on the server.

#Swift #SwiftLang #iOSDev

javier_salcedo, to rust
@javier_salcedo@mastodon.gamedev.place avatar

I’ve been using new shiny languages for a while now. , and in particular.
I love Rust’s tooling, Swift’s syntax, and Zig’s philosophy, but I feel like good old is still the goat.

Yeah, the syntax can get out of hand really quickly.
Yeah, the STL is bloated.
Yeah, the tooling ecosystem is a mess.

But at the end of the day, with a good style guide and some discipline, it can check most of my boxes.

But learning new languages is always fun so I’m still doing it 😬

jamesrandall, to swift
@jamesrandall@mastodon.social avatar

Voxel editor coming along nicely now. Video is taken on the Mac but it also works on the iPad.

I've spent surprisingly little time on this. 20 hours total tops. Its amazing what you can get done with good quality tools, consistency (I normally do an hour pre and post dog walk), and a good set of fundamentals (its really making use of things I've learned in the last year or so). #swift #swiftui #metal

https://youtu.be/R6htZe4Lmjc

br00t4c, to swift
@br00t4c@mastodon.social avatar
br00t4c, to swift
@br00t4c@mastodon.social avatar
kenji, to swift German
@kenji@chaos.social avatar

-Nutzer sollen ändern - Daten aus dem wurden eingesetzt, um Ticketverkäufe für -Konzert in Deutschland zu manipulieren:

"Wie die Ticket-Plattform Eventim mitteilt, hätten in den letzten Tagen unbekannte Kriminelle versucht, sich unautorisiert Zugang zu Konten von Nutzerinnen und Nutzer zu verschaffen, um in den Besitz von Karten für Swifts "The Eras Tour" zu gelangen - und diese dann weiterzuverkaufen."

https://www.n-tv.de/leute/Hacker-machen-Fans-von-Taylor-Swift-nervoes-article24924816.html

br00t4c, to swift
@br00t4c@mastodon.social avatar

Apology for disabled woman denied Swift tickets

#swift

https://www.bbc.com/news/articles/cd1v8rxr7exo

piotrekjeremicz, to swift
@piotrekjeremicz@mastodon.social avatar

Today is my 32nd birthday! 🥳🎂🎉

Exactly a year ago, on my previous birthday, I added a cake symbol to the app. Today it symbolizes the day of opening an account in BeforeDaily.

The funny thing is that the first commit that I found was made in July 2022. 😅

Stay up to date with #swift, #swiftui, #iOS and #macos with BeforeDaily!

jonduenas, to swift
@jonduenas@mastodon.world avatar

Alright, might be time to abstract in my app. Who has the best example? Should I use a ModelActor? Would a class holding a ModelContainer be sufficient if I create a new ModelContext inside the CRUD functions?

fbartho, to swift
@fbartho@mastodon.social avatar

I’m trying to make a #swift package that vends at least two libraries.

The package builds each library fine, and I had no problem importing the first library into my app, but when I try to import the second library, it tells me “Cannot find ‘Foo’ in package. Did you mean ‘Foo’”

I’ve been fighting this for a few days. Any advice or pointers to projects I can learn from? #SwiftPM

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • InstantRegret
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • rosin
  • khanakhh
  • GTA5RPClips
  • PowerRangers
  • anitta
  • thenastyranch
  • Durango
  • ethstaker
  • tester
  • vwfavf
  • mdbf
  • modclub
  • tacticalgear
  • cisconetworking
  • normalnudes
  • cubers
  • Leos
  • megavids
  • All magazines