{"id":18026939,"url":"https://github.com/tuyen-vuduc/mapbox-ios-binding","last_synced_at":"2025-04-04T19:48:25.873Z","repository":{"id":181403437,"uuid":"579638604","full_name":"tuyen-vuduc/mapbox-ios-binding","owner":"tuyen-vuduc","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-21T22:39:06.000Z","size":1501476,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T23:34:03.578Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuyen-vuduc.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-18T11:28:50.000Z","updated_at":"2024-06-20T11:30:24.943Z","dependencies_parsed_at":"2024-04-04T02:43:34.481Z","dependency_job_id":"06ea23cc-2b90-4ef8-b042-cfe90eb77d7e","html_url":"https://github.com/tuyen-vuduc/mapbox-ios-binding","commit_stats":null,"previous_names":["tuyen-vuduc/mapbox-ios-binding"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuyen-vuduc%2Fmapbox-ios-binding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuyen-vuduc%2Fmapbox-ios-binding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuyen-vuduc%2Fmapbox-ios-binding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuyen-vuduc%2Fmapbox-ios-binding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuyen-vuduc","download_url":"https://codeload.github.com/tuyen-vuduc/mapbox-ios-binding/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247240743,"owners_count":20906875,"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-30T08:08:31.811Z","updated_at":"2025-04-04T19:48:25.853Z","avatar_url":"https://github.com/tuyen-vuduc.png","language":"Objective-C","funding_links":["https://www.buymeacoffee.com/tuyen.vuduc"],"categories":[],"sub_categories":[],"readme":"# Mapbox for Xamarin.iOS\nA Xamarin.iOS binding library for [Mapbox](https://www.mapbox.com/ios-sdk/) library.\n\n## About\nThis project is maintained by [tuyen-vuduc](https://github.com/tuyen-vuduc).\u003cbr\u003e \nAt the momment, I don't have free time to contribute to the project, but if there is a paid request, I am happy to talk to.\n\n## Installation\n\n```\nInstall-Package MapboxMapObjC.iOS\n```\n\n## Usage\n\n- 1/ How to use: Please follow the official guide [here](https://www.mapbox.com/ios-sdk/).\n- 2/ Create `Mapbox.iOSQs.props` file from `Mapbox.iOSQs.props.template`\n```\n// It will look like this\n- Mapbox.iOSQS\n  |- Mapbox.iOSQs.csproj\n  |- Mapbox.iOSQs.props\n```\n- 3/ Replace `YOUR_MAPBOX_DOWNLOADS_TOKEN` with your real token from Mapbox\n```\n\u003cMAPBOX_DOWNLOADS_TOKEN\u003eYOUR_MAPBOX_DOWNLOADS_TOKEN\u003c/MAPBOX_DOWNLOADS_TOKEN\u003e\n```\n\n- 4/ Replace [your Mapbox access token](https://account.mapbox.com/) in `ViewController.cs`\n```\nvar myResourceOptions = new MBMResourceOptions(\n                \"YOUR_MAPBOX_TOKEN\", // TODO Put your token here\n                null, null, null, null);\n```\nor you can update `Info.plist` file\n```\n\u003ckey\u003eMBXAccessToken\u003c/key\u003e\n\u003cstring\u003eYOUR_MAPBOX_TOKEN\u003c/string\u003e\n```\n\n## How to upgrade\nIt takes time to do the binding library and/or upgrade it. Microsoft intends to make it a lot simpler in the future, but not now.\n\nHere are steps if you want to make changes and/or upgrade to the libraries\n\n- 1/ Download latest artifacts from Mapbox as per its installation guide\n- 2/ Run `chmod +x ./gen.sh`\n- 3/ Run `./gen.sh`\n- 4/ Compile and correct any errors shown up\n- 5/ Update `AssemblyInfo.cs` files with the right version number\n- 6/ Update `*.nuspec` files to have the right version number\n- 7/ Run `sh build.sh` to create nuget packages\n- 8/ Commit and create a PR\n\n## NOTES\n- Check symbols in the lib\n```\nnm -m 'artifacts/MapboxMaps.xcframework/ios-arm64/MapboxMaps.framework/MapboxMaps' | grep '_TtC10MapboxMaps22AnyTouchGestureHandler'\n```\n\n## IMPROTANT\nMapbox SDK for iOS now is written in Swift and not very compatible with Objective-C, hence it won't be that friendly when doing the binding.\nI have to create [an additional framework to make the bridge between Swift \u0026 C# in Objective-C](https://github.com/tuyen-vuduc/mapbox-ios-objective-c), it's really a time consuming task.\nIt'll require support from the developers like you in the community.\n\n## Further\nCheck out [the document site](https://mapbox.tuyen-vuduc.tech) for further details.\n\n## Maintainer\nThis project is maintained by [tuyen-vuduc](https://github.com/tuyen-vuduc) in his spare time and/or when requested.\u003cbr\u003e\n\nIf you find this project is helpful, please give it a star, become a sponsor of the project and/or buy him a coffee.\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/tuyen.vuduc)\n\n## License\n\nMapbox binding library for iOS itself is released under the 3-Clause BSD license.\nSee [LICENSE](./LICENSE) for details.\n\nThis license doesn't override and/or replace [the licence from Mapbox](./artifacts/LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuyen-vuduc%2Fmapbox-ios-binding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuyen-vuduc%2Fmapbox-ios-binding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuyen-vuduc%2Fmapbox-ios-binding/lists"}