This file contains 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
dispatch_async(dispatch_get_main_queue()) { | |
if((self.defaults.valueForKey(self.facilityBoolKeyConstant) as Bool) != false) { | |
self.getCloseLocations("fc") | |
} | |
if((self.defaults.valueForKey(self.medicareBoolKeyConstant) as Bool) != false) { | |
self.getCloseLocations("md") | |
} | |
if((self.defaults.valueForKey(self.vaHospitalBoolKeyConstant) as Bool) != false) { | |
self.getCloseLocations("vh") | |
} |
This file contains 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
// | |
// Legend.swift | |
// VCN | |
// | |
// Created by Jamone Alexander Kelly on 3/3/15. | |
// Copyright (c) 2015 Veteran Care Network, LLC. All rights reserved. | |
// | |
import UIKit |
This file contains 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
// | |
// LayersSubView.swift | |
// Veteran Care Network | |
// | |
// Created by Jamone Alexander Kelly on 3/4/15. | |
// Copyright (c) 2015 Veteran Care Network, LLC. All rights reserved. | |
// | |
import UIKit |
This file contains 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
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { | |
let popoverViewController = segue.destinationViewController as UIViewController | |
popoverViewController.modalPresentationStyle = UIModalPresentationStyle.Popover | |
popoverViewController.popoverPresentationController!.delegate = self | |
} | |
NewerOlder