Skip to content

Commit

Permalink
Episode 160
Browse files Browse the repository at this point in the history
  • Loading branch information
subdigital committed Mar 12, 2015
1 parent 887cf15 commit a21063e
Show file tree
Hide file tree
Showing 78 changed files with 1,784 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 160-road-trip-dj-part-5/RoadTripDJ/.gitignore
@@ -0,0 +1,18 @@
# Created by https://www.gitignore.io

### Xcode ###
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.xcuserstate

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions 160-road-trip-dj-part-5/RoadTripDJ/RoadTripDJ/AppDelegate.h
@@ -0,0 +1,17 @@
//
// AppDelegate.h
// RoadTripDJ
//
// Created by Ben Scheirman on 2/3/15.
// Copyright (c) 2015 Fickle Bits, LLC. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;


@end

46 changes: 46 additions & 0 deletions 160-road-trip-dj-part-5/RoadTripDJ/RoadTripDJ/AppDelegate.m
@@ -0,0 +1,46 @@
//
// AppDelegate.m
// RoadTripDJ
//
// Created by Ben Scheirman on 2/3/15.
// Copyright (c) 2015 Fickle Bits, LLC. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
sleep(2);
return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<navigationBar contentMode="scaleToFill" barStyle="black" translatesAutoresizingMaskIntoConstraints="NO" id="Tzv-cv-6Yx">
<rect key="frame" x="0.0" y="0.0" width="320" height="64"/>
<constraints>
<constraint firstAttribute="height" constant="64" id="T5z-Qn-mzw"/>
</constraints>
<items>
<navigationItem title="Road Trip DJ" id="Adj-4I-mmd"/>
</items>
</navigationBar>
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" barStyle="black" translatesAutoresizingMaskIntoConstraints="NO" id="qmO-zZ-joG">
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="rtT-bx-MRt"/>
</constraints>
<items/>
</toolbar>
</subviews>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Tzv-cv-6Yx" secondAttribute="trailing" id="0Bw-Yi-a1J"/>
<constraint firstItem="qmO-zZ-joG" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="3ex-GA-xPK"/>
<constraint firstItem="Tzv-cv-6Yx" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="6Bb-5m-cl6"/>
<constraint firstItem="Tzv-cv-6Yx" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="6SL-TV-m5B"/>
<constraint firstAttribute="bottom" secondItem="qmO-zZ-joG" secondAttribute="bottom" id="7u4-Qg-Qsg"/>
<constraint firstAttribute="trailing" secondItem="qmO-zZ-joG" secondAttribute="trailing" id="yBh-Sd-2cB"/>
</constraints>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
<point key="canvasLocation" x="548" y="455"/>
</view>
</objects>
</document>

0 comments on commit a21063e

Please sign in to comment.