Skip to content
Mental Break Town

Mental Break Town

Dent the Universe ✨

  • Photos
  • Songs
  • Quotes
  • Dev
  • Drawings
  • Browse
  • Subscribe

Tag: json

Software Dev

DefaultCodable

22 February 202019 February 2020 patmcgLeave a comment

Here’s a nice straightforward, useful library that simplifies a problem all of us Swift developers face all the time: defaulting values when parsing JSON files.

DefaultCodable is a Swift µpackage that provides a convenient way to define default values in Codable types for properties that are not present or have a nil value.

👉 DefaultCodable on GitHub

Software Dev

Swift JSON Parsing – The Weird Parts

26 December 201926 December 2019 patmcgLeave a comment

Okay, at this point parsing JSON with Swift is pretty basic. But this quick article steps through some of the weird scenarios you might face.

👉 Let’s parse the JSON like a Boss with Swift Codable protocol

Search

See Also

About | Instagram | GitHub
Round Trip Software | McG Kids

Most Liked

  • Super Summary: Think Like a Monk
  • Stay calm 🙏 and kick butt ⚔️
  • Keeping self-care in check
  • "I don't shine if you don't shine."
  • The good, the bad, and the AI

Most Viewed

  • "Ruins, for me, are the beginning. With the debris, you can construct new ideas."
  • "If A Man Lives A Pure Life, Nothing Can Destroy Him"
  • "Meaning is what's left when everything else is stripped away."
  • "When I choose to see the good side of things...It is strategic and necessary."
  • "...not to nurse memories, especially not of evils, but to overlook them."

Sections

Apps Austin Books creativity Drawings entertainment Fun games History King James Me Music Parenting Photos Practical Quotes Software Dev Songs Texas The World Travel You

Tags

architecture art Austin creativity dev Europe happiness History inspiration iOS Music nytimes open-source politics psychology quote show-your-work software-architecture software-design swift swimming Texas Travel ux xcode

History

    Website Powered by WordPress.com.
    • Subscribe Subscribed
      • Mental Break Town
      • Join 320 other subscribers
      • Already have a WordPress.com account? Log in now.
      • Mental Break Town
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar