Skip to content

Commit aed6a0f

Browse files
lsecreaselsecrease
authored andcommitted
Perks Work/Account Setting
1 parent bca4ccc commit aed6a0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4417
-1
lines changed

Dindr

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dindr.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
28C5C2A51BF7F0B2000647A5 /* EditSpecialsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28C5C2A41BF7F0B2000647A5 /* EditSpecialsViewController.swift */; };
11+
28C5C2A71BF80204000647A5 /* ManageAccountViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28C5C2A61BF80204000647A5 /* ManageAccountViewController.swift */; };
1012
A220C6DAAB6AF6BECEAE4045 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B9EF77CB6F97A26FE14C38AE /* Pods.framework */; };
1113
CE2D49C11BE06D28007DCBE3 /* SpecialsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE2D49C01BE06D28007DCBE3 /* SpecialsTableViewCell.swift */; };
1214
CE4605481BC33AB1007A2B7D /* GalleryVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE4605471BC33AB1007A2B7D /* GalleryVC.swift */; };
@@ -64,6 +66,8 @@
6466
/* End PBXContainerItemProxy section */
6567

6668
/* Begin PBXFileReference section */
69+
28C5C2A41BF7F0B2000647A5 /* EditSpecialsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EditSpecialsViewController.swift; sourceTree = "<group>"; };
70+
28C5C2A61BF80204000647A5 /* ManageAccountViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ManageAccountViewController.swift; sourceTree = "<group>"; };
6771
A06A68F49A5B1C70F5C4D28D /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
6872
A16574C15E406AC410350BB4 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
6973
B9EF77CB6F97A26FE14C38AE /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -280,9 +284,11 @@
280284
CEEF5D9F1BA8A7610077769E /* RestCollectionViewCell.swift */,
281285
CEEF5DA31BA8B55F0077769E /* SpecialsTableViewController.swift */,
282286
CE2D49C01BE06D28007DCBE3 /* SpecialsTableViewCell.swift */,
287+
28C5C2A41BF7F0B2000647A5 /* EditSpecialsViewController.swift */,
283288
CE46054B1BC33FAF007A2B7D /* Gallery */,
284289
CEEF5DA11BA8A8BF0077769E /* DishModel.swift */,
285290
CEB40ED71BD6BCE700863F60 /* PreviewImageViewController.swift */,
291+
28C5C2A61BF80204000647A5 /* ManageAccountViewController.swift */,
286292
CEC9F2101B7851B3000A74A9 /* Main.storyboard */,
287293
CEC9F2131B7851B3000A74A9 /* Images.xcassets */,
288294
CEC9F2151B7851B3000A74A9 /* LaunchScreen.xib */,
@@ -481,8 +487,10 @@
481487
isa = PBXSourcesBuildPhase;
482488
buildActionMask = 2147483647;
483489
files = (
490+
28C5C2A51BF7F0B2000647A5 /* EditSpecialsViewController.swift in Sources */,
484491
CE9C43031BC1D6CD00504B69 /* ImagePreviewTableViewCell.swift in Sources */,
485492
CEEF5DA21BA8A8BF0077769E /* DishModel.swift in Sources */,
493+
28C5C2A71BF80204000647A5 /* ManageAccountViewController.swift in Sources */,
486494
CEB40EC81BD6BA3C00863F60 /* ViewUtils.m in Sources */,
487495
CEB40ED51BD6BA9C00863F60 /* LLSimpleCamera.m in Sources */,
488496
CE9C43011BC1D6CD00504B69 /* ImagePickerSheetController.swift in Sources */,

Dindr/AppDelegate.swift

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
//
2+
// AppDelegate.swift
3+
// Dindr
4+
//
5+
// Created by lsecrease on 8/9/15.
6+
// Copyright (c) 2015 ImagineME. All rights reserved.
7+
//
8+
9+
import UIKit
10+
import Parse
11+
12+
13+
@UIApplicationMain
14+
class AppDelegate: UIResponder, UIApplicationDelegate {
15+
16+
var window: UIWindow?
17+
18+
19+
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
20+
21+
Parse.enableLocalDatastore()
22+
23+
// Parse App ID
24+
Parse.setApplicationId("0rubnb7O4htTp2ebMAM2KXnPazFxilATgmZvKLde", clientKey: "0shAOvyF065qlhgquNoHwSlu7dLOtv6vavggY8fp")
25+
26+
// Override point for customization after application launch.
27+
return true
28+
}
29+
30+
func applicationWillResignActive(application: UIApplication) {
31+
// 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.
32+
// 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.
33+
}
34+
35+
func applicationDidEnterBackground(application: UIApplication) {
36+
// 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.
37+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
38+
}
39+
40+
func applicationWillEnterForeground(application: UIApplication) {
41+
// 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.
42+
}
43+
44+
func applicationDidBecomeActive(application: UIApplication) {
45+
// 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.
46+
}
47+
48+
func applicationWillTerminate(application: UIApplication) {
49+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
50+
}
51+
52+
53+
}
54+

Dindr/Base.lproj/LaunchScreen.xib

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
5+
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
6+
</dependencies>
7+
<objects>
8+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
9+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
10+
<view contentMode="scaleToFill" id="iN0-l3-epB">
11+
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
12+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
13+
<subviews>
14+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 ImagineME. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
15+
<rect key="frame" x="20" y="439" width="441" height="21"/>
16+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
17+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
18+
<nil key="highlightedColor"/>
19+
</label>
20+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Dindr" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
21+
<rect key="frame" x="20" y="140" width="441" height="43"/>
22+
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
23+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
24+
<nil key="highlightedColor"/>
25+
</label>
26+
</subviews>
27+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
28+
<constraints>
29+
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
30+
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
31+
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
32+
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
33+
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
34+
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
35+
</constraints>
36+
<nil key="simulatedStatusBarMetrics"/>
37+
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
38+
<point key="canvasLocation" x="548" y="455"/>
39+
</view>
40+
</objects>
41+
</document>

0 commit comments

Comments
 (0)