{"id":29547957,"url":"https://github.com/cythb/locationsearch","last_synced_at":"2026-03-09T12:04:33.653Z","repository":{"id":146727070,"uuid":"39994330","full_name":"cythb/LocationSearch","owner":"cythb","description":"模仿iOS自带日历程序中位置搜索界面和功能。可以很方便的集成。轻松得到用户搜索的位置信息。","archived":false,"fork":false,"pushed_at":"2015-08-12T02:55:36.000Z","size":381,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T22:17:13.350Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cythb.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}},"created_at":"2015-07-31T08:08:05.000Z","updated_at":"2018-04-22T01:20:50.000Z","dependencies_parsed_at":"2023-04-05T02:04:55.965Z","dependency_job_id":null,"html_url":"https://github.com/cythb/LocationSearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cythb/LocationSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cythb%2FLocationSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cythb%2FLocationSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cythb%2FLocationSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cythb%2FLocationSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cythb","download_url":"https://codeload.github.com/cythb/LocationSearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cythb%2FLocationSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30294713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07-17T20:43:34.352Z","updated_at":"2026-03-09T12:04:33.637Z","avatar_url":"https://github.com/cythb.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Demo Image](http://7xihd8.com1.z0.glb.clouddn.com/location_search.gif)\n\n# LocationSearch\n项目中需要用到一个位置搜索的功能。没有找到开源的项目就自己写了一个。\n模仿iOS自带日历程序中位置搜索界面和功能。可以很方便的集成。轻松得到用户搜索的位置信息。\n\n# 安装\n1. 将HGLocationSearch文件夹添加到你的项目中。\n2. 添加相关类库\n  1. MapKit.framework\n\n# 用法\n```objc\n- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {\n    HGLocationSearchViewController *vc = [(id)[segue.destinationViewController viewControllers] firstObject];\n    vc.delegate = self;\n}\n\n#pragma mark - Delegate\n#pragma mark HGLocationSearchViewControllerDelegate\n- (void)locationSearchViewControllerDidSelect:(id)sender name:(NSString *)name address:(NSString *)address {\n    self.nameLabel.text = name;\n    self.addressLabel.text = address;\n    \n    [self.presentedViewController dismissViewControllerAnimated:YES completion:^{\n    }];\n}\n```\n\n# TODO\n1. 最近搜索的纪录\n\n#License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcythb%2Flocationsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcythb%2Flocationsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcythb%2Flocationsearch/lists"}