Johan Forsell · @joforselldev
204 followers · 514 posts · Server iosdev.space

Anyone know of any examples for making a custom data struct conform to Plottable?

#swiftui #swiftlang #iosdev

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1829 followers · 396 posts · Server iosdev.space

Unlocking Advanced Core Data Features in SwiftData by @fatbobman
iosdevweekly.com/issues/626#UC

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1828 followers · 395 posts · Server iosdev.space
iOS Dev Weekly · @iosdevweekly
1828 followers · 395 posts · Server iosdev.space

Thanks to this week’s sponsor, @revenuecat. Build, test, and optimize paywalls with ease using RevenueCat Paywalls. Customize native, remotely configurable paywall templates, then test and experiment to find what helps your app turn the most downloads into subscribers.
cur.at/dFS6eBJ

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1828 followers · 395 posts · Server iosdev.space

Did you miss Friday’s issue? I started with some words on whether the iPhone might get a completely different camera layout this year. 💡
iosdevweekly.com/issues/626#st

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1828 followers · 395 posts · Server iosdev.space

iOS Dev Weekly, Issue 626 is out. Happy Friday, everyone! 🚀
iosdevweekly.com/issues/626#st

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

Brennan Stehling · @brennansv
160 followers · 2513 posts · Server sfba.social

@twostraws We should also encourage our skilled colleagues to speak at local meetups which will prepare them to speak at bigger events. Last night we had our first Swift Language User Group/CocoaHeads meetup in 3 years. It will continue monthly and I hope our mix of local speakers are invited to Swift conferences next.

#slug #cocoaheads #swiftlang

Last updated 1 year ago

Brennan Stehling · @brennansv
159 followers · 2494 posts · Server sfba.social

@redalemeden It would be great to see on Mastodon. I see the Twitter link at the bottom of that page. @finestructure

#swiftlang

Last updated 1 year ago

Holly Borla · @holly
2987 followers · 62 posts · Server hachyderm.io

I am unreasonably excited about this pitch for generalized tuple conformances, built on top of parameter packs. Hashable tuples here we come!!!

forums.swift.org/t/pitch-user-

#swiftlang

Last updated 1 year ago

Brennan Stehling · @brennansv
159 followers · 2466 posts · Server sfba.social

@MartianCraft This is a good example for inline code. It works well with a protocol which can span multiple releases.

See the package linked below which supports using Reachability for older releases and Network for more current releases.

github.com/AsyncSwiftKits/Conn

This is the code which determines which one to create.

github.com/AsyncSwiftKits/Conn

#swiftlang

Last updated 1 year ago

Doug Gregor · @dgregor79
2542 followers · 448 posts · Server sfba.social

SE-0408 "Pack iteration" is under review now! This proposal makes it possible to use Swift's for..in loop with parameter packs in an obvious and powerful way. We'd love your input over at forums.swift.org/t/review-se-0

#swiftlang

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1818 followers · 391 posts · Server iosdev.space
iOS Dev Weekly · @iosdevweekly
1815 followers · 388 posts · Server iosdev.space
iOS Dev Weekly · @iosdevweekly
1815 followers · 387 posts · Server iosdev.space
Brennan Stehling · @brennansv
158 followers · 2442 posts · Server sfba.social

Get to your search results faster with a few useful bookmarklets. gist.github.com/brennanMKE/d5c

#swiftlang #apple

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1815 followers · 386 posts · Server iosdev.space
iOS Dev Weekly · @iosdevweekly
1815 followers · 385 posts · Server iosdev.space

Enabling drag reordering in SwiftUI lazy grids and stacks by @danielsaidi and @ramzesenok
iosdevweekly.com/issues/625#Xl

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

Joshua Nozzi · @joshua
266 followers · 5870 posts · Server nozzi.social

Made a gif out of my little profile quip.

#swift #swiftlang

Last updated 1 year ago

iOS Dev Weekly · @iosdevweekly
1814 followers · 384 posts · Server iosdev.space

Automated accessibility audits in Xcode 15 by Pol Piella
iosdevweekly.com/issues/625#Ap

#swift #swiftlang #iosdev #macdev

Last updated 1 year ago

Kaylee's Devlog · @kayleesdevlog
56 followers · 42 posts · Server mas.to

I find this pattern works really well when you need a task that only runs when a View is on screen and the app is in the foreground, for example to drive an animation.

When the task's `id` parameter changes, a new task will be created and the previous one will be canceled.

So if we choose `scenePhase` as an `id`, we’ll get a new task for every phase. All we need to do is terminate all of them except the `.active` ones.

#iosdev #swiftlang #swiftui

Last updated 1 year ago