shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

266
active users

#Codable

0 posts0 participants0 posts today
Dave DeLong<p>Today I am reminded, once again, that <a href="https://mastodon.social/tags/Codable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Codable</span></a> is a terrible <a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftLang</span></a> API that should be excised from the language with extreme prejudice.</p><p>It's a shame that Swift 6 is already "done”; it would've been the perfect time to do it.</p>
Eric Vitiello<p>Parsing JSON Data is a fundamental in modern SwiftUI apps. This comprehensive guide covers all the aspects of the Codable protocols in Swift.</p><p> <a href="https://social.pixels.pizza/tags/JSON" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSON</span></a> <a href="https://social.pixels.pizza/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://social.pixels.pizza/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://social.pixels.pizza/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://social.pixels.pizza/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://social.pixels.pizza/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://social.pixels.pizza/tags/visionOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visionOS</span></a> <a href="https://social.pixels.pizza/tags/Codable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Codable</span></a> <br><a href="https://matteomanferdini.com/swift-parse-json/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">matteomanferdini.com/swift-par</span><span class="invisible">se-json/</span></a></p>
carlyn<p>Continuing on with that WebExtension, but with a detour in custom Encoders</p><p><a href="https://www.whynotestflight.com/excuses/how-do-custom-encoders-work/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">whynotestflight.com/excuses/ho</span><span class="invisible">w-do-custom-encoders-work/</span></a></p><p>Found the best thing for it was copying and making crazy graphs of some existing encoders in the Apple/GitHub repos. Here's 4</p><p>I found the comparison between the two different JSONEncoder implementations particularly interesting. </p><p><a href="https://mastodon.social/tags/Codable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Codable</span></a>, <a href="https://mastodon.social/tags/Encoder" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Encoder</span></a>, <a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftLang</span></a>, <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSON</span></a>, <a href="https://mastodon.social/tags/JSONEncoder" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONEncoder</span></a>, <a href="https://mastodon.social/tags/URIEncoder" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>URIEncoder</span></a></p>
Uli Kusterer (Not a kitteh)<p>You know how conforming to Codable makes it so any UIView subclass has to implement codable (even if it just is to fatalError() because you only ever plan to create the view in code).</p><p>Is there a good <a href="https://chaos.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> design pattern for creating class hierarchies like that? Where the base class supports and implements a feature, but you don't want subclasses to be forced to provide it?</p><p><a href="https://chaos.social/tags/swiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftLang</span></a> <a href="https://chaos.social/tags/codable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codable</span></a> <a href="https://chaos.social/tags/designPatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>designPatterns</span></a> <a href="https://chaos.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>