Forked from twostraws/TopSekritPokemonGoSourceCode.swift
Created
September 8, 2018 23:21
-
-
Save jufpintoca1/4883bcb5cad95aa4417165227b440926 to your computer and use it in GitHub Desktop.
Totally Top Sekrit Pokémon Go Source Code
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
// | |
// PokemonGoViewController.swift | |
// Totally Top Sekrit Pokémon Go Source Code | |
// | |
// Created by Niantic on 07/01/2016. | |
// Copyright © 2016 Niantic rights reserved. | |
// | |
import UIKit | |
class PokemonGoViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let label = UILabel() | |
label.translatesAutoresizingMaskIntoConstraints = false | |
view.addSubview(label) | |
label.centerXAnchor.constraintEqualToAnchor(view.centerXAnchor).active = true | |
label.centerYAnchor.constraintEqualToAnchor(view.centerYAnchor).active = true | |
label.text = "LOADING…" | |
UIApplication.sharedApplication().networkActivityIndicatorVisible = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment