Skip to content

Instantly share code, notes, and snippets.

@matt-lebl
matt-lebl / ViewController.swift
Created September 5, 2015 18:09
Some help for you, u/sziehr!
import UIKit
import Alamofire
import SwiftyJSON
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// We'll be using forecast.io, as I'm unfamiliar with Weather Underground.
@matt-lebl
matt-lebl / ViewController.swift
Last active August 29, 2015 14:27
Using Alamofire and SwiftyJSON to get data from an online source.
//
// ViewController.swift
//
// Created by Matt Lebl on 2015-08-09.
// Copyright (c) 2015 Matt Lebl. All rights reserved.
//
import UIKit
import Alamofire
import SwiftyJSON