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
import UIKit | |
import CoreLocation | |
import GoogleMaps | |
class PlacesTableViewController: UITableViewController { | |
private var places: [Place]? | |
private let locationManager: CLLocationManager = CLLocationManager() | |
private var userLocation: CLLocation = CLLocation() | |
private let dateFormatter = NSDateFormatter() | |
private var placesClient: GMSPlacesClient! |
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
/* Note: This implementation is deprecated as of iOS 9. | |
There is a tutorial regarding the new Contact Framework that can be found here: | |
http://www.appcoda.com/ios-contacts-framework/ | |
*/ | |
import UIKit | |
import AddressBook | |
class ViewController: UIViewController { | |
// Reference to user's address book |
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
import UIKit | |
import Photos | |
import AssetsLibrary | |
class ViewController: UIViewController { | |
private var images : PHFetchResult! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
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
import UIKit | |
import MobileCoreServices | |
class ViewController: UIViewController { | |
@IBOutlet weak var imageView: UIImageView! | |
@IBOutlet weak var chooseButton: UIButton! | |
private var imagePicker = UIImagePickerController() | |
override func viewDidLoad() { |
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
/*! Socket.IO.js build:0.9.16, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */ | |
var io = ('undefined' === typeof module ? {} : module.exports); | |
(function() { | |
/** | |
* socket.io | |
* Copyright(c) 2011 LearnBoost <dev@learnboost.com> | |
* MIT Licensed | |
*/ |