{"id":21363941,"url":"https://github.com/sensehack/swift-sense","last_synced_at":"2025-03-16T07:13:46.664Z","repository":{"id":155828355,"uuid":"627949886","full_name":"SensehacK/swift-sense","owner":"SensehacK","description":"This package will help you eliminate boilerplate code and would add extension convenience to your project whenever needed.","archived":false,"fork":false,"pushed_at":"2023-05-10T16:50:54.000Z","size":823,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T19:38:32.350Z","etag":null,"topics":["async","extensions","swift","xcode"],"latest_commit_sha":null,"homepage":"https://sensehack.github.io/swift-sense/documentation/swift_sense","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SensehacK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-14T14:58:32.000Z","updated_at":"2023-04-18T17:48:03.000Z","dependencies_parsed_at":"2023-05-25T23:45:32.657Z","dependency_job_id":null,"html_url":"https://github.com/SensehacK/swift-sense","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SensehacK%2Fswift-sense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SensehacK%2Fswift-sense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SensehacK%2Fswift-sense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SensehacK%2Fswift-sense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SensehacK","download_url":"https://codeload.github.com/SensehacK/swift-sense/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243836029,"owners_count":20355616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","extensions","swift","xcode"],"created_at":"2024-11-22T06:22:30.247Z","updated_at":"2025-03-16T07:13:46.638Z","avatar_url":"https://github.com/SensehacK.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftSense\n\nThis package will help you eliminate boilerplate code and would add extension convenience to your project whenever needed.\n\n## Description\n\nAfter writing the same Network code in every project, I noticed that what if I can just freeze certain part of the code which I always rely on for basic tasks like making a network requests and parsing the data value into a `Result` type.  This gave me the inspiration to create this small package as a way to add dependency to any project which makes everyday task a little bit easier.\n\n\n\n\n\n\n## Features\n\n\n- Generic Network\n    This has been added so far in `Webservice.swift` which takes care of basic error handling and making network requests.\n\n- Swift Combine Network \n    This is available for iOS 13+ using Swift Combine framework option.\n    \n    \n\n\n## Planned Features\n\n- Image Network Async\n\n- Generic Network Async Await\n    Next focus\n\n- Apple Hero Button\n\n\n## Usage\n\nRespective functions of the singleton class has appropriate documentation with their code usage in `Developer Documentation`.\n\n\n## Add Package\n\n### SPM\n\nAdd this package to Xcode using Swift Package Manager (SPM).\n\nOpen existing Xcode project. Select `File` -\u003e `Add Package`.\nEnter this repository URL `https://github.com/SensehacK/swift-sense`\nSelect the latest build or select `Upto Major Version`. This repository would be supporting `semantic versioning`.\n\nAfter the package has been added. Import it in your file using \n`import swift_sense`\n\n\n## Update Package\n\n### SPM\nOpen existing Xcode project. Select `File` -\u003e `Packages` -\u003e `Update to latest Package versions`\nIt should check the default rules regaring package update rules and proceed with it appropriately.\n\n\n## DocC Generation\n\n```bash\nswift package --allow-writing-to-directory ./docs \\\n    generate-documentation --target SwiftSense \\\n    --disable-indexing \\\n    --transform-for-static-hosting \\\n    --hosting-base-path SwiftSense \\\n    --output-path ./docs\n\n```\n\n## Authored\n\n- [Kautilya Save](https://www.linkedin.com/in/kautilyasave/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensehack%2Fswift-sense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensehack%2Fswift-sense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensehack%2Fswift-sense/lists"}