From d4aeb227b55607944f95213799f23148b61e2cf4 Mon Sep 17 00:00:00 2001 From: Dwayne Harris Date: Sun, 18 Nov 2018 16:26:50 -0800 Subject: [PATCH] Remove AlamofireNetworkActivityIndicator --- elpha-ios.xcodeproj/project.pbxproj | 60 ----------------------------- elpha-ios/AppDelegate.swift | 2 - 2 files changed, 62 deletions(-) diff --git a/elpha-ios.xcodeproj/project.pbxproj b/elpha-ios.xcodeproj/project.pbxproj index 668b9ea..cb658d5 100644 --- a/elpha-ios.xcodeproj/project.pbxproj +++ b/elpha-ios.xcodeproj/project.pbxproj @@ -29,8 +29,6 @@ 1539509121894A38009BA6E7 /* AlertManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1539509021894A38009BA6E7 /* AlertManager.swift */; }; 1564316521A15B2E00816382 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 157405C3215890BC00EEAAEB /* Alamofire.framework */; }; 1564316621A15B2E00816382 /* Alamofire.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 157405C3215890BC00EEAAEB /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 1564316A21A15B4500816382 /* AlamofireNetworkActivityIndicator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1522EC7C2193EBA10082C3FA /* AlamofireNetworkActivityIndicator.framework */; }; - 1564316B21A15B4500816382 /* AlamofireNetworkActivityIndicator.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 1522EC7C2193EBA10082C3FA /* AlamofireNetworkActivityIndicator.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 1564316E21A15B5400816382 /* Kingfisher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 156370B0219FE22E00D51D42 /* Kingfisher.framework */; }; 1564316F21A15B5400816382 /* Kingfisher.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 156370B0219FE22E00D51D42 /* Kingfisher.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 1564317221A15CF300816382 /* AlamofireImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1517EA842159D72200DE80D6 /* AlamofireImage.framework */; }; @@ -131,20 +129,6 @@ remoteGlobalIDString = 4C11830B2150517E007A8298; remoteInfo = "iOS Example"; }; - 1522EC7B2193EBA10082C3FA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 4CB928391C66E1A600CE5F08; - remoteInfo = AlamofireNetworkActivityIndicator; - }; - 1522EC7D2193EBA10082C3FA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 4CB928431C66E1A700CE5F08; - remoteInfo = AlamofireNetworkActivityIndicatorTests; - }; 156370AF219FE22E00D51D42 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15637094219FE22E00D51D42 /* Kingfisher.xcodeproj */; @@ -201,13 +185,6 @@ remoteGlobalIDString = F8111E3219A95C8B0040E7D1; remoteInfo = "Alamofire iOS"; }; - 1564316C21A15B4500816382 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 4CB928381C66E1A600CE5F08; - remoteInfo = AlamofireNetworkActivityIndicator; - }; 1564317021A15B5400816382 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15637094219FE22E00D51D42 /* Kingfisher.xcodeproj */; @@ -282,7 +259,6 @@ files = ( 1564316621A15B2E00816382 /* Alamofire.framework in Embed Frameworks */, 1564316F21A15B5400816382 /* Kingfisher.framework in Embed Frameworks */, - 1564316B21A15B4500816382 /* AlamofireNetworkActivityIndicator.framework in Embed Frameworks */, 1564317321A15CF300816382 /* AlamofireImage.framework in Embed Frameworks */, ); name = "Embed Frameworks"; @@ -299,7 +275,6 @@ 15131EF5216DBA820092B252 /* AccountNavigationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountNavigationController.swift; sourceTree = ""; }; 1517EA6F2159D72200DE80D6 /* AlamofireImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = AlamofireImage.xcodeproj; path = Frameworks/AlamofireImage/AlamofireImage.xcodeproj; sourceTree = ""; }; 15222806219D37A500D2E5A6 /* ComposeAccessoryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComposeAccessoryView.swift; sourceTree = ""; }; - 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = AlamofireNetworkActivityIndicator.xcodeproj; path = Frameworks/AlamofireNetworkActivityIndicator/AlamofireNetworkActivityIndicator.xcodeproj; sourceTree = ""; }; 152734D12186DC74003DB3C8 /* TimelinesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelinesViewController.swift; sourceTree = ""; }; 152FB0F7218ADC1A001D6574 /* AttachmentPageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AttachmentPageViewController.swift; sourceTree = ""; }; 152FB0F9218ADDD0001D6574 /* AttachmentViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AttachmentViewController.swift; sourceTree = ""; }; @@ -363,7 +338,6 @@ files = ( 1564316521A15B2E00816382 /* Alamofire.framework in Frameworks */, 1564317221A15CF300816382 /* AlamofireImage.framework in Frameworks */, - 1564316A21A15B4500816382 /* AlamofireNetworkActivityIndicator.framework in Frameworks */, 1564316E21A15B5400816382 /* Kingfisher.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -452,15 +426,6 @@ name = Extensions; sourceTree = ""; }; - 1522EC762193EBA10082C3FA /* Products */ = { - isa = PBXGroup; - children = ( - 1522EC7C2193EBA10082C3FA /* AlamofireNetworkActivityIndicator.framework */, - 1522EC7E2193EBA10082C3FA /* AlamofireNetworkActivityIndicatorTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; 152FBCE4219789450079B3E8 /* Abstract View Controllers */ = { isa = PBXGroup; children = ( @@ -519,7 +484,6 @@ 157405AF2151A5DA00EEAAEB /* README.md */, 157405B7215890BC00EEAAEB /* Alamofire.xcodeproj */, 1517EA6F2159D72200DE80D6 /* AlamofireImage.xcodeproj */, - 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */, 15637094219FE22E00D51D42 /* Kingfisher.xcodeproj */, 15960E59213145E100C38CE9 /* elpha-ios */, 15960E58213145E100C38CE9 /* Products */, @@ -604,7 +568,6 @@ ); dependencies = ( 1564316821A15B2E00816382 /* PBXTargetDependency */, - 1564316D21A15B4500816382 /* PBXTargetDependency */, 1564317121A15B5400816382 /* PBXTargetDependency */, 1564317521A15CF300816382 /* PBXTargetDependency */, ); @@ -649,10 +612,6 @@ ProductGroup = 1517EA702159D72200DE80D6 /* Products */; ProjectRef = 1517EA6F2159D72200DE80D6 /* AlamofireImage.xcodeproj */; }, - { - ProductGroup = 1522EC762193EBA10082C3FA /* Products */; - ProjectRef = 1522EC752193EBA10082C3FA /* AlamofireNetworkActivityIndicator.xcodeproj */; - }, { ProductGroup = 15637095219FE22E00D51D42 /* Products */; ProjectRef = 15637094219FE22E00D51D42 /* Kingfisher.xcodeproj */; @@ -722,20 +681,6 @@ remoteRef = 1517EA912159D72200DE80D6 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 1522EC7C2193EBA10082C3FA /* AlamofireNetworkActivityIndicator.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = AlamofireNetworkActivityIndicator.framework; - remoteRef = 1522EC7B2193EBA10082C3FA /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 1522EC7E2193EBA10082C3FA /* AlamofireNetworkActivityIndicatorTests.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = AlamofireNetworkActivityIndicatorTests.xctest; - remoteRef = 1522EC7D2193EBA10082C3FA /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; 156370B0219FE22E00D51D42 /* Kingfisher.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; @@ -919,11 +864,6 @@ name = "Alamofire iOS"; targetProxy = 1564316721A15B2E00816382 /* PBXContainerItemProxy */; }; - 1564316D21A15B4500816382 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = AlamofireNetworkActivityIndicator; - targetProxy = 1564316C21A15B4500816382 /* PBXContainerItemProxy */; - }; 1564317121A15B5400816382 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "Kingfisher-iOS"; diff --git a/elpha-ios/AppDelegate.swift b/elpha-ios/AppDelegate.swift index 635ce40..50f58e5 100644 --- a/elpha-ios/AppDelegate.swift +++ b/elpha-ios/AppDelegate.swift @@ -6,7 +6,6 @@ // Copyright © 2018 Elpha. All rights reserved. // -import AlamofireNetworkActivityIndicator import CoreData import UIKit @@ -15,7 +14,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - NetworkActivityIndicatorManager.shared.isEnabled = true return true }