This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIViewController+ActivityIndicator.swift | |
// | |
// Created by Eduard Moya on 5/11/18. | |
// Copyright © 2018 Eduard Moya. All rights reserved. | |
// | |
import UIKit | |
fileprivate let overlayViewTag = 999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import MapKit | |
class LocationSearchTable: UITableViewController { | |
weak var handleMapSearchDelegate: HandleMapSearch? | |
var matchingItems: [MKMapItem] = [] | |
var mapView: MKMapView? | |
func parseAddress(selectedItem:MKPlacemark) -> String { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import CoreLocation | |
let beaconManagerDidEnterRegionsNotification = "beaconManagerDidEnterRegionsNotification" | |
let beaconManagerDidExitRegionsNotification = "beaconManagerDidExitRegionsNotification" | |
let beaconManagerUserInfoEnteredRegionsKey = "enteredRegions" | |
let beaconManagerUserInfoExitedRegionsKey = "exitedRegions" | |
class BeaconManager: NSObject, CLLocationManagerDelegate { | |
private var manager = CLLocationManager() |