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
// | |
// StatsTableViewController.swift | |
// | |
// Created by Shahn Auronas on 12/16/16. | |
// Copyright © 2016 Shahn Auronas. All rights reserved. | |
// | |
import Foundation | |
import UIKit | |
import ASPCircleChart |
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
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | |
[[tableView cellForRowAtIndexPath:indexPath] setSelected:YES]; | |
if (indexPath.section == MAP_SECTION) { | |
if ([self.locationTextField isFirstResponder]) { | |
[self.locationTextField resignFirstResponder]; | |
} | |
CLGeocoder *geocoder = [[CLGeocoder alloc] init]; |
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
1. django-admin.py startproject <mysite> | |
creates folder <mysite> | |
with: | |
manage.py: A command-line utility that lets you interact with this Django project in various ways. | |
mysite/: actual python package for the project | |
__init__.py: An empty file that tells Python that this directory should be considered a Python package. | |
settings.py: Settings/configuration for this Django project | |
urls.py: The URL declarations for this Django project; a “table of contents” of your Django-powered site. | |
wsgi.py: An entry-point for WSGI-compatible web servers to serve your project. |