Skip to content

Instantly share code, notes, and snippets.

View Jamonek's full-sized avatar
🏗️
Building.. Exploring.. Dreaming..

Jamone Kelly Jamonek

🏗️
Building.. Exploring.. Dreaming..
View GitHub Profile
@Jamonek
Jamonek / MapVC.swift
Created March 24, 2015 01:56
Swift calling showRadiusKeyConstant before getCloseLocations()
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")
}
//
// Legend.swift
// VCN
//
// Created by Jamone Alexander Kelly on 3/3/15.
// Copyright (c) 2015 Veteran Care Network, LLC. All rights reserved.
//
import UIKit
//
// 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
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
let popoverViewController = segue.destinationViewController as UIViewController
popoverViewController.modalPresentationStyle = UIModalPresentationStyle.Popover
popoverViewController.popoverPresentationController!.delegate = self
}