Skip to content

alessandrodn/paw-macos-test-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

This is a demo macOS app with the following features:

  • Create data structure that will be used for JSON (sample is provided below);
  • Fill data structure with random data;
  • Send request POST to https://httpbin.org/anything;
  • Parse response and display JSON tree from data field;
  • Keep history of requests/responses and allow to switch between them;

Tech stack

  • Swift
  • AppKit (no SwiftUI)
  • No 3rd party libraries

TODO

General requirements

  • All non-UI operation must be executed on non-main thread;
  • Make nice UI;
  • Push your solution to a public github repo and provide setup instructions if any;

Sample JSON

Sample:

{
    "squadName": "Super hero squad",
    "homeTown": "Metro City",
    "formed": 2016,
    "active": true,
    "members": [
        {
            "name": "Molecule Man",
            "age": 29,
            "secretIdentity": "Dan Jukes",
            "powers": ["Radiation resistance", "Turning tiny", "Radiation blast"]
        },
        {
            "name": "Madame Uppercut",
            "age": 39,
            "secretIdentity": "Jane Wilson",
            "powers": ["Million tonne punch", "Damage resistance", "Superhuman reflexes"]
        },
        {
            "name": "Eternal Flame",
            "age": 1000000,
            "secretIdentity": "Unknown",
            "powers": ["Immortality", "Heat Immunity", "Inferno", "Teleportation", "Interdimensional travel"]
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%