Skip to content

Commit a157f2e

Browse files
committed
Remove unused pods, intergrate crashlytics
1 parent dee6613 commit a157f2e

File tree

83 files changed

+908
-10812
lines changed

Some content is hidden

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

83 files changed

+908
-10812
lines changed

Menu Checker/AppDelegate.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
import UIKit
1010
import Fabric
11-
import Answers
11+
import Crashlytics
1212

1313
@UIApplicationMain
1414
class AppDelegate: UIResponder, UIApplicationDelegate {
1515

1616
var window: UIWindow?
1717

1818
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
19-
Fabric.with([Answers.self])
19+
Fabric.with([Answers.self, Crashlytics.self])
2020
let defaults = NSUserDefaults.standardUserDefaults()
2121
if defaults.arrayForKey("UserPrefs") == nil {
2222
defaults.setObject([String](), forKey: "UserPrefs")

Menu Checker/Helper/JSONHelper.swift

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import Foundation
1010
import SwiftyJSON
11-
import Alamofire
1211

1312
class JSONHelper {
1413
static func pullData() -> JSON { //TODO: Pull only selcted restaurant, pull from server

Menu Checker/Info.plist

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
<key>KitName</key>
3333
<string>Answers</string>
3434
</dict>
35+
<dict>
36+
<key>KitInfo</key>
37+
<dict/>
38+
<key>KitName</key>
39+
<string>Crashlytics</string>
40+
</dict>
3541
</array>
3642
</dict>
3743
<key>LSRequiresIPhoneOS</key>

Menu Checker/ViewController/RestaurantCollectionViewController.swift

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import UIKit
1010
import SwiftyJSON
11-
import AlamofireImage
1211
import FontAwesome_swift
1312

1413
private let reuseIdentifier = "Cell"
@@ -67,8 +66,7 @@ class RestaurantCollectionViewController: UICollectionViewController {
6766
cell.sendSubviewToBack(effectView)
6867

6968
// Configure the cell
70-
let imageURL = NSURL(string: restaurantData["restaurants"][indexPath.row]["img"].stringValue)!
71-
cell.restaurantImageView?.af_setImageWithURL(imageURL)
69+
cell.restaurantImageView?.image = UIImage(named: restaurantData["restaurants"][indexPath.row]["restaurant_name"].stringValue)
7270
cell.restaurantImageView.layer.cornerRadius = 5;
7371
cell.restaurantImageView.clipsToBounds = true;
7472

Podfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ target 'Menu Checker' do
77

88
# Pods for Menu Checker
99
pod 'SwiftyJSON'
10-
pod 'Alamofire'
11-
pod 'AlamofireImage'
1210
pod 'Fabric'
13-
pod 'Answers'
11+
pod 'Crashlytics'
1412
pod 'CellAnimator'
1513
pod 'FontAwesome.swift'
1614
end

Podfile.lock

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
11
PODS:
2-
- Alamofire (3.4.1)
3-
- AlamofireImage (2.4.0):
4-
- Alamofire (~> 3.3)
5-
- Answers (1.2.1):
6-
- Fabric (~> 1.6.3)
72
- CellAnimator (0.1.3)
3+
- Crashlytics (3.7.2):
4+
- Fabric (~> 1.6.3)
85
- Fabric (1.6.7)
96
- FontAwesome.swift (0.7.3)
107
- SwiftyJSON (2.3.2)
118

129
DEPENDENCIES:
13-
- Alamofire
14-
- AlamofireImage
15-
- Answers
1610
- CellAnimator
11+
- Crashlytics
1712
- Fabric
1813
- FontAwesome.swift
1914
- SwiftyJSON
2015

2116
SPEC CHECKSUMS:
22-
Alamofire: 01a82e2f6c0f860ade35534c8dd88be61bdef40c
23-
AlamofireImage: 87408b652e0f5ae5fe364035f15aea8b9b24c77e
24-
Answers: 57ee6bcc9bd3c6710862065c9251365a2a404920
2517
CellAnimator: dfba32e8223bbc1e0d4e16524eb51f475082501b
18+
Crashlytics: 130ab943f8c78cda7a814b434f270b2e2c8a3cba
2619
Fabric: caf7580c725e64db144f610ac65cd60956911dc7
2720
FontAwesome.swift: f694fe0f667d6d3390b5919cdb0556a27b75d427
2821
SwiftyJSON: 04ccea08915aa0109039157c7974cf0298da292a
2922

30-
PODFILE CHECKSUM: e2cba7944e713b737cfb6958f759a9c6fd5f8b71
23+
PODFILE CHECKSUM: 9d3fb419e70c4033d50936faa7e5b3e3f6f9ca83
3124

3225
COCOAPODS: 1.0.1

Pods/Alamofire/LICENSE

-19
This file was deleted.

0 commit comments

Comments
 (0)