Skip to content

This is not a blog. Itโ€™s more of a notebook. ๐Ÿคท๐Ÿปโ€โ™‚๏ธ Austin, Texas. ๐Ÿ“

  • The World
  • SW Dev
  • Austin
    • Texas
  • Photos
  • Songs
  • Quotes
  • You
  • Everything

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 โš”๏ธ
  • "I don't shine if you don't shine."
  • The Metropolitan Opera
  • Remember to wear sunscreen or a cowboy hat

Most Viewed

  • "When I choose to see the good side of things...It is strategic and necessary."
  • The Elm Architecture
  • "They can buy anything, but they can't buy backbone"
  • Townscaper City #2
  • "There is in the worst of fortune the best of chances for a happy change."

Sections

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

Tags

Austin debugging dev Europe happiness History inspiration iOS Music nytimes open-source pandemic politics productivity psychology quote self-improvement software-architecture software-design swift swimming Travel tutorial ux xcode

History

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • June 2017

    Website Powered by WordPress.com.
    • Follow Following
      • patmcg.com
      • Join 266 other followers
      • Already have a WordPress.com account? Log in now.
      • patmcg.com
      • Customize
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar