{"id":15562927,"url":"https://github.com/matsoftware/matfm","last_synced_at":"2025-03-29T05:11:26.252Z","repository":{"id":90665711,"uuid":"98417009","full_name":"matsoftware/MatFM","owner":"matsoftware","description":"Test application for the LastFM API written in Swift for iOS.","archived":false,"fork":false,"pushed_at":"2017-09-13T17:40:59.000Z","size":5823,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T14:47:23.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/matsoftware.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":"2017-07-26T11:48:19.000Z","updated_at":"2018-09-17T16:40:54.000Z","dependencies_parsed_at":"2023-07-09T04:00:30.167Z","dependency_job_id":null,"html_url":"https://github.com/matsoftware/MatFM","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"6d1d4087a324688dcd6222193b05b2092943759d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsoftware%2FMatFM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsoftware%2FMatFM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsoftware%2FMatFM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsoftware%2FMatFM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsoftware","download_url":"https://codeload.github.com/matsoftware/MatFM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140588,"owners_count":20729802,"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":[],"created_at":"2024-10-02T16:16:47.880Z","updated_at":"2025-03-29T05:11:26.212Z","avatar_url":"https://github.com/matsoftware.png","language":"Objective-C","readme":"# MatFM\r\n\r\nTest application for the LastFM API.\r\n\r\n# Install notes\r\nThe project has been developed using Swift 3.1 on Xcode 8.3.3 and Carthage as dependency management framework. It runs on both iPhone and iPad.\r\n\r\n# Architecture\r\nThe project is built using a layered architecture where components on the lower levels have no knowledge of the ones on the upper level to avoid coupling. \r\nThe layers are identified with a specific class prefix and group in the Xcode project, and they can be easily moved to separate frameworks if the project grows up.\r\nStarting from the bottom, the layers are:\r\n- **Utility**: Foundation layer to put low level components (in this case, it contains a wrapper around DispatchQueue to improve the stability of tests)\r\n- **Networking**: The core networking layer of the app, containing the logic to perform URL request to retrieve data and parse JSON responses; depends on Utility\r\n- **MusicService**: It's the lowest business logic layer, containing the service responsible to provide the list of tracks using a query text; depends on Networking\r\n- **MusicLibrary**: UI module built with a simplified version of VIPER responsible of presenting the main functionalities of the app to the user; depends on MusicService\r\n\r\n# Third party libraries\r\nFor convenience and time constraints it has been made use of SDWebImage to fetch UIImages asynchronously and avoid the implementation of a tedious caching mechanism for thumbnails; same reasons stands for PKHUD library, while the choice of SwiftlyJSON comes from the necessity of a solid, handy and easy to use JSON parser in Swift (until Swift 4 becomes stable and it will be possible to make use of the Codable functionalities).\r\n\r\n# Known issues\r\n- the caching and timeout settings can be improved\r\n- the async image fetching from the ViewController might constitute a violation of the VIPER approach, but it provides the best trade-off in terms of code complexity and efficiency\r\n- finalize test coverage of the routing component\r\n- improve the look and feel :)\r\n\r\n----\r\nMattia Campolese - info@matsoftware.net - 26th of July 2017.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsoftware%2Fmatfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsoftware%2Fmatfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsoftware%2Fmatfm/lists"}