natpanferova, to swift
@natpanferova@mastodon.cloud avatar

I just published a post on how to use convertFromSnakeCase strategy in JSONDecoder to automatically map JSON snake case keys to Swift camel case properties. This approach can keep our Swift code clean and consistent, simplifying model definitions: https://nilcoalescing.com/blog/AutoConvertJsonSnakeCaseToSwiftCamelCaseProperties/

#Swift #iOSDev

davidbures, to swift
@davidbures@mstdn.social avatar

I have a question for the Swift experts that know widgets:

Would this refresh the widget once a day? Please ignore any weird stylistic choices, I just wanted to quickly scrape something together and beautify it later once I know it actually works 😂

https://pastebin.ai/cmx0gbolvs

#swift #swiftui #iosdev

SvEzs, to swift
@SvEzs@mastodon.social avatar

I'm trying to embed a remote image into a string using TextKit2.

When downloading remote images, I want to display the SFSymbol images, and after the download is complete, display the retrieved images.

Is there any good sample?

#iOSDev #swift #SwiftUI

davidbures, to swift
@davidbures@mstdn.social avatar

Update on the Rizzference widgets:

I adjusted the design a little to make the text easier to see, as well as adding a larger size

It’s still awkward and painful to code the widgets 😅 Especially because the simulator lags my MacBook so bad it takes a second for any key to register, and autocompletion is a distant memory

#iosapp #iosdev #swift #swiftui #RizzferenceApp

davidbures, to swift
@davidbures@mstdn.social avatar

Today, I tried adding a basic widget to Rizzference and it works… fine, I guess? The experience of making the widget is horrible though

Rizzference widget

erinc, to python
@erinc@mastodon.social avatar

After an 8-year break from web development, I evaluated modern tech stacks to build my personal projects in 2024. This post chronicles my journey in selecting the perfect combination of backend, frontend, database, and hosting.

https://erinc.ca/tech-stack-2024

davidbures, to swift
@davidbures@mstdn.social avatar

Update on the categorized cached downloads (https://mstdn.social/@davidbures/112456702745516734):

Now, it also works when the name of the installed package is not exactly the same as the name of the cached download!

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

mackuba, to bluesky
@mackuba@martianbase.net avatar

I sometimes wonder how things would've looked on if the first beta had been ready just 6 months earlier, if all those people who left Twitter for Mastodon could have gone there…

I've just checked the hashtag feed for and apparently there were 19 posts in total… (and 9 of those from me) 😕

pshadov,
@pshadov@mas.to avatar

@mackuba but what about #swift :D

mackuba,
@mackuba@martianbase.net avatar

@pshadov … you know what… I haven't actually checked, because I assumed it would be just Taylor Swift, but there's actually quite a lot of relevant posts on #swift apparently 😄

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.


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

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.”


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 and 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. 🤯?

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.

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