{"id":25457896,"url":"https://github.com/cuadros-code/project-14-swiftui-bucketlist","last_synced_at":"2025-11-02T13:30:26.214Z","repository":{"id":276689210,"uuid":"929535714","full_name":"cuadros-code/Project-14-SwiftUI-BucketList","owner":"cuadros-code","description":"Project 14 Bucket List ","archived":false,"fork":false,"pushed_at":"2025-02-09T21:12:37.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T21:29:29.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cuadros-code.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":"2025-02-08T19:16:06.000Z","updated_at":"2025-02-09T21:12:40.000Z","dependencies_parsed_at":"2025-02-09T21:29:37.854Z","dependency_job_id":"33a7fd47-daa5-44f5-8439-59be2789cacf","html_url":"https://github.com/cuadros-code/Project-14-SwiftUI-BucketList","commit_stats":null,"previous_names":["cuadros-code/project-14-swiftui-bucketlist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuadros-code%2FProject-14-SwiftUI-BucketList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuadros-code%2FProject-14-SwiftUI-BucketList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuadros-code%2FProject-14-SwiftUI-BucketList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuadros-code%2FProject-14-SwiftUI-BucketList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuadros-code","download_url":"https://codeload.github.com/cuadros-code/Project-14-SwiftUI-BucketList/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239394662,"owners_count":19631122,"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":"2025-02-18T02:19:28.101Z","updated_at":"2025-11-02T13:30:26.033Z","avatar_url":"https://github.com/cuadros-code.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Bucket List\n\n## Struct Comparable\n- Add protocol `Comparable`\n\n```swift\nstruct User: Identifiable, Comparable {\n    \n    let id = UUID()\n    var firstName: String\n    var lastName: String\n    \n    // Required when add Comparable protocol\n    static func \u003c (lhs: User, rhs: User) -\u003e Bool {\n        lhs.firstName \u003c rhs.firstName\n    }\n    \n}\n```\n\n- Use\n```swift\nlet users = [\n    User(firstName: \"Kevin\", lastName: \"Cuadros\"),\n    User(firstName: \"Andres\", lastName: \"Montes\"),\n    User(firstName: \"Camila\", lastName: \"Torrez\")\n].sorted()\n```\n\n## Map\n\n- Marker Types\n```swift\n    Marker(location.name, coordinate: location.coordinate)\n```\n\n```swift\n    Annotation(location.name, coordinate: location.coordinate) {\n        Text(location.name)\n            .font(.headline)\n            .padding()\n            .background(.blue.gradient)\n            .foregroundStyle(.white)\n            .clipShape(.capsule)\n    }\n    .annotationTitles(.hidden)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuadros-code%2Fproject-14-swiftui-bucketlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuadros-code%2Fproject-14-swiftui-bucketlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuadros-code%2Fproject-14-swiftui-bucketlist/lists"}