{"id":28559014,"url":"https://github.com/sdwebimage/sdwebimagemapkitplugin","last_synced_at":"2025-06-10T08:35:55.439Z","repository":{"id":136287404,"uuid":"243187870","full_name":"SDWebImage/SDWebImageMapKitPlugin","owner":"SDWebImage","description":"A SDWebImage plugin to support MapKit integration","archived":false,"fork":false,"pushed_at":"2020-02-26T11:29:24.000Z","size":602,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T02:33:43.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SDWebImage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-02-26T06:42:21.000Z","updated_at":"2020-02-26T11:29:27.000Z","dependencies_parsed_at":"2023-04-14T15:35:52.809Z","dependency_job_id":null,"html_url":"https://github.com/SDWebImage/SDWebImageMapKitPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2FSDWebImageMapKitPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2FSDWebImageMapKitPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2FSDWebImageMapKitPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2FSDWebImageMapKitPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SDWebImage","download_url":"https://codeload.github.com/SDWebImage/SDWebImageMapKitPlugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2FSDWebImageMapKitPlugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039508,"owners_count":22796848,"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-06-10T08:35:54.626Z","updated_at":"2025-06-10T08:35:55.354Z","avatar_url":"https://github.com/SDWebImage.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDWebImageMapKitPlugin\n\n[![CI Status](https://img.shields.io/travis/SDWebImage/SDWebImageMapKitPlugin.svg?style=flat)](https://travis-ci.org/SDWebImage/SDWebImageMapKitPlugin)\n[![Version](https://img.shields.io/cocoapods/v/SDWebImageMapKitPlugin.svg?style=flat)](https://cocoapods.org/pods/SDWebImageMapKitPlugin)\n[![License](https://img.shields.io/cocoapods/l/SDWebImageMapKitPlugin.svg?style=flat)](https://cocoapods.org/pods/SDWebImageMapKitPlugin)\n[![Platform](https://img.shields.io/cocoapods/p/SDWebImageMapKitPlugin.svg?style=flat)](https://cocoapods.org/pods/SDWebImageMapKitPlugin)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat)](https://github.com/SDWebImage/SDWebImageMapKitPlugin)\n[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg?style=flat)](https://swift.org/package-manager/)\n[![codecov](https://codecov.io/gh/SDWebImage/SDWebImageMapKitPlugin/branch/master/graph/badge.svg)](https://codecov.io/gh/SDWebImage/SDWebImageMapKitPlugin)\n\n## What's for\nSDWebImageMapKitPlugin is a plugin for [SDWebImage](https://github.com/rs/SDWebImage/) framework, which provide the [MapKit](https://developer.apple.com/documentation/mapkit) integration and category.\n\nSDWebImage previously have a subspec to hold these integration code, however, since this is not the core feature of SDWebImage, due to the project maintain issue, we move the MapKit integration into a standalone framework.\n\n## Requirements\n\n+ iOS 8+\n+ macOS 10.10+\n+ tvOS 9.2+\n+ Xcode 11+\n\n## Installation\n\n#### CocoaPods\n\nSDWebImageMapKitPlugin is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'SDWebImageMapKitPlugin'\n```\n\n#### Carthage\n\nSDWebImageMapKitPlugin is available through [Carthage](https://github.com/Carthage/Carthage).\n\n```\ngithub \"SDWebImage/SDWebImageMapKitPlugin\"\n```\n\n#### Swift Package Manager (Xcode 11+)\n\nSDWebImageMapKitPlugin is available through [Swift Package Manager](https://swift.org/package-manager).\n\n```swift\nlet package = Package(\n    dependencies: [\n        .package(url: \"https://github.com/SDWebImage/SDWebImageMapKitPlugin.git\", from: \"0.1\")\n    ]\n)\n```\n\n## Usage\n\n+ Objective-C\n\n```objective-c\nMKAnnotationView *annotationView;\nNSURL *imageURL;\n[annotationView sd_setImageWithURL:imageURL];\n```\n\n+ Swift\n\n```swift\nlet annotationView: MKAnnotationView\nlet imageURL: URL\nannotationView.sd_setImage(with: imageURL)\n```\n\n## Demo\n\nIf you have some issue about usage, SDWebImageMapKitPlugin provide a demo for iOS \u0026\u0026 macOS platform. To run the demo, clone the repo and run the following command.\n\n```bash\ncd Example/\npod install\nopen SDWebImageMapKitPlugin.xcworkspace\n```\n\nAfter the Xcode project was opened, click `Run` to build and run the demo.\n\n## Screenshot\n\n\u003cimg src=\"https://raw.githubusercontent.com/SDWebImage/SDWebImageMapKitPlugin/master/Example/Screenshot/MapKitDemo.png\" width=\"300\" /\u003e\n\nThe annotation pin icon is from [icons8.com](https://icons8.com/icon/19326/map-pin)\n\n## Author\n\nDreamPiggy\n\n## License\n\nSDWebImageMapKitPlugin is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdwebimage%2Fsdwebimagemapkitplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdwebimage%2Fsdwebimagemapkitplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdwebimage%2Fsdwebimagemapkitplugin/lists"}