{"action":"created","issue":{"url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/45","repository_url":"https://api.github.com/repos/malcommac/SwiftLocation","labels_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/45/comments","events_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/45/events","html_url":"https://github.com/malcommac/SwiftLocation/issues/45","id":160267640,"number":45,"title":"Swift 2.3 Syntax issues","user":{"login":"otymartin","id":2222881,"avatar_url":"https://avatars.githubusercontent.com/u/2222881?v=3","gravatar_id":"","url":"https://api.github.com/users/otymartin","html_url":"https://github.com/otymartin","followers_url":"https://api.github.com/users/otymartin/followers","following_url":"https://api.github.com/users/otymartin/following{/other_user}","gists_url":"https://api.github.com/users/otymartin/gists{/gist_id}","starred_url":"https://api.github.com/users/otymartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otymartin/subscriptions","organizations_url":"https://api.github.com/users/otymartin/orgs","repos_url":"https://api.github.com/users/otymartin/repos","events_url":"https://api.github.com/users/otymartin/events{/privacy}","received_events_url":"https://api.github.com/users/otymartin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/malcommac/SwiftLocation/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-14T19:46:53Z","updated_at":"2016-08-15T18:17:20Z","closed_at":"2016-08-15T16:25:48Z","body":"```swift\r\nSwiftLocation/src/BeaconManager.swift:214:23: Binary operator '==' cannot be applied to operands of type 'CBManagerState' and 'CBPeripheralManagerState'\r\n```\r\n\r\n```swift\r\n@objc public func peripheralManagerDidUpdateState(peripheral: CBPeripheralManager) {\r\n\t\tif peripheral.state == CBPeripheralManagerState.PoweredOn {\r\n\t\t\tself.broadcastedBeacons.forEach({ beacon in\r\n\t\t\t\tperipheral.startAdvertising(beacon.dataToAdvertise())\r\n\t\t\t})\r\n\t\t} else {\r\n\t\t\tself.cleanUpAllAdvertisers()\r\n\t\t}\r\n\t}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/comments/239882363","html_url":"https://github.com/malcommac/SwiftLocation/issues/45#issuecomment-239882363","issue_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/45","id":239882363,"user":{"login":"malcommac","id":235645,"avatar_url":"https://avatars.githubusercontent.com/u/235645?v=3","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T18:17:20Z","updated_at":"2016-08-15T18:17:20Z","body":"Check out Swift 2.3 [branch here](<https://github.com/malcommac/SwiftLocation/tree/feature/swift2.3>)"}}
{"actor":{"display_login":"malcommac"}}