SwiftyJSON Tutorial – Cocoapod install

Learn how to use SwiftyJSON to work with JSON easily. We will be doing this in a Swift Xcode project.

We’ll be installing SwiftyJSON with the Cocoa Pod set up so if you missed the video on how to install and set up Cocoapods, check it out here:

We’ll also be building this demo off of our Alamofire project which we built in this video:

Related Links:

Xcode project, source code and video download:

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!


CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Objective-C, Xcode and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (






11 responses to “SwiftyJSON Tutorial – Cocoapod install”

  1. Nizzam Avatar

    How to call this JSON using SwiftyJson ?

    [ {
    "id": "1",
    "post_title": "Event_1",
    "post_content": "Taylor Swift",
    "start_date": "2016-11-23",
    "end_date": "2016-11-23",
    "post_date": "2016-11-18"
    }, {
    "id": "2",
    "post_title": "Event_2",
    "post_content": "Nickelback",
    "start_date": "2016-11-15",
    "end_date": "2016-11-16",
    "post_date": "2016-11-15"
    } ]

  2. mohammad faani Avatar

    what's the diff between String vs. StringValue & array vs. arrayValue?

    Is that the String is optional and StringValue is unwrapped? Same for arrayValue?

  3. Kaushik Loves Avatar

    Superb tutorial. Thanks!

  4. Stack Flow Avatar

    Thnx buddy, really good stuff. Excellent explanation! W8ing for your next awesome video

  5. Mowali Avatar

    very informative thank you. The only thing I don't like is the need now for me to go use xcworkspace instead of the xcodeproj. It changed so many nodes in my project structure that I wasn't prepared to see that much of change from adding 1 dll! I'm wondering if it will give me hard time next time I am ready to upload.
    What's your take on those concerns!?

  6. Jon Terje Aksland Avatar

    Great tip and tutorial! tnx

  7. HackAttack Avatar

    Chris back with another tutorial. Keep these up! I started app development with you my man

  8. Sense Luo Avatar

    Always love your tutorial, Happy New Year Chris !

  9. alexthomas90210 Avatar

    I really like these videos your doing on open source libraries , I prefer it a lot to longer themed videos that span over 5-10 parts on 1 particular project your building.

    With these shorter videos that focus on 1 open source library I can easily refer back to this video while working on my project if I need too, instead of knowing you went over something in a 10 part video series but not being sure exactly where to look so I'll just google for the answer I'm looking for.

Leave a Reply

Your email address will not be published. Required fields are marked *