{"id":18795092,"url":"https://github.com/daisuke-t-jp/beacondetectmanager","last_synced_at":"2025-12-30T01:30:13.903Z","repository":{"id":56903558,"uuid":"174140817","full_name":"daisuke-t-jp/BeaconDetectManager","owner":"daisuke-t-jp","description":"iBeacon detect manager framework in Swift.","archived":false,"fork":false,"pushed_at":"2019-04-26T08:14:35.000Z","size":275,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T14:48:31.740Z","etag":null,"topics":["bluetooth","corebluetooth","corelocation","ibeacon","ios","swift"],"latest_commit_sha":null,"homepage":"https://daisuke-t-jp.github.io/BeaconDetectManager/","language":"Swift","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/daisuke-t-jp.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}},"created_at":"2019-03-06T12:27:22.000Z","updated_at":"2021-07-06T12:31:55.000Z","dependencies_parsed_at":"2022-08-21T01:50:49.838Z","dependency_job_id":null,"html_url":"https://github.com/daisuke-t-jp/BeaconDetectManager","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daisuke-t-jp%2FBeaconDetectManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daisuke-t-jp%2FBeaconDetectManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daisuke-t-jp%2FBeaconDetectManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daisuke-t-jp%2FBeaconDetectManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daisuke-t-jp","download_url":"https://codeload.github.com/daisuke-t-jp/BeaconDetectManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239719548,"owners_count":19685961,"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":["bluetooth","corebluetooth","corelocation","ibeacon","ios","swift"],"created_at":"2024-11-07T21:32:33.160Z","updated_at":"2025-12-30T01:30:13.858Z","avatar_url":"https://github.com/daisuke-t-jp.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/daisuke-t-jp/BeaconDetectManager/master/images/header.png\" width=\"700\"\u003e\u003c/br\u003e\n------\n![Platform](https://img.shields.io/badge/Platform-iOS%20%7C%20macOS%20%7C%20tvOS-blue.svg)\n[![Language Swift%205.0](https://img.shields.io/badge/Language-Swift%205.0-orange.svg)](https://developer.apple.com/swift)\n[![Cocoapods](https://img.shields.io/cocoapods/v/BeaconDetectManager.svg)](https://cocoapods.org/pods/BeaconDetectManager)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-green.svg)](https://github.com/Carthage/Carthage)\n[![Build Status](https://travis-ci.org/daisuke-t-jp/BeaconDetectManager.svg?branch=master)](https://travis-ci.org/daisuke-t-jp/BeaconDetectManager)\n\n\n# Introduction\n\niBeacon detect manager framework in Swift.\n  \n[Documentation](https://daisuke-t-jp.github.io/BeaconDetectManager/)\n\n\n# Requirements\n- Platforms\n  - iOS 10.0+\n- Swift 5.0\n\n\n# Installation\n## Carthage\n`github \"daisuke-t-jp/BeaconDetectManager\"`\n\n## CocoaPods\n```\nuse_frameworks!\n\ntarget 'target' do\npod 'BeaconDetectManager'\nend\n```\n\n\n# Usage\n## Import Framework\n\n```swift\nimport BeaconDetectManager\n```\n\n## Using Delegate\n\n```swift\nclass ViewController: UIViewController, BeaconDetectManagerDelegate // \u003c- ! {\n  override func viewDidLoad() {\n    super.viewDidLoad()\n\n    BeaconDetectManager.sharedManager.delegate = self // \u003c- !\n```\n\n## Start Detecting\n\n### Start detect beacon with a proximityUUID. major and minor values will be wildcarded. \n```swift\nBeaconDetectManager.sharedManager.start(\"YOUR PROXIMITY UUID\",\n  eventOption: [.didEnterRegion, .didExitRegion, .didRangeBeacons])\n```    \n\n### Start detect beacon with a proximityUUID and major value. minor value will be wildcarded. \n```swift\nBeaconDetectManager.sharedManager.start(\"YOUR PROXIMITY UUID\",\n  eventOption: [.didEnterRegion, .didExitRegion, .didRangeBeacons],\n  majorMinorArray: [BeaconDetectManager.MajorMinor(major: 0xabcd)])\n```\n\n### Start detect beacon with a proximityUUID and major/minor values.\n```swift\nBeaconDetectManager.sharedManager.start(\"YOUR PROXIMITY UUID\",\n  eventOption: [.didEnterRegion, .didExitRegion, .didRangeBeacons],\n  majorMinorArray: [BeaconDetectManager.MajorMinor(major: 0xabcd, minor: 0x0001),\n    BeaconDetectManager.MajorMinor(major: 0xabcd, minor: 0x0010),\n    BeaconDetectManager.MajorMinor(major: 0xabcd, minor: 0x0100),\n    BeaconDetectManager.MajorMinor(major: 0xabcd, minor: 0x1000),\n    BeaconDetectManager.MajorMinor(major: 0xdcba, minor: 0x0001),\n    BeaconDetectManager.MajorMinor(major: 0xdcba, minor: 0x0010),\n    BeaconDetectManager.MajorMinor(major: 0xdcba, minor: 0x0100),\n    BeaconDetectManager.MajorMinor(major: 0xdcba, minor: 0x1000)])\n```\n\n## Implementation Delegate\n```swift\n// Delegate called when disabled location service.\nfunc beaconDetectManagerDidDisableLocationService(_ manager: BeaconDetectManager) {\n}\n\n// Delegate called when disabled bluetooth service.\nfunc beaconDetectManagerDidDisableBluetoothService(_ manager: BeaconDetectManager) {\n}\n\n// Delegate called when user entered the specified region.\nfunc beaconDetectManager(_ manager: BeaconDetectManager, didEnterRegion region: CLRegion) {\n}\n\n// Delegate called when user exited the specified region.\nfunc beaconDetectManager(_ manager: BeaconDetectManager, didEnterRegion region: CLRegion) {\n}\n\n// Delegate called when one or more beacons are in range.\nfunc beaconDetectManager(_ manager: BeaconDetectManager, didRangeBeacons beacons: [CLBeacon]) {\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaisuke-t-jp%2Fbeacondetectmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaisuke-t-jp%2Fbeacondetectmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaisuke-t-jp%2Fbeacondetectmanager/lists"}