├── .gitignore
├── .swiftlint.yml
├── .travis.yml
├── AMProgressHUD.podspec
├── AMProgressHUD.xcworkspace
├── contents.xcworkspacedata
└── xcshareddata
│ └── IDEWorkspaceChecks.plist
├── AMProgressHUD
├── AMProgressHUD.xcodeproj
│ ├── project.pbxproj
│ └── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── AMProgressHUD
│ ├── AMProgressHUD.h
│ ├── Assets
│ │ └── .gitkeep
│ └── Classes
│ │ ├── .gitkeep
│ │ └── AMProgressHUD.swift
└── AMProgressHUDTests
│ └── AMProgressHUDTests.swift
├── Example
├── AMProgressHUD.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── AMProgressHUD
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── LaunchScreen.xib
│ │ └── Main.storyboard
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ ├── Contents.json
│ │ └── logo.imageset
│ │ │ ├── Contents.json
│ │ │ └── amprogress_logo.png
│ ├── Info.plist
│ ├── ViewController.swift
│ └── giphy.gif
├── Example.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── AMProgressHUD-Example.xcscheme
├── Podfile
├── Podfile.lock
└── Pods
│ ├── Local Podspecs
│ └── AMProgressHUD.podspec.json
│ ├── Manifest.lock
│ ├── Pods.xcodeproj
│ ├── project.pbxproj
│ └── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
│ └── Target Support Files
│ ├── AMProgressHUD
│ ├── AMProgressHUD-Info.plist
│ ├── AMProgressHUD-dummy.m
│ ├── AMProgressHUD-prefix.pch
│ ├── AMProgressHUD-umbrella.h
│ ├── AMProgressHUD.modulemap
│ ├── AMProgressHUD.xcconfig
│ └── Info.plist
│ ├── Pods-AMProgressHUD_Example
│ ├── Info.plist
│ ├── Pods-AMProgressHUD_Example-Info.plist
│ ├── Pods-AMProgressHUD_Example-acknowledgements.markdown
│ ├── Pods-AMProgressHUD_Example-acknowledgements.plist
│ ├── Pods-AMProgressHUD_Example-dummy.m
│ ├── Pods-AMProgressHUD_Example-frameworks.sh
│ ├── Pods-AMProgressHUD_Example-resources.sh
│ ├── Pods-AMProgressHUD_Example-umbrella.h
│ └── Pods-AMProgressHUD_Example.modulemap
│ └── Pods-AMProgressHUD_Tests
│ ├── Info.plist
│ ├── Pods-AMProgressHUD_Tests-Info.plist
│ ├── Pods-AMProgressHUD_Tests-acknowledgements.markdown
│ ├── Pods-AMProgressHUD_Tests-acknowledgements.plist
│ ├── Pods-AMProgressHUD_Tests-dummy.m
│ ├── Pods-AMProgressHUD_Tests-frameworks.sh
│ ├── Pods-AMProgressHUD_Tests-resources.sh
│ ├── Pods-AMProgressHUD_Tests-umbrella.h
│ └── Pods-AMProgressHUD_Tests.modulemap
├── LICENSE
├── README.md
├── ampreogress_screenshot.gif
└── amprogress_logo.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # OS X
2 | .DS_Store
3 |
4 | # Xcode
5 | build/
6 | *.pbxuser
7 | !default.pbxuser
8 | *.mode1v3
9 | !default.mode1v3
10 | *.mode2v3
11 | !default.mode2v3
12 | *.perspectivev3
13 | !default.perspectivev3
14 | xcuserdata/
15 | *.xccheckout
16 | profile
17 | *.moved-aside
18 | DerivedData
19 | *.hmap
20 | *.ipa
21 |
22 | # Bundler
23 | .bundle
24 |
25 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
26 | # Carthage/Checkouts
27 |
28 | Carthage/Build
29 |
30 | # We recommend against adding the Pods directory to your .gitignore. However
31 | # you should judge for yourself, the pros and cons are mentioned at:
32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
33 | #
34 | # Note: if you ignore the Pods directory, make sure to uncomment
35 | # `pod install` in .travis.yml
36 | #
37 | # Pods/
38 |
--------------------------------------------------------------------------------
/.swiftlint.yml:
--------------------------------------------------------------------------------
1 | opt_in_rules:
2 | - empty_count
3 | - explicit_init
4 | - closure_spacing
5 | - overridden_super_call
6 | - redundant_nil_coalescing
7 | - private_outlet
8 | - nimble_operator
9 | - attributes
10 | - operator_usage_whitespace
11 | - closure_end_indentation
12 | - first_where
13 | - object_literal
14 | - number_separator
15 | - prohibited_super_call
16 | - fatal_error_message
17 |
18 | disabled_rules:
19 | - identifier_name
20 | - file_length
21 |
22 | line_length: 130
23 | number_separator:
24 | minimum_length: 5
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | # references:
2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/
3 | # * https://github.com/supermarin/xcpretty#usage
4 |
5 | osx_image: xcode7.3
6 | language: objective-c
7 | # cache: cocoapods
8 | # podfile: Example/Podfile
9 | # before_install:
10 | # - gem install cocoapods # Since Travis is not always on latest version
11 | # - pod install --project-directory=Example
12 | script:
13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AMProgressHUD.xcworkspace -scheme AMProgressHUD-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
14 | - pod lib lint
15 |
--------------------------------------------------------------------------------
/AMProgressHUD.podspec:
--------------------------------------------------------------------------------
1 | #
2 | # Be sure to run `pod lib lint AMProgressHUD.podspec' to ensure this is a
3 | # valid spec before submitting.
4 | #
5 | # Any lines starting with a # are optional, but their use is encouraged
6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7 | #
8 |
9 | Pod::Spec.new do |s|
10 | s.name = 'AMProgressHUD'
11 | s.version = '1.1.0'
12 | s.summary = 'A gif progress HUD for iOS.'
13 |
14 | # This description is used to generate tags and improve search results.
15 | # * Think: What does it do? Why did you write it? What is the focus?
16 | # * Try to keep it short, snappy and to the point.
17 | # * Write the description between the DESC delimiters below.
18 | # * Finally, don't worry about the indent, CocoaPods strips it!
19 |
20 | s.description = <<-DESC
21 | A gif progress HUD to display a progress of an ongoing task.
22 | DESC
23 |
24 | s.homepage = 'https://github.com/Abedalkareem/AMProgressHUD'
25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26 | s.license = { :type => 'MIT', :file => 'LICENSE' }
27 | s.author = { 'Abedalkareem' => 'abedalkareem.omreyh@yahoo.com' }
28 | s.source = { :git => 'https://github.com/Abedalkareem/AMProgressHUD.git', :tag => s.version.to_s }
29 | s.swift_version = '5.0'
30 | s.social_media_url = 'https://twitter.com/AbedalkareemOmr'
31 |
32 | s.ios.deployment_target = '14.0'
33 |
34 | s.source_files = 'AMProgressHUD/AMProgressHUD/Classes/**/*'
35 |
36 | # s.resource_bundles = {
37 | # 'AMProgressHUD' => ['AMProgressHUD/Assets/*.png']
38 | # }
39 |
40 | # s.public_header_files = 'Pod/Classes/**/*.h'
41 | # s.frameworks = 'UIKit', 'MapKit'
42 | # s.dependency 'AFNetworking', '~> 2.3'
43 | end
44 |
--------------------------------------------------------------------------------
/AMProgressHUD.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
12 |
13 |
15 |
16 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/AMProgressHUD.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 55;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | C633A3F928CC5DA500BEEE70 /* AMProgressHUD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C633A3F028CC5DA500BEEE70 /* AMProgressHUD.framework */; };
11 | C633A3FE28CC5DA500BEEE70 /* AMProgressHUDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C633A3FD28CC5DA500BEEE70 /* AMProgressHUDTests.swift */; };
12 | C633A3FF28CC5DA500BEEE70 /* AMProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = C633A3F328CC5DA500BEEE70 /* AMProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; };
13 | C633A40E28CC5E1C00BEEE70 /* AMProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = C633A40B28CC5E1C00BEEE70 /* AMProgressHUD.swift */; };
14 | C633A40F28CC5E1C00BEEE70 /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = C633A40C28CC5E1C00BEEE70 /* .gitkeep */; };
15 | /* End PBXBuildFile section */
16 |
17 | /* Begin PBXContainerItemProxy section */
18 | C633A3FA28CC5DA500BEEE70 /* PBXContainerItemProxy */ = {
19 | isa = PBXContainerItemProxy;
20 | containerPortal = C633A3E728CC5DA500BEEE70 /* Project object */;
21 | proxyType = 1;
22 | remoteGlobalIDString = C633A3EF28CC5DA500BEEE70;
23 | remoteInfo = AMProgressHUD;
24 | };
25 | /* End PBXContainerItemProxy section */
26 |
27 | /* Begin PBXFileReference section */
28 | C633A3F028CC5DA500BEEE70 /* AMProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AMProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; };
29 | C633A3F328CC5DA500BEEE70 /* AMProgressHUD.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AMProgressHUD.h; sourceTree = ""; };
30 | C633A3F828CC5DA500BEEE70 /* AMProgressHUDTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AMProgressHUDTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
31 | C633A3FD28CC5DA500BEEE70 /* AMProgressHUDTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AMProgressHUDTests.swift; sourceTree = ""; };
32 | C633A40928CC5E1C00BEEE70 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; };
33 | C633A40B28CC5E1C00BEEE70 /* AMProgressHUD.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AMProgressHUD.swift; sourceTree = ""; };
34 | C633A40C28CC5E1C00BEEE70 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; };
35 | /* End PBXFileReference section */
36 |
37 | /* Begin PBXFrameworksBuildPhase section */
38 | C633A3ED28CC5DA500BEEE70 /* Frameworks */ = {
39 | isa = PBXFrameworksBuildPhase;
40 | buildActionMask = 2147483647;
41 | files = (
42 | );
43 | runOnlyForDeploymentPostprocessing = 0;
44 | };
45 | C633A3F528CC5DA500BEEE70 /* Frameworks */ = {
46 | isa = PBXFrameworksBuildPhase;
47 | buildActionMask = 2147483647;
48 | files = (
49 | C633A3F928CC5DA500BEEE70 /* AMProgressHUD.framework in Frameworks */,
50 | );
51 | runOnlyForDeploymentPostprocessing = 0;
52 | };
53 | /* End PBXFrameworksBuildPhase section */
54 |
55 | /* Begin PBXGroup section */
56 | C633A3E628CC5DA500BEEE70 = {
57 | isa = PBXGroup;
58 | children = (
59 | C633A3F228CC5DA500BEEE70 /* AMProgressHUD */,
60 | C633A3FC28CC5DA500BEEE70 /* AMProgressHUDTests */,
61 | C633A3F128CC5DA500BEEE70 /* Products */,
62 | );
63 | sourceTree = "";
64 | };
65 | C633A3F128CC5DA500BEEE70 /* Products */ = {
66 | isa = PBXGroup;
67 | children = (
68 | C633A3F028CC5DA500BEEE70 /* AMProgressHUD.framework */,
69 | C633A3F828CC5DA500BEEE70 /* AMProgressHUDTests.xctest */,
70 | );
71 | name = Products;
72 | sourceTree = "";
73 | };
74 | C633A3F228CC5DA500BEEE70 /* AMProgressHUD */ = {
75 | isa = PBXGroup;
76 | children = (
77 | C633A40828CC5E1C00BEEE70 /* Assets */,
78 | C633A40A28CC5E1C00BEEE70 /* Classes */,
79 | C633A3F328CC5DA500BEEE70 /* AMProgressHUD.h */,
80 | );
81 | path = AMProgressHUD;
82 | sourceTree = "";
83 | };
84 | C633A3FC28CC5DA500BEEE70 /* AMProgressHUDTests */ = {
85 | isa = PBXGroup;
86 | children = (
87 | C633A3FD28CC5DA500BEEE70 /* AMProgressHUDTests.swift */,
88 | );
89 | path = AMProgressHUDTests;
90 | sourceTree = "";
91 | };
92 | C633A40828CC5E1C00BEEE70 /* Assets */ = {
93 | isa = PBXGroup;
94 | children = (
95 | C633A40928CC5E1C00BEEE70 /* .gitkeep */,
96 | );
97 | path = Assets;
98 | sourceTree = "";
99 | };
100 | C633A40A28CC5E1C00BEEE70 /* Classes */ = {
101 | isa = PBXGroup;
102 | children = (
103 | C633A40B28CC5E1C00BEEE70 /* AMProgressHUD.swift */,
104 | C633A40C28CC5E1C00BEEE70 /* .gitkeep */,
105 | );
106 | path = Classes;
107 | sourceTree = "";
108 | };
109 | /* End PBXGroup section */
110 |
111 | /* Begin PBXHeadersBuildPhase section */
112 | C633A3EB28CC5DA500BEEE70 /* Headers */ = {
113 | isa = PBXHeadersBuildPhase;
114 | buildActionMask = 2147483647;
115 | files = (
116 | C633A3FF28CC5DA500BEEE70 /* AMProgressHUD.h in Headers */,
117 | );
118 | runOnlyForDeploymentPostprocessing = 0;
119 | };
120 | /* End PBXHeadersBuildPhase section */
121 |
122 | /* Begin PBXNativeTarget section */
123 | C633A3EF28CC5DA500BEEE70 /* AMProgressHUD */ = {
124 | isa = PBXNativeTarget;
125 | buildConfigurationList = C633A40228CC5DA500BEEE70 /* Build configuration list for PBXNativeTarget "AMProgressHUD" */;
126 | buildPhases = (
127 | C633A41028CC5E5500BEEE70 /* Swiftlint */,
128 | C633A3EB28CC5DA500BEEE70 /* Headers */,
129 | C633A3EC28CC5DA500BEEE70 /* Sources */,
130 | C633A3ED28CC5DA500BEEE70 /* Frameworks */,
131 | C633A3EE28CC5DA500BEEE70 /* Resources */,
132 | );
133 | buildRules = (
134 | );
135 | dependencies = (
136 | );
137 | name = AMProgressHUD;
138 | productName = AMProgressHUD;
139 | productReference = C633A3F028CC5DA500BEEE70 /* AMProgressHUD.framework */;
140 | productType = "com.apple.product-type.framework";
141 | };
142 | C633A3F728CC5DA500BEEE70 /* AMProgressHUDTests */ = {
143 | isa = PBXNativeTarget;
144 | buildConfigurationList = C633A40528CC5DA500BEEE70 /* Build configuration list for PBXNativeTarget "AMProgressHUDTests" */;
145 | buildPhases = (
146 | C633A3F428CC5DA500BEEE70 /* Sources */,
147 | C633A3F528CC5DA500BEEE70 /* Frameworks */,
148 | C633A3F628CC5DA500BEEE70 /* Resources */,
149 | );
150 | buildRules = (
151 | );
152 | dependencies = (
153 | C633A3FB28CC5DA500BEEE70 /* PBXTargetDependency */,
154 | );
155 | name = AMProgressHUDTests;
156 | productName = AMProgressHUDTests;
157 | productReference = C633A3F828CC5DA500BEEE70 /* AMProgressHUDTests.xctest */;
158 | productType = "com.apple.product-type.bundle.unit-test";
159 | };
160 | /* End PBXNativeTarget section */
161 |
162 | /* Begin PBXProject section */
163 | C633A3E728CC5DA500BEEE70 /* Project object */ = {
164 | isa = PBXProject;
165 | attributes = {
166 | BuildIndependentTargetsInParallel = 1;
167 | LastSwiftUpdateCheck = 1330;
168 | LastUpgradeCheck = 1330;
169 | TargetAttributes = {
170 | C633A3EF28CC5DA500BEEE70 = {
171 | CreatedOnToolsVersion = 13.3.1;
172 | };
173 | C633A3F728CC5DA500BEEE70 = {
174 | CreatedOnToolsVersion = 13.3.1;
175 | };
176 | };
177 | };
178 | buildConfigurationList = C633A3EA28CC5DA500BEEE70 /* Build configuration list for PBXProject "AMProgressHUD" */;
179 | compatibilityVersion = "Xcode 13.0";
180 | developmentRegion = en;
181 | hasScannedForEncodings = 0;
182 | knownRegions = (
183 | en,
184 | Base,
185 | );
186 | mainGroup = C633A3E628CC5DA500BEEE70;
187 | productRefGroup = C633A3F128CC5DA500BEEE70 /* Products */;
188 | projectDirPath = "";
189 | projectRoot = "";
190 | targets = (
191 | C633A3EF28CC5DA500BEEE70 /* AMProgressHUD */,
192 | C633A3F728CC5DA500BEEE70 /* AMProgressHUDTests */,
193 | );
194 | };
195 | /* End PBXProject section */
196 |
197 | /* Begin PBXResourcesBuildPhase section */
198 | C633A3EE28CC5DA500BEEE70 /* Resources */ = {
199 | isa = PBXResourcesBuildPhase;
200 | buildActionMask = 2147483647;
201 | files = (
202 | C633A40F28CC5E1C00BEEE70 /* .gitkeep in Resources */,
203 | );
204 | runOnlyForDeploymentPostprocessing = 0;
205 | };
206 | C633A3F628CC5DA500BEEE70 /* Resources */ = {
207 | isa = PBXResourcesBuildPhase;
208 | buildActionMask = 2147483647;
209 | files = (
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | };
213 | /* End PBXResourcesBuildPhase section */
214 |
215 | /* Begin PBXShellScriptBuildPhase section */
216 | C633A41028CC5E5500BEEE70 /* Swiftlint */ = {
217 | isa = PBXShellScriptBuildPhase;
218 | buildActionMask = 2147483647;
219 | files = (
220 | );
221 | inputFileListPaths = (
222 | );
223 | inputPaths = (
224 | );
225 | name = Swiftlint;
226 | outputFileListPaths = (
227 | );
228 | outputPaths = (
229 | );
230 | runOnlyForDeploymentPostprocessing = 0;
231 | shellPath = /bin/sh;
232 | shellScript = "if which swiftlint > /dev/null; then\n swiftlint --config ../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
233 | };
234 | /* End PBXShellScriptBuildPhase section */
235 |
236 | /* Begin PBXSourcesBuildPhase section */
237 | C633A3EC28CC5DA500BEEE70 /* Sources */ = {
238 | isa = PBXSourcesBuildPhase;
239 | buildActionMask = 2147483647;
240 | files = (
241 | C633A40E28CC5E1C00BEEE70 /* AMProgressHUD.swift in Sources */,
242 | );
243 | runOnlyForDeploymentPostprocessing = 0;
244 | };
245 | C633A3F428CC5DA500BEEE70 /* Sources */ = {
246 | isa = PBXSourcesBuildPhase;
247 | buildActionMask = 2147483647;
248 | files = (
249 | C633A3FE28CC5DA500BEEE70 /* AMProgressHUDTests.swift in Sources */,
250 | );
251 | runOnlyForDeploymentPostprocessing = 0;
252 | };
253 | /* End PBXSourcesBuildPhase section */
254 |
255 | /* Begin PBXTargetDependency section */
256 | C633A3FB28CC5DA500BEEE70 /* PBXTargetDependency */ = {
257 | isa = PBXTargetDependency;
258 | target = C633A3EF28CC5DA500BEEE70 /* AMProgressHUD */;
259 | targetProxy = C633A3FA28CC5DA500BEEE70 /* PBXContainerItemProxy */;
260 | };
261 | /* End PBXTargetDependency section */
262 |
263 | /* Begin XCBuildConfiguration section */
264 | C633A40028CC5DA500BEEE70 /* Debug */ = {
265 | isa = XCBuildConfiguration;
266 | buildSettings = {
267 | ALWAYS_SEARCH_USER_PATHS = NO;
268 | CLANG_ANALYZER_NONNULL = YES;
269 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
271 | CLANG_ENABLE_MODULES = YES;
272 | CLANG_ENABLE_OBJC_ARC = YES;
273 | CLANG_ENABLE_OBJC_WEAK = YES;
274 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
275 | CLANG_WARN_BOOL_CONVERSION = YES;
276 | CLANG_WARN_COMMA = YES;
277 | CLANG_WARN_CONSTANT_CONVERSION = YES;
278 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
279 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
280 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
281 | CLANG_WARN_EMPTY_BODY = YES;
282 | CLANG_WARN_ENUM_CONVERSION = YES;
283 | CLANG_WARN_INFINITE_RECURSION = YES;
284 | CLANG_WARN_INT_CONVERSION = YES;
285 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
286 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
287 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
288 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
289 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
290 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
291 | CLANG_WARN_STRICT_PROTOTYPES = YES;
292 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
293 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
294 | CLANG_WARN_UNREACHABLE_CODE = YES;
295 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
296 | COPY_PHASE_STRIP = NO;
297 | CURRENT_PROJECT_VERSION = 1;
298 | DEBUG_INFORMATION_FORMAT = dwarf;
299 | ENABLE_STRICT_OBJC_MSGSEND = YES;
300 | ENABLE_TESTABILITY = YES;
301 | GCC_C_LANGUAGE_STANDARD = gnu11;
302 | GCC_DYNAMIC_NO_PIC = NO;
303 | GCC_NO_COMMON_BLOCKS = YES;
304 | GCC_OPTIMIZATION_LEVEL = 0;
305 | GCC_PREPROCESSOR_DEFINITIONS = (
306 | "DEBUG=1",
307 | "$(inherited)",
308 | );
309 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
310 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
311 | GCC_WARN_UNDECLARED_SELECTOR = YES;
312 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
313 | GCC_WARN_UNUSED_FUNCTION = YES;
314 | GCC_WARN_UNUSED_VARIABLE = YES;
315 | IPHONEOS_DEPLOYMENT_TARGET = 14;
316 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
317 | MTL_FAST_MATH = YES;
318 | ONLY_ACTIVE_ARCH = YES;
319 | SDKROOT = iphoneos;
320 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
321 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
322 | VERSIONING_SYSTEM = "apple-generic";
323 | VERSION_INFO_PREFIX = "";
324 | };
325 | name = Debug;
326 | };
327 | C633A40128CC5DA500BEEE70 /* Release */ = {
328 | isa = XCBuildConfiguration;
329 | buildSettings = {
330 | ALWAYS_SEARCH_USER_PATHS = NO;
331 | CLANG_ANALYZER_NONNULL = YES;
332 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
333 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
334 | CLANG_ENABLE_MODULES = YES;
335 | CLANG_ENABLE_OBJC_ARC = YES;
336 | CLANG_ENABLE_OBJC_WEAK = YES;
337 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
338 | CLANG_WARN_BOOL_CONVERSION = YES;
339 | CLANG_WARN_COMMA = YES;
340 | CLANG_WARN_CONSTANT_CONVERSION = YES;
341 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
342 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
343 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
344 | CLANG_WARN_EMPTY_BODY = YES;
345 | CLANG_WARN_ENUM_CONVERSION = YES;
346 | CLANG_WARN_INFINITE_RECURSION = YES;
347 | CLANG_WARN_INT_CONVERSION = YES;
348 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
349 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
350 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
351 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
352 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
353 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
354 | CLANG_WARN_STRICT_PROTOTYPES = YES;
355 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
356 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
357 | CLANG_WARN_UNREACHABLE_CODE = YES;
358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
359 | COPY_PHASE_STRIP = NO;
360 | CURRENT_PROJECT_VERSION = 1;
361 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
362 | ENABLE_NS_ASSERTIONS = NO;
363 | ENABLE_STRICT_OBJC_MSGSEND = YES;
364 | GCC_C_LANGUAGE_STANDARD = gnu11;
365 | GCC_NO_COMMON_BLOCKS = YES;
366 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
367 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
368 | GCC_WARN_UNDECLARED_SELECTOR = YES;
369 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
370 | GCC_WARN_UNUSED_FUNCTION = YES;
371 | GCC_WARN_UNUSED_VARIABLE = YES;
372 | IPHONEOS_DEPLOYMENT_TARGET = 14;
373 | MTL_ENABLE_DEBUG_INFO = NO;
374 | MTL_FAST_MATH = YES;
375 | SDKROOT = iphoneos;
376 | SWIFT_COMPILATION_MODE = wholemodule;
377 | SWIFT_OPTIMIZATION_LEVEL = "-O";
378 | VALIDATE_PRODUCT = YES;
379 | VERSIONING_SYSTEM = "apple-generic";
380 | VERSION_INFO_PREFIX = "";
381 | };
382 | name = Release;
383 | };
384 | C633A40328CC5DA500BEEE70 /* Debug */ = {
385 | isa = XCBuildConfiguration;
386 | buildSettings = {
387 | CODE_SIGN_STYLE = Automatic;
388 | CURRENT_PROJECT_VERSION = 1;
389 | DEFINES_MODULE = YES;
390 | DEVELOPMENT_TEAM = H3MRF55H66;
391 | DYLIB_COMPATIBILITY_VERSION = 1;
392 | DYLIB_CURRENT_VERSION = 1;
393 | DYLIB_INSTALL_NAME_BASE = "@rpath";
394 | GENERATE_INFOPLIST_FILE = YES;
395 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
396 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
397 | LD_RUNPATH_SEARCH_PATHS = (
398 | "$(inherited)",
399 | "@executable_path/Frameworks",
400 | "@loader_path/Frameworks",
401 | );
402 | MARKETING_VERSION = 1.0;
403 | PRODUCT_BUNDLE_IDENTIFIER = abedalkareem.AMProgressHUD;
404 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
405 | SKIP_INSTALL = YES;
406 | SUPPORTS_MACCATALYST = NO;
407 | SWIFT_EMIT_LOC_STRINGS = YES;
408 | SWIFT_VERSION = 5.0;
409 | TARGETED_DEVICE_FAMILY = "1,2";
410 | };
411 | name = Debug;
412 | };
413 | C633A40428CC5DA500BEEE70 /* Release */ = {
414 | isa = XCBuildConfiguration;
415 | buildSettings = {
416 | CODE_SIGN_STYLE = Automatic;
417 | CURRENT_PROJECT_VERSION = 1;
418 | DEFINES_MODULE = YES;
419 | DEVELOPMENT_TEAM = H3MRF55H66;
420 | DYLIB_COMPATIBILITY_VERSION = 1;
421 | DYLIB_CURRENT_VERSION = 1;
422 | DYLIB_INSTALL_NAME_BASE = "@rpath";
423 | GENERATE_INFOPLIST_FILE = YES;
424 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
425 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
426 | LD_RUNPATH_SEARCH_PATHS = (
427 | "$(inherited)",
428 | "@executable_path/Frameworks",
429 | "@loader_path/Frameworks",
430 | );
431 | MARKETING_VERSION = 1.0;
432 | PRODUCT_BUNDLE_IDENTIFIER = abedalkareem.AMProgressHUD;
433 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
434 | SKIP_INSTALL = YES;
435 | SUPPORTS_MACCATALYST = NO;
436 | SWIFT_EMIT_LOC_STRINGS = YES;
437 | SWIFT_VERSION = 5.0;
438 | TARGETED_DEVICE_FAMILY = "1,2";
439 | };
440 | name = Release;
441 | };
442 | C633A40628CC5DA500BEEE70 /* Debug */ = {
443 | isa = XCBuildConfiguration;
444 | buildSettings = {
445 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
446 | CODE_SIGN_STYLE = Automatic;
447 | CURRENT_PROJECT_VERSION = 1;
448 | DEVELOPMENT_TEAM = H3MRF55H66;
449 | GENERATE_INFOPLIST_FILE = YES;
450 | MARKETING_VERSION = 1.0;
451 | PRODUCT_BUNDLE_IDENTIFIER = abedalkareem.AMProgressHUDTests;
452 | PRODUCT_NAME = "$(TARGET_NAME)";
453 | SWIFT_EMIT_LOC_STRINGS = NO;
454 | SWIFT_VERSION = 5.0;
455 | TARGETED_DEVICE_FAMILY = "1,2";
456 | };
457 | name = Debug;
458 | };
459 | C633A40728CC5DA500BEEE70 /* Release */ = {
460 | isa = XCBuildConfiguration;
461 | buildSettings = {
462 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
463 | CODE_SIGN_STYLE = Automatic;
464 | CURRENT_PROJECT_VERSION = 1;
465 | DEVELOPMENT_TEAM = H3MRF55H66;
466 | GENERATE_INFOPLIST_FILE = YES;
467 | MARKETING_VERSION = 1.0;
468 | PRODUCT_BUNDLE_IDENTIFIER = abedalkareem.AMProgressHUDTests;
469 | PRODUCT_NAME = "$(TARGET_NAME)";
470 | SWIFT_EMIT_LOC_STRINGS = NO;
471 | SWIFT_VERSION = 5.0;
472 | TARGETED_DEVICE_FAMILY = "1,2";
473 | };
474 | name = Release;
475 | };
476 | /* End XCBuildConfiguration section */
477 |
478 | /* Begin XCConfigurationList section */
479 | C633A3EA28CC5DA500BEEE70 /* Build configuration list for PBXProject "AMProgressHUD" */ = {
480 | isa = XCConfigurationList;
481 | buildConfigurations = (
482 | C633A40028CC5DA500BEEE70 /* Debug */,
483 | C633A40128CC5DA500BEEE70 /* Release */,
484 | );
485 | defaultConfigurationIsVisible = 0;
486 | defaultConfigurationName = Release;
487 | };
488 | C633A40228CC5DA500BEEE70 /* Build configuration list for PBXNativeTarget "AMProgressHUD" */ = {
489 | isa = XCConfigurationList;
490 | buildConfigurations = (
491 | C633A40328CC5DA500BEEE70 /* Debug */,
492 | C633A40428CC5DA500BEEE70 /* Release */,
493 | );
494 | defaultConfigurationIsVisible = 0;
495 | defaultConfigurationName = Release;
496 | };
497 | C633A40528CC5DA500BEEE70 /* Build configuration list for PBXNativeTarget "AMProgressHUDTests" */ = {
498 | isa = XCConfigurationList;
499 | buildConfigurations = (
500 | C633A40628CC5DA500BEEE70 /* Debug */,
501 | C633A40728CC5DA500BEEE70 /* Release */,
502 | );
503 | defaultConfigurationIsVisible = 0;
504 | defaultConfigurationName = Release;
505 | };
506 | /* End XCConfigurationList section */
507 | };
508 | rootObject = C633A3E728CC5DA500BEEE70 /* Project object */;
509 | }
510 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD/AMProgressHUD.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMProgressHUD.h
3 | // AMProgressHUD
4 | //
5 | // Created by abedalkareem omreyh on 10/09/2022.
6 | //
7 |
8 | #import
9 |
10 | //! Project version number for AMProgressHUD.
11 | FOUNDATION_EXPORT double AMProgressHUDVersionNumber;
12 |
13 | //! Project version string for AMProgressHUD.
14 | FOUNDATION_EXPORT const unsigned char AMProgressHUDVersionString[];
15 |
16 | // In this header, you should import all the public headers of your framework using statements like #import
17 |
18 |
19 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD/Assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/AMProgressHUD/AMProgressHUD/Assets/.gitkeep
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD/Classes/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/AMProgressHUD/AMProgressHUD/Classes/.gitkeep
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUD/Classes/AMProgressHUD.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AMProgressHUD.swift
3 | // AMProgressHUD
4 | //
5 | // Created by abedalkareem omreyh on 11/21/17.
6 | // Copyright © 2017 abedalkareem omreyh. All rights reserved.
7 | //
8 | //
9 |
10 | import UIKit
11 | import ImageIO
12 |
13 | public class AMProgressHUD: UIView {
14 |
15 | // MARK: - Properties
16 |
17 | /// The object that save all the AMProgressHUD options, (colors, corner radius, image name, duration)
18 | public static let options = GifHUDOptions()
19 |
20 | // MARK: - Private Properties
21 |
22 | private static let view = AMProgressHUD()
23 | private static var appWindow: UIWindow {
24 | return (UIApplication.shared.connectedScenes
25 | .compactMap({ $0 as? UIWindowScene })
26 | .first(where: { $0.activationState == .foregroundActive })?
27 | .windows
28 | .first(where: { $0.isKeyWindow })) ?? UIWindow()
29 | }
30 |
31 | private let loadingView = UIView()
32 | private let backgroundView = UIView()
33 |
34 | // MARK: - init
35 |
36 | init() {
37 | super.init(frame: AMProgressHUD.appWindow.bounds)
38 | initBackgroundView()
39 | initLoadingView()
40 | }
41 |
42 | required init?(coder aDecoder: NSCoder) {
43 | fatalError("init(coder:) has not been implemented")
44 | }
45 |
46 | private func initBackgroundView() {
47 | backgroundView.frame = frame
48 | backgroundView.backgroundColor = UIColor.black
49 | backgroundView.alpha = AMProgressHUD.options.backgroundAlpha
50 | addSubview(backgroundView)
51 | }
52 |
53 | private func initLoadingView() {
54 | let side = frame.size.width / 3
55 | let x = frame.midX - (side / 2)
56 | let y = frame.midY - (side / 2)
57 | loadingView.frame = CGRect(x: x, y: y, width: side, height: side)
58 | loadingView.backgroundColor = AMProgressHUD.options.backgroundColor
59 | loadingView.layer.cornerRadius = AMProgressHUD.options.cornerRadius
60 | addSubview(loadingView)
61 |
62 | let imageSide = loadingView.frame.size.width / 1.5
63 | let imageX = loadingView.frame.width / 2 - (imageSide / 2)
64 | let imageY = loadingView.frame.height / 2 - (imageSide / 2)
65 | let imageView = UIImageView(frame: CGRect(x: imageX, y: imageY, width: imageSide, height: imageSide))
66 |
67 | imageView.contentMode = AMProgressHUD.options.contentMode
68 | imageView.animationImages = getGifFrames()
69 | imageView.animationDuration = AMProgressHUD.options.animationDuration
70 | imageView.animationRepeatCount = AMProgressHUD.options.animationRepeatCount
71 | imageView.startAnimating()
72 |
73 | loadingView.addSubview(imageView)
74 | }
75 |
76 | private func getGifFrames() -> [UIImage] {
77 | guard let url = Bundle.main.url(forResource: AMProgressHUD.options.imageName, withExtension: "gif") else {
78 | fatalError("Please be sure that you have provided the correct image name")
79 | }
80 |
81 | guard let imageSource = CGImageSourceCreateWithURL(url as CFURL, nil) else {
82 | fatalError("CGImageSourceCreateWithURL, Something went wrong while creating the image")
83 | }
84 |
85 | var images: [UIImage] = []
86 | let imagesCount = CGImageSourceGetCount(imageSource)
87 | for i in 0.., with event: UIEvent?) {
96 | if AMProgressHUD.options.cancable {
97 | removeFromSuperview()
98 | }
99 | }
100 |
101 | // MARK: - Public methods
102 |
103 | public static func show() {
104 | if AMProgressHUD.view.superview == nil {
105 | appWindow.addSubview(AMProgressHUD.view)
106 | }
107 | }
108 |
109 | public static func dismiss() {
110 | if AMProgressHUD.view.superview != nil {
111 | AMProgressHUD.view.removeFromSuperview()
112 | }
113 | }
114 |
115 | }
116 |
117 | // MARK: - AMProgressHUD Options
118 |
119 | public class GifHUDOptions {
120 | /// The duration of the gif image animation, the default is `0`.
121 | public var animationDuration = 1.0
122 | /// The repeat count for the gif image, the default is `0` (Infinity).
123 | public var animationRepeatCount = 0
124 | /// Background color for the loading view, the default is `UIColor.white`.
125 | public var backgroundColor = UIColor.white
126 | /// The alpha for the background of the black view below the loading view, the default is `0`.
127 | public var backgroundAlpha: CGFloat = 0
128 | /// The corner radius of the loading view, the default is `20`.
129 | public var cornerRadius: CGFloat = 20
130 | /// The gif image name.
131 | public var imageName = ""
132 | /// To determine if the loading view cancelable or not, the defualt is `false`.
133 | public var cancable = false
134 | /// The gif `imageview` content mode, the defualt is `scaleAspectFit`.
135 | public var contentMode: UIView.ContentMode = .scaleAspectFit
136 | }
137 |
--------------------------------------------------------------------------------
/AMProgressHUD/AMProgressHUDTests/AMProgressHUDTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AMProgressHUDTests.swift
3 | // AMProgressHUDTests
4 | //
5 | // Created by abedalkareem omreyh on 10/09/2022.
6 | //
7 |
8 | import XCTest
9 | @testable import AMProgressHUD
10 |
11 | class AMProgressHUDTests: XCTestCase {
12 |
13 | override func setUpWithError() throws {
14 | try super.setUpWithError()
15 | // Put setup code here. This method is called before the invocation of each test method in the class.
16 | }
17 |
18 | override func tearDownWithError() throws {
19 | try super.tearDownWithError()
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | }
22 |
23 | func testExample() throws {
24 | // This is an example of a functional test case.
25 | // Use XCTAssert and related functions to verify your tests produce the correct results.
26 | // Any test you write for XCTest can be annotated as throws and async.
27 | // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
28 | // Mark your test async to allow awaiting for asynchronous code to complete.
29 | // Check the results with assertions afterwards.
30 | }
31 |
32 | func testPerformanceExample() throws {
33 | // This is an example of a performance test case.
34 | self.measure {
35 | // Put the code you want to measure the time of here.
36 | }
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // AMProgressHUD
4 | //
5 | // Created by Abedalkareem on 05/04/2018.
6 | // Copyright (c) 2018 Abedalkareem. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import AMProgressHUD
11 |
12 | @UIApplicationMain
13 | class AppDelegate: UIResponder, UIApplicationDelegate {
14 |
15 | var window: UIWindow?
16 |
17 | func application(_ application: UIApplication,
18 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
19 |
20 | AMProgressHUD.options.imageName = "giphy"
21 | AMProgressHUD.options.backgroundColor = #colorLiteral(red: 0.2745098039, green: 0.2588235294, blue: 0.431372549, alpha: 1)
22 | AMProgressHUD.options.cancable = true
23 |
24 | return true
25 | }
26 |
27 | func applicationWillResignActive(_ application: UIApplication) { }
28 |
29 | func applicationDidEnterBackground(_ application: UIApplication) { }
30 |
31 | func applicationWillEnterForeground(_ application: UIApplication) { }
32 |
33 | func applicationDidBecomeActive(_ application: UIApplication) { }
34 |
35 | func applicationWillTerminate(_ application: UIApplication) { }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ios-marketing",
45 | "size" : "1024x1024",
46 | "scale" : "1x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Images.xcassets/logo.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "amprogress_logo.png",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Images.xcassets/logo.imageset/amprogress_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/Example/AMProgressHUD/Images.xcassets/logo.imageset/amprogress_logo.png
--------------------------------------------------------------------------------
/Example/AMProgressHUD/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // AMProgressHUD
4 | //
5 | // Created by Abedalkareem on 05/04/2018.
6 | // Copyright (c) 2018 Abedalkareem. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import AMProgressHUD
11 |
12 | class ViewController: UIViewController {
13 |
14 | // MARK: - ViewController lifecycle
15 |
16 | override func viewDidLoad() {
17 | super.viewDidLoad()
18 |
19 | }
20 |
21 | // MARK: - IBActions
22 |
23 | @IBAction private func showLoading(_ sender: Any) {
24 | AMProgressHUD.show()
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/Example/AMProgressHUD/giphy.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/Example/AMProgressHUD/giphy.gif
--------------------------------------------------------------------------------
/Example/Example.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };
12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
15 | C65EDAF6225F19CE009A0E6A /* giphy.gif in Resources */ = {isa = PBXBuildFile; fileRef = C65EDAF5225F19CE009A0E6A /* giphy.gif */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXFileReference section */
19 | 607FACD01AFB9204008FA782 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
20 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
21 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
22 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
23 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
24 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
25 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
26 | C65EDAF5225F19CE009A0E6A /* giphy.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = giphy.gif; sourceTree = ""; };
27 | /* End PBXFileReference section */
28 |
29 | /* Begin PBXFrameworksBuildPhase section */
30 | 607FACCD1AFB9204008FA782 /* Frameworks */ = {
31 | isa = PBXFrameworksBuildPhase;
32 | buildActionMask = 2147483647;
33 | files = (
34 | );
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXFrameworksBuildPhase section */
38 |
39 | /* Begin PBXGroup section */
40 | 607FACC71AFB9204008FA782 = {
41 | isa = PBXGroup;
42 | children = (
43 | 607FACD21AFB9204008FA782 /* Example for AMProgressHUD */,
44 | 607FACD11AFB9204008FA782 /* Products */,
45 | );
46 | sourceTree = "";
47 | };
48 | 607FACD11AFB9204008FA782 /* Products */ = {
49 | isa = PBXGroup;
50 | children = (
51 | 607FACD01AFB9204008FA782 /* Example.app */,
52 | );
53 | name = Products;
54 | sourceTree = "";
55 | };
56 | 607FACD21AFB9204008FA782 /* Example for AMProgressHUD */ = {
57 | isa = PBXGroup;
58 | children = (
59 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */,
60 | 607FACD71AFB9204008FA782 /* ViewController.swift */,
61 | 607FACD91AFB9204008FA782 /* Main.storyboard */,
62 | 607FACDC1AFB9204008FA782 /* Images.xcassets */,
63 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
64 | 607FACD31AFB9204008FA782 /* Supporting Files */,
65 | );
66 | name = "Example for AMProgressHUD";
67 | path = AMProgressHUD;
68 | sourceTree = "";
69 | };
70 | 607FACD31AFB9204008FA782 /* Supporting Files */ = {
71 | isa = PBXGroup;
72 | children = (
73 | C65EDAF5225F19CE009A0E6A /* giphy.gif */,
74 | 607FACD41AFB9204008FA782 /* Info.plist */,
75 | );
76 | name = "Supporting Files";
77 | sourceTree = "";
78 | };
79 | /* End PBXGroup section */
80 |
81 | /* Begin PBXNativeTarget section */
82 | 607FACCF1AFB9204008FA782 /* Example */ = {
83 | isa = PBXNativeTarget;
84 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Example" */;
85 | buildPhases = (
86 | C633A3E528CC5CF400BEEE70 /* Swiftlint */,
87 | 607FACCC1AFB9204008FA782 /* Sources */,
88 | 607FACCD1AFB9204008FA782 /* Frameworks */,
89 | 607FACCE1AFB9204008FA782 /* Resources */,
90 | );
91 | buildRules = (
92 | );
93 | dependencies = (
94 | );
95 | name = Example;
96 | productName = AMProgressHUD;
97 | productReference = 607FACD01AFB9204008FA782 /* Example.app */;
98 | productType = "com.apple.product-type.application";
99 | };
100 | /* End PBXNativeTarget section */
101 |
102 | /* Begin PBXProject section */
103 | 607FACC81AFB9204008FA782 /* Project object */ = {
104 | isa = PBXProject;
105 | attributes = {
106 | LastSwiftUpdateCheck = 0830;
107 | LastUpgradeCheck = 1330;
108 | ORGANIZATIONNAME = CocoaPods;
109 | TargetAttributes = {
110 | 607FACCF1AFB9204008FA782 = {
111 | CreatedOnToolsVersion = 6.3.1;
112 | LastSwiftMigration = 1020;
113 | };
114 | };
115 | };
116 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Example" */;
117 | compatibilityVersion = "Xcode 3.2";
118 | developmentRegion = English;
119 | hasScannedForEncodings = 0;
120 | knownRegions = (
121 | English,
122 | en,
123 | Base,
124 | );
125 | mainGroup = 607FACC71AFB9204008FA782;
126 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */;
127 | projectDirPath = "";
128 | projectRoot = "";
129 | targets = (
130 | 607FACCF1AFB9204008FA782 /* Example */,
131 | );
132 | };
133 | /* End PBXProject section */
134 |
135 | /* Begin PBXResourcesBuildPhase section */
136 | 607FACCE1AFB9204008FA782 /* Resources */ = {
137 | isa = PBXResourcesBuildPhase;
138 | buildActionMask = 2147483647;
139 | files = (
140 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
141 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
142 | C65EDAF6225F19CE009A0E6A /* giphy.gif in Resources */,
143 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,
144 | );
145 | runOnlyForDeploymentPostprocessing = 0;
146 | };
147 | /* End PBXResourcesBuildPhase section */
148 |
149 | /* Begin PBXShellScriptBuildPhase section */
150 | C633A3E528CC5CF400BEEE70 /* Swiftlint */ = {
151 | isa = PBXShellScriptBuildPhase;
152 | buildActionMask = 2147483647;
153 | files = (
154 | );
155 | inputFileListPaths = (
156 | );
157 | inputPaths = (
158 | );
159 | name = Swiftlint;
160 | outputFileListPaths = (
161 | );
162 | outputPaths = (
163 | );
164 | runOnlyForDeploymentPostprocessing = 0;
165 | shellPath = /bin/sh;
166 | shellScript = "if which swiftlint > /dev/null; then\n swiftlint --config ../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
167 | };
168 | /* End PBXShellScriptBuildPhase section */
169 |
170 | /* Begin PBXSourcesBuildPhase section */
171 | 607FACCC1AFB9204008FA782 /* Sources */ = {
172 | isa = PBXSourcesBuildPhase;
173 | buildActionMask = 2147483647;
174 | files = (
175 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,
176 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
177 | );
178 | runOnlyForDeploymentPostprocessing = 0;
179 | };
180 | /* End PBXSourcesBuildPhase section */
181 |
182 | /* Begin PBXVariantGroup section */
183 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = {
184 | isa = PBXVariantGroup;
185 | children = (
186 | 607FACDA1AFB9204008FA782 /* Base */,
187 | );
188 | name = Main.storyboard;
189 | sourceTree = "";
190 | };
191 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = {
192 | isa = PBXVariantGroup;
193 | children = (
194 | 607FACDF1AFB9204008FA782 /* Base */,
195 | );
196 | name = LaunchScreen.xib;
197 | sourceTree = "";
198 | };
199 | /* End PBXVariantGroup section */
200 |
201 | /* Begin XCBuildConfiguration section */
202 | 607FACED1AFB9204008FA782 /* Debug */ = {
203 | isa = XCBuildConfiguration;
204 | buildSettings = {
205 | ALWAYS_SEARCH_USER_PATHS = NO;
206 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
207 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
208 | CLANG_CXX_LIBRARY = "libc++";
209 | CLANG_ENABLE_MODULES = YES;
210 | CLANG_ENABLE_OBJC_ARC = YES;
211 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
212 | CLANG_WARN_BOOL_CONVERSION = YES;
213 | CLANG_WARN_COMMA = YES;
214 | CLANG_WARN_CONSTANT_CONVERSION = YES;
215 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
216 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
217 | CLANG_WARN_EMPTY_BODY = YES;
218 | CLANG_WARN_ENUM_CONVERSION = YES;
219 | CLANG_WARN_INFINITE_RECURSION = YES;
220 | CLANG_WARN_INT_CONVERSION = YES;
221 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
222 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
223 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
224 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
225 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
226 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
227 | CLANG_WARN_STRICT_PROTOTYPES = YES;
228 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
229 | CLANG_WARN_UNREACHABLE_CODE = YES;
230 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
231 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
232 | COPY_PHASE_STRIP = NO;
233 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
234 | ENABLE_STRICT_OBJC_MSGSEND = YES;
235 | ENABLE_TESTABILITY = YES;
236 | GCC_C_LANGUAGE_STANDARD = gnu99;
237 | GCC_DYNAMIC_NO_PIC = NO;
238 | GCC_NO_COMMON_BLOCKS = YES;
239 | GCC_OPTIMIZATION_LEVEL = 0;
240 | GCC_PREPROCESSOR_DEFINITIONS = (
241 | "DEBUG=1",
242 | "$(inherited)",
243 | );
244 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
245 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
246 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
247 | GCC_WARN_UNDECLARED_SELECTOR = YES;
248 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
249 | GCC_WARN_UNUSED_FUNCTION = YES;
250 | GCC_WARN_UNUSED_VARIABLE = YES;
251 | IPHONEOS_DEPLOYMENT_TARGET = 14;
252 | MTL_ENABLE_DEBUG_INFO = YES;
253 | ONLY_ACTIVE_ARCH = YES;
254 | SDKROOT = iphoneos;
255 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
256 | };
257 | name = Debug;
258 | };
259 | 607FACEE1AFB9204008FA782 /* Release */ = {
260 | isa = XCBuildConfiguration;
261 | buildSettings = {
262 | ALWAYS_SEARCH_USER_PATHS = NO;
263 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
264 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
265 | CLANG_CXX_LIBRARY = "libc++";
266 | CLANG_ENABLE_MODULES = YES;
267 | CLANG_ENABLE_OBJC_ARC = YES;
268 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
269 | CLANG_WARN_BOOL_CONVERSION = YES;
270 | CLANG_WARN_COMMA = YES;
271 | CLANG_WARN_CONSTANT_CONVERSION = YES;
272 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
273 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
274 | CLANG_WARN_EMPTY_BODY = YES;
275 | CLANG_WARN_ENUM_CONVERSION = YES;
276 | CLANG_WARN_INFINITE_RECURSION = YES;
277 | CLANG_WARN_INT_CONVERSION = YES;
278 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
279 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
282 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
283 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
284 | CLANG_WARN_STRICT_PROTOTYPES = YES;
285 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
286 | CLANG_WARN_UNREACHABLE_CODE = YES;
287 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
288 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
289 | COPY_PHASE_STRIP = NO;
290 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
291 | ENABLE_NS_ASSERTIONS = NO;
292 | ENABLE_STRICT_OBJC_MSGSEND = YES;
293 | GCC_C_LANGUAGE_STANDARD = gnu99;
294 | GCC_NO_COMMON_BLOCKS = YES;
295 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
296 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
297 | GCC_WARN_UNDECLARED_SELECTOR = YES;
298 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
299 | GCC_WARN_UNUSED_FUNCTION = YES;
300 | GCC_WARN_UNUSED_VARIABLE = YES;
301 | IPHONEOS_DEPLOYMENT_TARGET = 14;
302 | MTL_ENABLE_DEBUG_INFO = NO;
303 | SDKROOT = iphoneos;
304 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
305 | VALIDATE_PRODUCT = YES;
306 | };
307 | name = Release;
308 | };
309 | 607FACF01AFB9204008FA782 /* Debug */ = {
310 | isa = XCBuildConfiguration;
311 | buildSettings = {
312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313 | DEVELOPMENT_TEAM = "";
314 | INFOPLIST_FILE = AMProgressHUD/Info.plist;
315 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
316 | MODULE_NAME = ExampleApp;
317 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
318 | PRODUCT_NAME = "$(TARGET_NAME)";
319 | SWIFT_VERSION = 5.0;
320 | };
321 | name = Debug;
322 | };
323 | 607FACF11AFB9204008FA782 /* Release */ = {
324 | isa = XCBuildConfiguration;
325 | buildSettings = {
326 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
327 | DEVELOPMENT_TEAM = "";
328 | INFOPLIST_FILE = AMProgressHUD/Info.plist;
329 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
330 | MODULE_NAME = ExampleApp;
331 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
332 | PRODUCT_NAME = "$(TARGET_NAME)";
333 | SWIFT_VERSION = 5.0;
334 | };
335 | name = Release;
336 | };
337 | /* End XCBuildConfiguration section */
338 |
339 | /* Begin XCConfigurationList section */
340 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Example" */ = {
341 | isa = XCConfigurationList;
342 | buildConfigurations = (
343 | 607FACED1AFB9204008FA782 /* Debug */,
344 | 607FACEE1AFB9204008FA782 /* Release */,
345 | );
346 | defaultConfigurationIsVisible = 0;
347 | defaultConfigurationName = Release;
348 | };
349 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Example" */ = {
350 | isa = XCConfigurationList;
351 | buildConfigurations = (
352 | 607FACF01AFB9204008FA782 /* Debug */,
353 | 607FACF11AFB9204008FA782 /* Release */,
354 | );
355 | defaultConfigurationIsVisible = 0;
356 | defaultConfigurationName = Release;
357 | };
358 | /* End XCConfigurationList section */
359 | };
360 | rootObject = 607FACC81AFB9204008FA782 /* Project object */;
361 | }
362 |
--------------------------------------------------------------------------------
/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/Example.xcodeproj/xcshareddata/xcschemes/AMProgressHUD-Example.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
51 |
52 |
53 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
76 |
78 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/Example/Podfile:
--------------------------------------------------------------------------------
1 | use_frameworks!
2 |
3 | target 'AMProgressHUD_Example' do
4 | pod 'AMProgressHUD', :path => '../'
5 |
6 | target 'AMProgressHUD_Tests' do
7 | inherit! :search_paths
8 |
9 |
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/Example/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - AMProgressHUD (0.1.0)
3 |
4 | DEPENDENCIES:
5 | - AMProgressHUD (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | AMProgressHUD:
9 | :path: "../"
10 |
11 | SPEC CHECKSUMS:
12 | AMProgressHUD: c5472e14d943cb1ff320385b7e1fbbcab8128b04
13 |
14 | PODFILE CHECKSUM: 8ea126ac141fc466b2302cb28d1167359c3460af
15 |
16 | COCOAPODS: 1.6.0
17 |
--------------------------------------------------------------------------------
/Example/Pods/Local Podspecs/AMProgressHUD.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "AMProgressHUD",
3 | "version": "0.1.0",
4 | "summary": "A gif progress HUD for your iOS.",
5 | "description": "A gif progress HUD to display the progress of an ongoing task.",
6 | "homepage": "https://github.com/Abedalkareem/AMProgressHUD",
7 | "license": {
8 | "type": "MIT",
9 | "file": "LICENSE"
10 | },
11 | "authors": {
12 | "Abedalkareem": "abedalkareem.omreyh@yahoo.com"
13 | },
14 | "source": {
15 | "git": "https://github.com/Abedalkareem/AMProgressHUD.git",
16 | "tag": "0.1.0"
17 | },
18 | "swift_version": "5.0",
19 | "platforms": {
20 | "ios": "8.0"
21 | },
22 | "source_files": "AMProgressHUD/Classes/**/*"
23 | }
24 |
--------------------------------------------------------------------------------
/Example/Pods/Manifest.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - AMProgressHUD (0.1.0)
3 |
4 | DEPENDENCIES:
5 | - AMProgressHUD (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | AMProgressHUD:
9 | :path: "../"
10 |
11 | SPEC CHECKSUMS:
12 | AMProgressHUD: c5472e14d943cb1ff320385b7e1fbbcab8128b04
13 |
14 | PODFILE CHECKSUM: 8ea126ac141fc466b2302cb28d1167359c3460af
15 |
16 | COCOAPODS: 1.6.0
17 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 16E45E108A48DD0F34727AB5A316AEAF /* Pods-AMProgressHUD_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E8EEA456E908FED55EB3548ED48AB1A /* Pods-AMProgressHUD_Example-dummy.m */; };
11 | 1F00A76A357196582BE5B3673F12D16C /* Pods-AMProgressHUD_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F64A916ED037517EA2354C0029A0A24 /* Pods-AMProgressHUD_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
12 | 2D87B35D8C4F52729FAC557970DE6B98 /* AMProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DDF29F1BDFCD4D18F7D748304A1A9AE /* AMProgressHUD-dummy.m */; };
13 | 87F0D10B2960380DEA4252F45FFCB79C /* Pods-AMProgressHUD_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F7603E875C85001F13ADA3D3E04ACB96 /* Pods-AMProgressHUD_Tests-dummy.m */; };
14 | 99EDC17C174E837CC81C26C135CFA33F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; };
15 | A2C5A7DF60F7F989D7580B131F883B1F /* AMProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 412A7D710661FC4DC6C0B587475719E4 /* AMProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
16 | D9777F5A0FE15B74E12359FFF201516C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; };
17 | E506D51436061E0D8FED5632CD7F6213 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; };
18 | EA543A36A798D179C947387E5B946971 /* Pods-AMProgressHUD_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 497A47675DD604F4EF0E78EE00D2D23E /* Pods-AMProgressHUD_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
19 | F1004AFE5703D4EE8A256B0EEE45C811 /* AMProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1DAE16DDD2E54FA468D1D3B28676B0 /* AMProgressHUD.swift */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXContainerItemProxy section */
23 | 10E32FE10DDFE76E3FF7CD179EF7B94C /* PBXContainerItemProxy */ = {
24 | isa = PBXContainerItemProxy;
25 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
26 | proxyType = 1;
27 | remoteGlobalIDString = AA315A844CC13B5D84689B7A0E5AC058;
28 | remoteInfo = AMProgressHUD;
29 | };
30 | 6060038AFBCA614CE40FDFA603E51CF7 /* PBXContainerItemProxy */ = {
31 | isa = PBXContainerItemProxy;
32 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
33 | proxyType = 1;
34 | remoteGlobalIDString = 9DC8401AA944E55529F3145E747C8047;
35 | remoteInfo = "Pods-AMProgressHUD_Example";
36 | };
37 | /* End PBXContainerItemProxy section */
38 |
39 | /* Begin PBXFileReference section */
40 | 004E1A12B8931FEE4F8F9F25CD7A5ECF /* Pods_AMProgressHUD_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AMProgressHUD_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 0304F7F42015BB69E0BD824ED81536F7 /* AMProgressHUD.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = AMProgressHUD.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
42 | 07C6E7D3CFB48B18E83ECCCE5C8BB9AD /* Pods-AMProgressHUD_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AMProgressHUD_Tests.release.xcconfig"; sourceTree = ""; };
43 | 0F13815A2D614E8F644FA159FCCE764A /* Pods-AMProgressHUD_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AMProgressHUD_Tests.modulemap"; sourceTree = ""; };
44 | 20C4E98ACB92E31695EA4FFF97AA241B /* Pods-AMProgressHUD_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AMProgressHUD_Example-acknowledgements.markdown"; sourceTree = ""; };
45 | 2DD9FAE329C5EF3AC5E813BFA784215B /* Pods-AMProgressHUD_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AMProgressHUD_Tests-Info.plist"; sourceTree = ""; };
46 | 2DDF29F1BDFCD4D18F7D748304A1A9AE /* AMProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AMProgressHUD-dummy.m"; sourceTree = ""; };
47 | 2E82C443426D7F6F06C241E210157A92 /* AMProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AMProgressHUD.xcconfig; sourceTree = ""; };
48 | 2E889B2135C5EAB450B2666D4C6949C8 /* Pods-AMProgressHUD_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AMProgressHUD_Tests.debug.xcconfig"; sourceTree = ""; };
49 | 2E8EEA456E908FED55EB3548ED48AB1A /* Pods-AMProgressHUD_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AMProgressHUD_Example-dummy.m"; sourceTree = ""; };
50 | 2F9A5A327D33938A0C2DF13780E90132 /* Pods-AMProgressHUD_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AMProgressHUD_Example.debug.xcconfig"; sourceTree = ""; };
51 | 3605AD5F5533815DFE5A9D904748C626 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
52 | 3BF362F0EADB7373C41F08E0F268EAFD /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; };
53 | 412A7D710661FC4DC6C0B587475719E4 /* AMProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AMProgressHUD-umbrella.h"; sourceTree = ""; };
54 | 497A47675DD604F4EF0E78EE00D2D23E /* Pods-AMProgressHUD_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AMProgressHUD_Example-umbrella.h"; sourceTree = ""; };
55 | 547B17D6DD7D700221D81C2AC491CAC5 /* Pods-AMProgressHUD_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AMProgressHUD_Example.modulemap"; sourceTree = ""; };
56 | 58BD2356D1E99C85FDA2AC38CE270047 /* Pods_AMProgressHUD_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AMProgressHUD_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
57 | 68136CB1F4E8ABC96C36A6E0DCE39092 /* Pods-AMProgressHUD_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AMProgressHUD_Example-Info.plist"; sourceTree = ""; };
58 | 6F64A916ED037517EA2354C0029A0A24 /* Pods-AMProgressHUD_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AMProgressHUD_Tests-umbrella.h"; sourceTree = ""; };
59 | 7ACF914ED17555D3E1EB3C88EAC8FDD9 /* Pods-AMProgressHUD_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AMProgressHUD_Tests-acknowledgements.markdown"; sourceTree = ""; };
60 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
61 | 9FAF42180604DC0996F71D9D371C4EE4 /* Pods-AMProgressHUD_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AMProgressHUD_Example-frameworks.sh"; sourceTree = ""; };
62 | AA14B40649269E0A5FAC22787C7204B8 /* Pods-AMProgressHUD_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AMProgressHUD_Tests-acknowledgements.plist"; sourceTree = ""; };
63 | B46EC28AB206FDCA8409FC6BE57F3B67 /* AMProgressHUD-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AMProgressHUD-Info.plist"; sourceTree = ""; };
64 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
65 | CC1DAE16DDD2E54FA468D1D3B28676B0 /* AMProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AMProgressHUD.swift; path = AMProgressHUD/Classes/AMProgressHUD.swift; sourceTree = ""; };
66 | D3429CE99B40D18BF9418F849284E1AC /* AMProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AMProgressHUD-prefix.pch"; sourceTree = ""; };
67 | D79478F9440BDE86D00E45A611D716AB /* AMProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AMProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; };
68 | EEDDEF40A8AB4959FD790C7842A9571F /* AMProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AMProgressHUD.modulemap; sourceTree = ""; };
69 | F0A065F95EE8E5CECBECD9CA645EAFE5 /* Pods-AMProgressHUD_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AMProgressHUD_Example.release.xcconfig"; sourceTree = ""; };
70 | F7603E875C85001F13ADA3D3E04ACB96 /* Pods-AMProgressHUD_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AMProgressHUD_Tests-dummy.m"; sourceTree = ""; };
71 | F87118ED894E3865451254C4102A4093 /* Pods-AMProgressHUD_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AMProgressHUD_Example-acknowledgements.plist"; sourceTree = ""; };
72 | /* End PBXFileReference section */
73 |
74 | /* Begin PBXFrameworksBuildPhase section */
75 | 46BDD3C76F4778E74F7803A7CDA7A1D9 /* Frameworks */ = {
76 | isa = PBXFrameworksBuildPhase;
77 | buildActionMask = 2147483647;
78 | files = (
79 | D9777F5A0FE15B74E12359FFF201516C /* Foundation.framework in Frameworks */,
80 | );
81 | runOnlyForDeploymentPostprocessing = 0;
82 | };
83 | 477B50321913925A83982F74D9689788 /* Frameworks */ = {
84 | isa = PBXFrameworksBuildPhase;
85 | buildActionMask = 2147483647;
86 | files = (
87 | 99EDC17C174E837CC81C26C135CFA33F /* Foundation.framework in Frameworks */,
88 | );
89 | runOnlyForDeploymentPostprocessing = 0;
90 | };
91 | D81E4FDA40B38A41325575E0AF32AC87 /* Frameworks */ = {
92 | isa = PBXFrameworksBuildPhase;
93 | buildActionMask = 2147483647;
94 | files = (
95 | E506D51436061E0D8FED5632CD7F6213 /* Foundation.framework in Frameworks */,
96 | );
97 | runOnlyForDeploymentPostprocessing = 0;
98 | };
99 | /* End PBXFrameworksBuildPhase section */
100 |
101 | /* Begin PBXGroup section */
102 | 0583B1F1D7629BBDB598E71CDAD72428 /* AMProgressHUD */ = {
103 | isa = PBXGroup;
104 | children = (
105 | CC1DAE16DDD2E54FA468D1D3B28676B0 /* AMProgressHUD.swift */,
106 | C3AD893962E02B4C108D9C1F549A687A /* Pod */,
107 | 7B8B6C08187AAF3331FE29D251A1950B /* Support Files */,
108 | );
109 | name = AMProgressHUD;
110 | path = ../..;
111 | sourceTree = "";
112 | };
113 | 1E688A108600DD0D00999F0970849C80 /* Products */ = {
114 | isa = PBXGroup;
115 | children = (
116 | D79478F9440BDE86D00E45A611D716AB /* AMProgressHUD.framework */,
117 | 004E1A12B8931FEE4F8F9F25CD7A5ECF /* Pods_AMProgressHUD_Example.framework */,
118 | 58BD2356D1E99C85FDA2AC38CE270047 /* Pods_AMProgressHUD_Tests.framework */,
119 | );
120 | name = Products;
121 | sourceTree = "";
122 | };
123 | 7B8B6C08187AAF3331FE29D251A1950B /* Support Files */ = {
124 | isa = PBXGroup;
125 | children = (
126 | EEDDEF40A8AB4959FD790C7842A9571F /* AMProgressHUD.modulemap */,
127 | 2E82C443426D7F6F06C241E210157A92 /* AMProgressHUD.xcconfig */,
128 | 2DDF29F1BDFCD4D18F7D748304A1A9AE /* AMProgressHUD-dummy.m */,
129 | B46EC28AB206FDCA8409FC6BE57F3B67 /* AMProgressHUD-Info.plist */,
130 | D3429CE99B40D18BF9418F849284E1AC /* AMProgressHUD-prefix.pch */,
131 | 412A7D710661FC4DC6C0B587475719E4 /* AMProgressHUD-umbrella.h */,
132 | );
133 | name = "Support Files";
134 | path = "Example/Pods/Target Support Files/AMProgressHUD";
135 | sourceTree = "";
136 | };
137 | 8F8AE3BA8DF508D89EBDF62C46946E4E /* Targets Support Files */ = {
138 | isa = PBXGroup;
139 | children = (
140 | 9E32807ECA66C9991ECA10017FFA4C4B /* Pods-AMProgressHUD_Example */,
141 | BEFD9C84F7A04E4C8C8E44F85E047ABA /* Pods-AMProgressHUD_Tests */,
142 | );
143 | name = "Targets Support Files";
144 | sourceTree = "";
145 | };
146 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = {
147 | isa = PBXGroup;
148 | children = (
149 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */,
150 | );
151 | name = iOS;
152 | sourceTree = "";
153 | };
154 | 9E32807ECA66C9991ECA10017FFA4C4B /* Pods-AMProgressHUD_Example */ = {
155 | isa = PBXGroup;
156 | children = (
157 | 547B17D6DD7D700221D81C2AC491CAC5 /* Pods-AMProgressHUD_Example.modulemap */,
158 | 20C4E98ACB92E31695EA4FFF97AA241B /* Pods-AMProgressHUD_Example-acknowledgements.markdown */,
159 | F87118ED894E3865451254C4102A4093 /* Pods-AMProgressHUD_Example-acknowledgements.plist */,
160 | 2E8EEA456E908FED55EB3548ED48AB1A /* Pods-AMProgressHUD_Example-dummy.m */,
161 | 9FAF42180604DC0996F71D9D371C4EE4 /* Pods-AMProgressHUD_Example-frameworks.sh */,
162 | 68136CB1F4E8ABC96C36A6E0DCE39092 /* Pods-AMProgressHUD_Example-Info.plist */,
163 | 497A47675DD604F4EF0E78EE00D2D23E /* Pods-AMProgressHUD_Example-umbrella.h */,
164 | 2F9A5A327D33938A0C2DF13780E90132 /* Pods-AMProgressHUD_Example.debug.xcconfig */,
165 | F0A065F95EE8E5CECBECD9CA645EAFE5 /* Pods-AMProgressHUD_Example.release.xcconfig */,
166 | );
167 | name = "Pods-AMProgressHUD_Example";
168 | path = "Target Support Files/Pods-AMProgressHUD_Example";
169 | sourceTree = "";
170 | };
171 | B45DE2D2C88F1DDBF8F4EE260B8EC4F3 /* Development Pods */ = {
172 | isa = PBXGroup;
173 | children = (
174 | 0583B1F1D7629BBDB598E71CDAD72428 /* AMProgressHUD */,
175 | );
176 | name = "Development Pods";
177 | sourceTree = "";
178 | };
179 | BEFD9C84F7A04E4C8C8E44F85E047ABA /* Pods-AMProgressHUD_Tests */ = {
180 | isa = PBXGroup;
181 | children = (
182 | 0F13815A2D614E8F644FA159FCCE764A /* Pods-AMProgressHUD_Tests.modulemap */,
183 | 7ACF914ED17555D3E1EB3C88EAC8FDD9 /* Pods-AMProgressHUD_Tests-acknowledgements.markdown */,
184 | AA14B40649269E0A5FAC22787C7204B8 /* Pods-AMProgressHUD_Tests-acknowledgements.plist */,
185 | F7603E875C85001F13ADA3D3E04ACB96 /* Pods-AMProgressHUD_Tests-dummy.m */,
186 | 2DD9FAE329C5EF3AC5E813BFA784215B /* Pods-AMProgressHUD_Tests-Info.plist */,
187 | 6F64A916ED037517EA2354C0029A0A24 /* Pods-AMProgressHUD_Tests-umbrella.h */,
188 | 2E889B2135C5EAB450B2666D4C6949C8 /* Pods-AMProgressHUD_Tests.debug.xcconfig */,
189 | 07C6E7D3CFB48B18E83ECCCE5C8BB9AD /* Pods-AMProgressHUD_Tests.release.xcconfig */,
190 | );
191 | name = "Pods-AMProgressHUD_Tests";
192 | path = "Target Support Files/Pods-AMProgressHUD_Tests";
193 | sourceTree = "";
194 | };
195 | C3AD893962E02B4C108D9C1F549A687A /* Pod */ = {
196 | isa = PBXGroup;
197 | children = (
198 | 0304F7F42015BB69E0BD824ED81536F7 /* AMProgressHUD.podspec */,
199 | 3BF362F0EADB7373C41F08E0F268EAFD /* LICENSE */,
200 | 3605AD5F5533815DFE5A9D904748C626 /* README.md */,
201 | );
202 | name = Pod;
203 | sourceTree = "";
204 | };
205 | CF1408CF629C7361332E53B88F7BD30C = {
206 | isa = PBXGroup;
207 | children = (
208 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */,
209 | B45DE2D2C88F1DDBF8F4EE260B8EC4F3 /* Development Pods */,
210 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */,
211 | 1E688A108600DD0D00999F0970849C80 /* Products */,
212 | 8F8AE3BA8DF508D89EBDF62C46946E4E /* Targets Support Files */,
213 | );
214 | sourceTree = "";
215 | };
216 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = {
217 | isa = PBXGroup;
218 | children = (
219 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */,
220 | );
221 | name = Frameworks;
222 | sourceTree = "";
223 | };
224 | /* End PBXGroup section */
225 |
226 | /* Begin PBXHeadersBuildPhase section */
227 | 3BE70C18780741C59B1F8CFCA56C888C /* Headers */ = {
228 | isa = PBXHeadersBuildPhase;
229 | buildActionMask = 2147483647;
230 | files = (
231 | EA543A36A798D179C947387E5B946971 /* Pods-AMProgressHUD_Example-umbrella.h in Headers */,
232 | );
233 | runOnlyForDeploymentPostprocessing = 0;
234 | };
235 | 503F25A9737A52371E814B0808BB5A9E /* Headers */ = {
236 | isa = PBXHeadersBuildPhase;
237 | buildActionMask = 2147483647;
238 | files = (
239 | 1F00A76A357196582BE5B3673F12D16C /* Pods-AMProgressHUD_Tests-umbrella.h in Headers */,
240 | );
241 | runOnlyForDeploymentPostprocessing = 0;
242 | };
243 | 6700A458935B5D0A4A08EB06D0D23DED /* Headers */ = {
244 | isa = PBXHeadersBuildPhase;
245 | buildActionMask = 2147483647;
246 | files = (
247 | A2C5A7DF60F7F989D7580B131F883B1F /* AMProgressHUD-umbrella.h in Headers */,
248 | );
249 | runOnlyForDeploymentPostprocessing = 0;
250 | };
251 | /* End PBXHeadersBuildPhase section */
252 |
253 | /* Begin PBXNativeTarget section */
254 | 9DC8401AA944E55529F3145E747C8047 /* Pods-AMProgressHUD_Example */ = {
255 | isa = PBXNativeTarget;
256 | buildConfigurationList = CDDB29CF4CB75B4EFDEDC4B84B296061 /* Build configuration list for PBXNativeTarget "Pods-AMProgressHUD_Example" */;
257 | buildPhases = (
258 | 3BE70C18780741C59B1F8CFCA56C888C /* Headers */,
259 | 2C0E28DC6EE73589B3B5B5E3307CDAF0 /* Sources */,
260 | 46BDD3C76F4778E74F7803A7CDA7A1D9 /* Frameworks */,
261 | 8A6EC7AFE6D85B91C5709156EFC1E44B /* Resources */,
262 | );
263 | buildRules = (
264 | );
265 | dependencies = (
266 | 92F25B0C0F3853254C9A01BE75909F71 /* PBXTargetDependency */,
267 | );
268 | name = "Pods-AMProgressHUD_Example";
269 | productName = "Pods-AMProgressHUD_Example";
270 | productReference = 004E1A12B8931FEE4F8F9F25CD7A5ECF /* Pods_AMProgressHUD_Example.framework */;
271 | productType = "com.apple.product-type.framework";
272 | };
273 | AA315A844CC13B5D84689B7A0E5AC058 /* AMProgressHUD */ = {
274 | isa = PBXNativeTarget;
275 | buildConfigurationList = C8D9482546FCC514538E27BE1FD02624 /* Build configuration list for PBXNativeTarget "AMProgressHUD" */;
276 | buildPhases = (
277 | 6700A458935B5D0A4A08EB06D0D23DED /* Headers */,
278 | 4C6616E268E2CC29B3EBEFBBD259F14C /* Sources */,
279 | D81E4FDA40B38A41325575E0AF32AC87 /* Frameworks */,
280 | 945E192309DE963D8CC980FABB565C4B /* Resources */,
281 | );
282 | buildRules = (
283 | );
284 | dependencies = (
285 | );
286 | name = AMProgressHUD;
287 | productName = AMProgressHUD;
288 | productReference = D79478F9440BDE86D00E45A611D716AB /* AMProgressHUD.framework */;
289 | productType = "com.apple.product-type.framework";
290 | };
291 | D4E6FE0F93666F970F9C670DBF691F37 /* Pods-AMProgressHUD_Tests */ = {
292 | isa = PBXNativeTarget;
293 | buildConfigurationList = E662B2FA538EEBB21E15CDB9B71F7B22 /* Build configuration list for PBXNativeTarget "Pods-AMProgressHUD_Tests" */;
294 | buildPhases = (
295 | 503F25A9737A52371E814B0808BB5A9E /* Headers */,
296 | 341E10E8D8C3F13292903C5DCF426D90 /* Sources */,
297 | 477B50321913925A83982F74D9689788 /* Frameworks */,
298 | 08ED2EF1961DA1130A464F66CF3856A9 /* Resources */,
299 | );
300 | buildRules = (
301 | );
302 | dependencies = (
303 | 3F9F59713F2CB8D9B9FCBA41F91ACC4A /* PBXTargetDependency */,
304 | );
305 | name = "Pods-AMProgressHUD_Tests";
306 | productName = "Pods-AMProgressHUD_Tests";
307 | productReference = 58BD2356D1E99C85FDA2AC38CE270047 /* Pods_AMProgressHUD_Tests.framework */;
308 | productType = "com.apple.product-type.framework";
309 | };
310 | /* End PBXNativeTarget section */
311 |
312 | /* Begin PBXProject section */
313 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = {
314 | isa = PBXProject;
315 | attributes = {
316 | LastSwiftUpdateCheck = 0930;
317 | LastUpgradeCheck = 1020;
318 | };
319 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */;
320 | compatibilityVersion = "Xcode 3.2";
321 | developmentRegion = English;
322 | hasScannedForEncodings = 0;
323 | knownRegions = (
324 | English,
325 | en,
326 | );
327 | mainGroup = CF1408CF629C7361332E53B88F7BD30C;
328 | productRefGroup = 1E688A108600DD0D00999F0970849C80 /* Products */;
329 | projectDirPath = "";
330 | projectRoot = "";
331 | targets = (
332 | AA315A844CC13B5D84689B7A0E5AC058 /* AMProgressHUD */,
333 | 9DC8401AA944E55529F3145E747C8047 /* Pods-AMProgressHUD_Example */,
334 | D4E6FE0F93666F970F9C670DBF691F37 /* Pods-AMProgressHUD_Tests */,
335 | );
336 | };
337 | /* End PBXProject section */
338 |
339 | /* Begin PBXResourcesBuildPhase section */
340 | 08ED2EF1961DA1130A464F66CF3856A9 /* Resources */ = {
341 | isa = PBXResourcesBuildPhase;
342 | buildActionMask = 2147483647;
343 | files = (
344 | );
345 | runOnlyForDeploymentPostprocessing = 0;
346 | };
347 | 8A6EC7AFE6D85B91C5709156EFC1E44B /* Resources */ = {
348 | isa = PBXResourcesBuildPhase;
349 | buildActionMask = 2147483647;
350 | files = (
351 | );
352 | runOnlyForDeploymentPostprocessing = 0;
353 | };
354 | 945E192309DE963D8CC980FABB565C4B /* Resources */ = {
355 | isa = PBXResourcesBuildPhase;
356 | buildActionMask = 2147483647;
357 | files = (
358 | );
359 | runOnlyForDeploymentPostprocessing = 0;
360 | };
361 | /* End PBXResourcesBuildPhase section */
362 |
363 | /* Begin PBXSourcesBuildPhase section */
364 | 2C0E28DC6EE73589B3B5B5E3307CDAF0 /* Sources */ = {
365 | isa = PBXSourcesBuildPhase;
366 | buildActionMask = 2147483647;
367 | files = (
368 | 16E45E108A48DD0F34727AB5A316AEAF /* Pods-AMProgressHUD_Example-dummy.m in Sources */,
369 | );
370 | runOnlyForDeploymentPostprocessing = 0;
371 | };
372 | 341E10E8D8C3F13292903C5DCF426D90 /* Sources */ = {
373 | isa = PBXSourcesBuildPhase;
374 | buildActionMask = 2147483647;
375 | files = (
376 | 87F0D10B2960380DEA4252F45FFCB79C /* Pods-AMProgressHUD_Tests-dummy.m in Sources */,
377 | );
378 | runOnlyForDeploymentPostprocessing = 0;
379 | };
380 | 4C6616E268E2CC29B3EBEFBBD259F14C /* Sources */ = {
381 | isa = PBXSourcesBuildPhase;
382 | buildActionMask = 2147483647;
383 | files = (
384 | 2D87B35D8C4F52729FAC557970DE6B98 /* AMProgressHUD-dummy.m in Sources */,
385 | F1004AFE5703D4EE8A256B0EEE45C811 /* AMProgressHUD.swift in Sources */,
386 | );
387 | runOnlyForDeploymentPostprocessing = 0;
388 | };
389 | /* End PBXSourcesBuildPhase section */
390 |
391 | /* Begin PBXTargetDependency section */
392 | 3F9F59713F2CB8D9B9FCBA41F91ACC4A /* PBXTargetDependency */ = {
393 | isa = PBXTargetDependency;
394 | name = "Pods-AMProgressHUD_Example";
395 | target = 9DC8401AA944E55529F3145E747C8047 /* Pods-AMProgressHUD_Example */;
396 | targetProxy = 6060038AFBCA614CE40FDFA603E51CF7 /* PBXContainerItemProxy */;
397 | };
398 | 92F25B0C0F3853254C9A01BE75909F71 /* PBXTargetDependency */ = {
399 | isa = PBXTargetDependency;
400 | name = AMProgressHUD;
401 | target = AA315A844CC13B5D84689B7A0E5AC058 /* AMProgressHUD */;
402 | targetProxy = 10E32FE10DDFE76E3FF7CD179EF7B94C /* PBXContainerItemProxy */;
403 | };
404 | /* End PBXTargetDependency section */
405 |
406 | /* Begin XCBuildConfiguration section */
407 | 0458948E9F79BC4F9433864FE88AECC9 /* Debug */ = {
408 | isa = XCBuildConfiguration;
409 | baseConfigurationReference = 2F9A5A327D33938A0C2DF13780E90132 /* Pods-AMProgressHUD_Example.debug.xcconfig */;
410 | buildSettings = {
411 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
412 | CODE_SIGN_IDENTITY = "";
413 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
414 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
415 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
416 | CURRENT_PROJECT_VERSION = 1;
417 | DEFINES_MODULE = YES;
418 | DYLIB_COMPATIBILITY_VERSION = 1;
419 | DYLIB_CURRENT_VERSION = 1;
420 | DYLIB_INSTALL_NAME_BASE = "@rpath";
421 | INFOPLIST_FILE = "Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-Info.plist";
422 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
423 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
424 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
425 | MACH_O_TYPE = staticlib;
426 | MODULEMAP_FILE = "Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example.modulemap";
427 | OTHER_LDFLAGS = "";
428 | OTHER_LIBTOOLFLAGS = "";
429 | PODS_ROOT = "$(SRCROOT)";
430 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
431 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
432 | SDKROOT = iphoneos;
433 | SKIP_INSTALL = YES;
434 | TARGETED_DEVICE_FAMILY = "1,2";
435 | VERSIONING_SYSTEM = "apple-generic";
436 | VERSION_INFO_PREFIX = "";
437 | };
438 | name = Debug;
439 | };
440 | 384092D957D6B7C36BE0C6A0E5D3B45C /* Release */ = {
441 | isa = XCBuildConfiguration;
442 | baseConfigurationReference = 2E82C443426D7F6F06C241E210157A92 /* AMProgressHUD.xcconfig */;
443 | buildSettings = {
444 | CODE_SIGN_IDENTITY = "";
445 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
446 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
447 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
448 | CURRENT_PROJECT_VERSION = 1;
449 | DEFINES_MODULE = YES;
450 | DYLIB_COMPATIBILITY_VERSION = 1;
451 | DYLIB_CURRENT_VERSION = 1;
452 | DYLIB_INSTALL_NAME_BASE = "@rpath";
453 | GCC_PREFIX_HEADER = "Target Support Files/AMProgressHUD/AMProgressHUD-prefix.pch";
454 | INFOPLIST_FILE = "Target Support Files/AMProgressHUD/AMProgressHUD-Info.plist";
455 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
456 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
458 | MODULEMAP_FILE = "Target Support Files/AMProgressHUD/AMProgressHUD.modulemap";
459 | PRODUCT_MODULE_NAME = AMProgressHUD;
460 | PRODUCT_NAME = AMProgressHUD;
461 | SDKROOT = iphoneos;
462 | SKIP_INSTALL = YES;
463 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
464 | SWIFT_VERSION = 5.0;
465 | TARGETED_DEVICE_FAMILY = "1,2";
466 | VALIDATE_PRODUCT = YES;
467 | VERSIONING_SYSTEM = "apple-generic";
468 | VERSION_INFO_PREFIX = "";
469 | };
470 | name = Release;
471 | };
472 | 67A6EF4D9842A3038AD77D2734499877 /* Debug */ = {
473 | isa = XCBuildConfiguration;
474 | baseConfigurationReference = 2E889B2135C5EAB450B2666D4C6949C8 /* Pods-AMProgressHUD_Tests.debug.xcconfig */;
475 | buildSettings = {
476 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
477 | CODE_SIGN_IDENTITY = "";
478 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
479 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
480 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
481 | CURRENT_PROJECT_VERSION = 1;
482 | DEFINES_MODULE = YES;
483 | DYLIB_COMPATIBILITY_VERSION = 1;
484 | DYLIB_CURRENT_VERSION = 1;
485 | DYLIB_INSTALL_NAME_BASE = "@rpath";
486 | INFOPLIST_FILE = "Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-Info.plist";
487 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
488 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
489 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
490 | MACH_O_TYPE = staticlib;
491 | MODULEMAP_FILE = "Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests.modulemap";
492 | OTHER_LDFLAGS = "";
493 | OTHER_LIBTOOLFLAGS = "";
494 | PODS_ROOT = "$(SRCROOT)";
495 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
496 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
497 | SDKROOT = iphoneos;
498 | SKIP_INSTALL = YES;
499 | TARGETED_DEVICE_FAMILY = "1,2";
500 | VERSIONING_SYSTEM = "apple-generic";
501 | VERSION_INFO_PREFIX = "";
502 | };
503 | name = Debug;
504 | };
505 | 98E6012197D69FA139B34A903D2383A2 /* Release */ = {
506 | isa = XCBuildConfiguration;
507 | baseConfigurationReference = F0A065F95EE8E5CECBECD9CA645EAFE5 /* Pods-AMProgressHUD_Example.release.xcconfig */;
508 | buildSettings = {
509 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
510 | CODE_SIGN_IDENTITY = "";
511 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
512 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
513 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
514 | CURRENT_PROJECT_VERSION = 1;
515 | DEFINES_MODULE = YES;
516 | DYLIB_COMPATIBILITY_VERSION = 1;
517 | DYLIB_CURRENT_VERSION = 1;
518 | DYLIB_INSTALL_NAME_BASE = "@rpath";
519 | INFOPLIST_FILE = "Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-Info.plist";
520 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
521 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
522 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
523 | MACH_O_TYPE = staticlib;
524 | MODULEMAP_FILE = "Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example.modulemap";
525 | OTHER_LDFLAGS = "";
526 | OTHER_LIBTOOLFLAGS = "";
527 | PODS_ROOT = "$(SRCROOT)";
528 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
529 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
530 | SDKROOT = iphoneos;
531 | SKIP_INSTALL = YES;
532 | TARGETED_DEVICE_FAMILY = "1,2";
533 | VALIDATE_PRODUCT = YES;
534 | VERSIONING_SYSTEM = "apple-generic";
535 | VERSION_INFO_PREFIX = "";
536 | };
537 | name = Release;
538 | };
539 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = {
540 | isa = XCBuildConfiguration;
541 | buildSettings = {
542 | ALWAYS_SEARCH_USER_PATHS = NO;
543 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
544 | CLANG_ANALYZER_NONNULL = YES;
545 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
546 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
547 | CLANG_CXX_LIBRARY = "libc++";
548 | CLANG_ENABLE_MODULES = YES;
549 | CLANG_ENABLE_OBJC_ARC = YES;
550 | CLANG_ENABLE_OBJC_WEAK = YES;
551 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
552 | CLANG_WARN_BOOL_CONVERSION = YES;
553 | CLANG_WARN_COMMA = YES;
554 | CLANG_WARN_CONSTANT_CONVERSION = YES;
555 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
556 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
557 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
558 | CLANG_WARN_EMPTY_BODY = YES;
559 | CLANG_WARN_ENUM_CONVERSION = YES;
560 | CLANG_WARN_INFINITE_RECURSION = YES;
561 | CLANG_WARN_INT_CONVERSION = YES;
562 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
563 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
564 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
565 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
566 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
567 | CLANG_WARN_STRICT_PROTOTYPES = YES;
568 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
569 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
570 | CLANG_WARN_UNREACHABLE_CODE = YES;
571 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
572 | COPY_PHASE_STRIP = NO;
573 | DEBUG_INFORMATION_FORMAT = dwarf;
574 | ENABLE_STRICT_OBJC_MSGSEND = YES;
575 | ENABLE_TESTABILITY = YES;
576 | GCC_C_LANGUAGE_STANDARD = gnu11;
577 | GCC_DYNAMIC_NO_PIC = NO;
578 | GCC_NO_COMMON_BLOCKS = YES;
579 | GCC_OPTIMIZATION_LEVEL = 0;
580 | GCC_PREPROCESSOR_DEFINITIONS = (
581 | "POD_CONFIGURATION_DEBUG=1",
582 | "DEBUG=1",
583 | "$(inherited)",
584 | );
585 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
586 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
587 | GCC_WARN_UNDECLARED_SELECTOR = YES;
588 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
589 | GCC_WARN_UNUSED_FUNCTION = YES;
590 | GCC_WARN_UNUSED_VARIABLE = YES;
591 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
592 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
593 | MTL_FAST_MATH = YES;
594 | ONLY_ACTIVE_ARCH = YES;
595 | PRODUCT_NAME = "$(TARGET_NAME)";
596 | STRIP_INSTALLED_PRODUCT = NO;
597 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
598 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
599 | SWIFT_VERSION = 4.2;
600 | SYMROOT = "${SRCROOT}/../build";
601 | };
602 | name = Debug;
603 | };
604 | D81BC88432EA516880D145C8F3ACE5FA /* Release */ = {
605 | isa = XCBuildConfiguration;
606 | baseConfigurationReference = 07C6E7D3CFB48B18E83ECCCE5C8BB9AD /* Pods-AMProgressHUD_Tests.release.xcconfig */;
607 | buildSettings = {
608 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
609 | CODE_SIGN_IDENTITY = "";
610 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
611 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
612 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
613 | CURRENT_PROJECT_VERSION = 1;
614 | DEFINES_MODULE = YES;
615 | DYLIB_COMPATIBILITY_VERSION = 1;
616 | DYLIB_CURRENT_VERSION = 1;
617 | DYLIB_INSTALL_NAME_BASE = "@rpath";
618 | INFOPLIST_FILE = "Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-Info.plist";
619 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
620 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
621 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
622 | MACH_O_TYPE = staticlib;
623 | MODULEMAP_FILE = "Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests.modulemap";
624 | OTHER_LDFLAGS = "";
625 | OTHER_LIBTOOLFLAGS = "";
626 | PODS_ROOT = "$(SRCROOT)";
627 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
628 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
629 | SDKROOT = iphoneos;
630 | SKIP_INSTALL = YES;
631 | TARGETED_DEVICE_FAMILY = "1,2";
632 | VALIDATE_PRODUCT = YES;
633 | VERSIONING_SYSTEM = "apple-generic";
634 | VERSION_INFO_PREFIX = "";
635 | };
636 | name = Release;
637 | };
638 | DE388C3BD52F08D125BBA2737FB41CED /* Debug */ = {
639 | isa = XCBuildConfiguration;
640 | baseConfigurationReference = 2E82C443426D7F6F06C241E210157A92 /* AMProgressHUD.xcconfig */;
641 | buildSettings = {
642 | CODE_SIGN_IDENTITY = "";
643 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
644 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
645 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
646 | CURRENT_PROJECT_VERSION = 1;
647 | DEFINES_MODULE = YES;
648 | DYLIB_COMPATIBILITY_VERSION = 1;
649 | DYLIB_CURRENT_VERSION = 1;
650 | DYLIB_INSTALL_NAME_BASE = "@rpath";
651 | GCC_PREFIX_HEADER = "Target Support Files/AMProgressHUD/AMProgressHUD-prefix.pch";
652 | INFOPLIST_FILE = "Target Support Files/AMProgressHUD/AMProgressHUD-Info.plist";
653 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
654 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
655 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
656 | MODULEMAP_FILE = "Target Support Files/AMProgressHUD/AMProgressHUD.modulemap";
657 | PRODUCT_MODULE_NAME = AMProgressHUD;
658 | PRODUCT_NAME = AMProgressHUD;
659 | SDKROOT = iphoneos;
660 | SKIP_INSTALL = YES;
661 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
662 | SWIFT_VERSION = 5.0;
663 | TARGETED_DEVICE_FAMILY = "1,2";
664 | VERSIONING_SYSTEM = "apple-generic";
665 | VERSION_INFO_PREFIX = "";
666 | };
667 | name = Debug;
668 | };
669 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = {
670 | isa = XCBuildConfiguration;
671 | buildSettings = {
672 | ALWAYS_SEARCH_USER_PATHS = NO;
673 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
674 | CLANG_ANALYZER_NONNULL = YES;
675 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
676 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
677 | CLANG_CXX_LIBRARY = "libc++";
678 | CLANG_ENABLE_MODULES = YES;
679 | CLANG_ENABLE_OBJC_ARC = YES;
680 | CLANG_ENABLE_OBJC_WEAK = YES;
681 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
682 | CLANG_WARN_BOOL_CONVERSION = YES;
683 | CLANG_WARN_COMMA = YES;
684 | CLANG_WARN_CONSTANT_CONVERSION = YES;
685 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
686 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
687 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
688 | CLANG_WARN_EMPTY_BODY = YES;
689 | CLANG_WARN_ENUM_CONVERSION = YES;
690 | CLANG_WARN_INFINITE_RECURSION = YES;
691 | CLANG_WARN_INT_CONVERSION = YES;
692 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
693 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
694 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
695 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
696 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
697 | CLANG_WARN_STRICT_PROTOTYPES = YES;
698 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
699 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
700 | CLANG_WARN_UNREACHABLE_CODE = YES;
701 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
702 | COPY_PHASE_STRIP = NO;
703 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
704 | ENABLE_NS_ASSERTIONS = NO;
705 | ENABLE_STRICT_OBJC_MSGSEND = YES;
706 | GCC_C_LANGUAGE_STANDARD = gnu11;
707 | GCC_NO_COMMON_BLOCKS = YES;
708 | GCC_PREPROCESSOR_DEFINITIONS = (
709 | "POD_CONFIGURATION_RELEASE=1",
710 | "$(inherited)",
711 | );
712 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
713 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
714 | GCC_WARN_UNDECLARED_SELECTOR = YES;
715 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
716 | GCC_WARN_UNUSED_FUNCTION = YES;
717 | GCC_WARN_UNUSED_VARIABLE = YES;
718 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
719 | MTL_ENABLE_DEBUG_INFO = NO;
720 | MTL_FAST_MATH = YES;
721 | PRODUCT_NAME = "$(TARGET_NAME)";
722 | STRIP_INSTALLED_PRODUCT = NO;
723 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
724 | SWIFT_VERSION = 4.2;
725 | SYMROOT = "${SRCROOT}/../build";
726 | };
727 | name = Release;
728 | };
729 | /* End XCBuildConfiguration section */
730 |
731 | /* Begin XCConfigurationList section */
732 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = {
733 | isa = XCConfigurationList;
734 | buildConfigurations = (
735 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */,
736 | F232B5ECA11A71BFA199A229B323F454 /* Release */,
737 | );
738 | defaultConfigurationIsVisible = 0;
739 | defaultConfigurationName = Release;
740 | };
741 | C8D9482546FCC514538E27BE1FD02624 /* Build configuration list for PBXNativeTarget "AMProgressHUD" */ = {
742 | isa = XCConfigurationList;
743 | buildConfigurations = (
744 | DE388C3BD52F08D125BBA2737FB41CED /* Debug */,
745 | 384092D957D6B7C36BE0C6A0E5D3B45C /* Release */,
746 | );
747 | defaultConfigurationIsVisible = 0;
748 | defaultConfigurationName = Release;
749 | };
750 | CDDB29CF4CB75B4EFDEDC4B84B296061 /* Build configuration list for PBXNativeTarget "Pods-AMProgressHUD_Example" */ = {
751 | isa = XCConfigurationList;
752 | buildConfigurations = (
753 | 0458948E9F79BC4F9433864FE88AECC9 /* Debug */,
754 | 98E6012197D69FA139B34A903D2383A2 /* Release */,
755 | );
756 | defaultConfigurationIsVisible = 0;
757 | defaultConfigurationName = Release;
758 | };
759 | E662B2FA538EEBB21E15CDB9B71F7B22 /* Build configuration list for PBXNativeTarget "Pods-AMProgressHUD_Tests" */ = {
760 | isa = XCConfigurationList;
761 | buildConfigurations = (
762 | 67A6EF4D9842A3038AD77D2734499877 /* Debug */,
763 | D81BC88432EA516880D145C8F3ACE5FA /* Release */,
764 | );
765 | defaultConfigurationIsVisible = 0;
766 | defaultConfigurationName = Release;
767 | };
768 | /* End XCConfigurationList section */
769 | };
770 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */;
771 | }
772 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_AMProgressHUD : NSObject
3 | @end
4 | @implementation PodsDummy_AMProgressHUD
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double AMProgressHUDVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char AMProgressHUDVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD.modulemap:
--------------------------------------------------------------------------------
1 | framework module AMProgressHUD {
2 | umbrella header "AMProgressHUD-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/AMProgressHUD.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AMProgressHUD
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
4 | PODS_BUILD_DIR = ${BUILD_DIR}
5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
6 | PODS_ROOT = ${SRCROOT}
7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
9 | SKIP_INSTALL = YES
10 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/AMProgressHUD/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## AMProgressHUD
5 |
6 | Copyright (c) 2018 Abedalkareem
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in
16 | all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | THE SOFTWARE.
25 |
26 | Generated by CocoaPods - https://cocoapods.org
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-acknowledgements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreferenceSpecifiers
6 |
7 |
8 | FooterText
9 | This application makes use of the following third party libraries:
10 | Title
11 | Acknowledgements
12 | Type
13 | PSGroupSpecifier
14 |
15 |
16 | FooterText
17 | Copyright (c) 2018 Abedalkareem <abedalkareem.omreyh@yahoo.com>
18 |
19 | Permission is hereby granted, free of charge, to any person obtaining a copy
20 | of this software and associated documentation files (the "Software"), to deal
21 | in the Software without restriction, including without limitation the rights
22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23 | copies of the Software, and to permit persons to whom the Software is
24 | furnished to do so, subject to the following conditions:
25 |
26 | The above copyright notice and this permission notice shall be included in
27 | all copies or substantial portions of the Software.
28 |
29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
35 | THE SOFTWARE.
36 |
37 | License
38 | MIT
39 | Title
40 | AMProgressHUD
41 | Type
42 | PSGroupSpecifier
43 |
44 |
45 | FooterText
46 | Generated by CocoaPods - https://cocoapods.org
47 | Title
48 |
49 | Type
50 | PSGroupSpecifier
51 |
52 |
53 | StringsTable
54 | Acknowledgements
55 | Title
56 | Acknowledgements
57 |
58 |
59 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_AMProgressHUD_Example : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_AMProgressHUD_Example
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | function on_error {
7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
8 | }
9 | trap 'on_error $LINENO' ERR
10 |
11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
13 | # frameworks to, so exit 0 (signalling the script phase was successful).
14 | exit 0
15 | fi
16 |
17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
19 |
20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
22 |
23 | # Used as a return value for each invocation of `strip_invalid_archs` function.
24 | STRIP_BINARY_RETVAL=0
25 |
26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
29 |
30 | # Copies and strips a vendored framework
31 | install_framework()
32 | {
33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
34 | local source="${BUILT_PRODUCTS_DIR}/$1"
35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
37 | elif [ -r "$1" ]; then
38 | local source="$1"
39 | fi
40 |
41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
42 |
43 | if [ -L "${source}" ]; then
44 | echo "Symlinked..."
45 | source="$(readlink "${source}")"
46 | fi
47 |
48 | # Use filter instead of exclude so missing patterns don't throw errors.
49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
51 |
52 | local basename
53 | basename="$(basename -s .framework "$1")"
54 | binary="${destination}/${basename}.framework/${basename}"
55 |
56 | if ! [ -r "$binary" ]; then
57 | binary="${destination}/${basename}"
58 | elif [ -L "${binary}" ]; then
59 | echo "Destination binary is symlinked..."
60 | dirname="$(dirname "${binary}")"
61 | binary="${dirname}/$(readlink "${binary}")"
62 | fi
63 |
64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
66 | strip_invalid_archs "$binary"
67 | fi
68 |
69 | # Resign the code if required by the build settings to avoid unstable apps
70 | code_sign_if_enabled "${destination}/$(basename "$1")"
71 |
72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
74 | local swift_runtime_libs
75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
76 | for lib in $swift_runtime_libs; do
77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
79 | code_sign_if_enabled "${destination}/${lib}"
80 | done
81 | fi
82 | }
83 |
84 | # Copies and strips a vendored dSYM
85 | install_dsym() {
86 | local source="$1"
87 | if [ -r "$source" ]; then
88 | # Copy the dSYM into a the targets temp dir.
89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
91 |
92 | local basename
93 | basename="$(basename -s .framework.dSYM "$source")"
94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
95 |
96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
98 | strip_invalid_archs "$binary"
99 | fi
100 |
101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
102 | # Move the stripped file into its final destination.
103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
105 | else
106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
108 | fi
109 | fi
110 | }
111 |
112 | # Signs a framework with the provided identity
113 | code_sign_if_enabled() {
114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
115 | # Use the current code_sign_identity
116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
118 |
119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
120 | code_sign_cmd="$code_sign_cmd &"
121 | fi
122 | echo "$code_sign_cmd"
123 | eval "$code_sign_cmd"
124 | fi
125 | }
126 |
127 | # Strip invalid architectures
128 | strip_invalid_archs() {
129 | binary="$1"
130 | # Get architectures for current target binary
131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
132 | # Intersect them with the architectures we are building for
133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
134 | # If there are no archs supported by this binary then warn the user
135 | if [[ -z "$intersected_archs" ]]; then
136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
137 | STRIP_BINARY_RETVAL=0
138 | return
139 | fi
140 | stripped=""
141 | for arch in $binary_archs; do
142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
143 | # Strip non-valid architectures in-place
144 | lipo -remove "$arch" -output "$binary" "$binary"
145 | stripped="$stripped $arch"
146 | fi
147 | done
148 | if [[ "$stripped" ]]; then
149 | echo "Stripped $binary of architectures:$stripped"
150 | fi
151 | STRIP_BINARY_RETVAL=1
152 | }
153 |
154 |
155 | if [[ "$CONFIGURATION" == "Debug" ]]; then
156 | install_framework "${BUILT_PRODUCTS_DIR}/AMProgressHUD/AMProgressHUD.framework"
157 | fi
158 | if [[ "$CONFIGURATION" == "Release" ]]; then
159 | install_framework "${BUILT_PRODUCTS_DIR}/AMProgressHUD/AMProgressHUD.framework"
160 | fi
161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
162 | wait
163 | fi
164 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-resources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
8 | # resources to, so exit 0 (signalling the script phase was successful).
9 | exit 0
10 | fi
11 |
12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
13 |
14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
15 | > "$RESOURCES_TO_COPY"
16 |
17 | XCASSET_FILES=()
18 |
19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
22 |
23 | case "${TARGETED_DEVICE_FAMILY:-}" in
24 | 1,2)
25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
26 | ;;
27 | 1)
28 | TARGET_DEVICE_ARGS="--target-device iphone"
29 | ;;
30 | 2)
31 | TARGET_DEVICE_ARGS="--target-device ipad"
32 | ;;
33 | 3)
34 | TARGET_DEVICE_ARGS="--target-device tv"
35 | ;;
36 | 4)
37 | TARGET_DEVICE_ARGS="--target-device watch"
38 | ;;
39 | *)
40 | TARGET_DEVICE_ARGS="--target-device mac"
41 | ;;
42 | esac
43 |
44 | install_resource()
45 | {
46 | if [[ "$1" = /* ]] ; then
47 | RESOURCE_PATH="$1"
48 | else
49 | RESOURCE_PATH="${PODS_ROOT}/$1"
50 | fi
51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then
52 | cat << EOM
53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
54 | EOM
55 | exit 1
56 | fi
57 | case $RESOURCE_PATH in
58 | *.storyboard)
59 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
60 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
61 | ;;
62 | *.xib)
63 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
64 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
65 | ;;
66 | *.framework)
67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
71 | ;;
72 | *.xcdatamodel)
73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
75 | ;;
76 | *.xcdatamodeld)
77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
79 | ;;
80 | *.xcmappingmodel)
81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
83 | ;;
84 | *.xcassets)
85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
87 | ;;
88 | *)
89 | echo "$RESOURCE_PATH" || true
90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
91 | ;;
92 | esac
93 | }
94 |
95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
100 | fi
101 | rm -f "$RESOURCES_TO_COPY"
102 |
103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ]
104 | then
105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets).
106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
107 | while read line; do
108 | if [[ $line != "${PODS_ROOT}*" ]]; then
109 | XCASSET_FILES+=("$line")
110 | fi
111 | done <<<"$OTHER_XCASSETS"
112 |
113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then
114 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
115 | else
116 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_BUILD_DIR}/assetcatalog_generated_info.plist"
117 | fi
118 | fi
119 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_AMProgressHUD_ExampleVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_AMProgressHUD_ExampleVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Example/Pods-AMProgressHUD_Example.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_AMProgressHUD_Example {
2 | umbrella header "Pods-AMProgressHUD_Example-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 | Generated by CocoaPods - https://cocoapods.org
4 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-acknowledgements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreferenceSpecifiers
6 |
7 |
8 | FooterText
9 | This application makes use of the following third party libraries:
10 | Title
11 | Acknowledgements
12 | Type
13 | PSGroupSpecifier
14 |
15 |
16 | FooterText
17 | Generated by CocoaPods - https://cocoapods.org
18 | Title
19 |
20 | Type
21 | PSGroupSpecifier
22 |
23 |
24 | StringsTable
25 | Acknowledgements
26 | Title
27 | Acknowledgements
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_AMProgressHUD_Tests : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_AMProgressHUD_Tests
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
8 | # frameworks to, so exit 0 (signalling the script phase was successful).
9 | exit 0
10 | fi
11 |
12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
14 |
15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
17 |
18 | # Used as a return value for each invocation of `strip_invalid_archs` function.
19 | STRIP_BINARY_RETVAL=0
20 |
21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
24 |
25 | # Copies and strips a vendored framework
26 | install_framework()
27 | {
28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
29 | local source="${BUILT_PRODUCTS_DIR}/$1"
30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
32 | elif [ -r "$1" ]; then
33 | local source="$1"
34 | fi
35 |
36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
37 |
38 | if [ -L "${source}" ]; then
39 | echo "Symlinked..."
40 | source="$(readlink "${source}")"
41 | fi
42 |
43 | # Use filter instead of exclude so missing patterns don't throw errors.
44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
46 |
47 | local basename
48 | basename="$(basename -s .framework "$1")"
49 | binary="${destination}/${basename}.framework/${basename}"
50 | if ! [ -r "$binary" ]; then
51 | binary="${destination}/${basename}"
52 | fi
53 |
54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
56 | strip_invalid_archs "$binary"
57 | fi
58 |
59 | # Resign the code if required by the build settings to avoid unstable apps
60 | code_sign_if_enabled "${destination}/$(basename "$1")"
61 |
62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
64 | local swift_runtime_libs
65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
66 | for lib in $swift_runtime_libs; do
67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
69 | code_sign_if_enabled "${destination}/${lib}"
70 | done
71 | fi
72 | }
73 |
74 | # Copies and strips a vendored dSYM
75 | install_dsym() {
76 | local source="$1"
77 | if [ -r "$source" ]; then
78 | # Copy the dSYM into a the targets temp dir.
79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
81 |
82 | local basename
83 | basename="$(basename -s .framework.dSYM "$source")"
84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
85 |
86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
88 | strip_invalid_archs "$binary"
89 | fi
90 |
91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
92 | # Move the stripped file into its final destination.
93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
95 | else
96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
98 | fi
99 | fi
100 | }
101 |
102 | # Signs a framework with the provided identity
103 | code_sign_if_enabled() {
104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
105 | # Use the current code_sign_identitiy
106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
108 |
109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
110 | code_sign_cmd="$code_sign_cmd &"
111 | fi
112 | echo "$code_sign_cmd"
113 | eval "$code_sign_cmd"
114 | fi
115 | }
116 |
117 | # Strip invalid architectures
118 | strip_invalid_archs() {
119 | binary="$1"
120 | # Get architectures for current target binary
121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
122 | # Intersect them with the architectures we are building for
123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
124 | # If there are no archs supported by this binary then warn the user
125 | if [[ -z "$intersected_archs" ]]; then
126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
127 | STRIP_BINARY_RETVAL=0
128 | return
129 | fi
130 | stripped=""
131 | for arch in $binary_archs; do
132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
133 | # Strip non-valid architectures in-place
134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1
135 | stripped="$stripped $arch"
136 | fi
137 | done
138 | if [[ "$stripped" ]]; then
139 | echo "Stripped $binary of architectures:$stripped"
140 | fi
141 | STRIP_BINARY_RETVAL=1
142 | }
143 |
144 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
145 | wait
146 | fi
147 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-resources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
8 | # resources to, so exit 0 (signalling the script phase was successful).
9 | exit 0
10 | fi
11 |
12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
13 |
14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
15 | > "$RESOURCES_TO_COPY"
16 |
17 | XCASSET_FILES=()
18 |
19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
22 |
23 | case "${TARGETED_DEVICE_FAMILY:-}" in
24 | 1,2)
25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
26 | ;;
27 | 1)
28 | TARGET_DEVICE_ARGS="--target-device iphone"
29 | ;;
30 | 2)
31 | TARGET_DEVICE_ARGS="--target-device ipad"
32 | ;;
33 | 3)
34 | TARGET_DEVICE_ARGS="--target-device tv"
35 | ;;
36 | 4)
37 | TARGET_DEVICE_ARGS="--target-device watch"
38 | ;;
39 | *)
40 | TARGET_DEVICE_ARGS="--target-device mac"
41 | ;;
42 | esac
43 |
44 | install_resource()
45 | {
46 | if [[ "$1" = /* ]] ; then
47 | RESOURCE_PATH="$1"
48 | else
49 | RESOURCE_PATH="${PODS_ROOT}/$1"
50 | fi
51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then
52 | cat << EOM
53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
54 | EOM
55 | exit 1
56 | fi
57 | case $RESOURCE_PATH in
58 | *.storyboard)
59 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
60 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
61 | ;;
62 | *.xib)
63 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
64 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
65 | ;;
66 | *.framework)
67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
71 | ;;
72 | *.xcdatamodel)
73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
75 | ;;
76 | *.xcdatamodeld)
77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
79 | ;;
80 | *.xcmappingmodel)
81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
83 | ;;
84 | *.xcassets)
85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
87 | ;;
88 | *)
89 | echo "$RESOURCE_PATH" || true
90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
91 | ;;
92 | esac
93 | }
94 |
95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
100 | fi
101 | rm -f "$RESOURCES_TO_COPY"
102 |
103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ]
104 | then
105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets).
106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
107 | while read line; do
108 | if [[ $line != "${PODS_ROOT}*" ]]; then
109 | XCASSET_FILES+=("$line")
110 | fi
111 | done <<<"$OTHER_XCASSETS"
112 |
113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then
114 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
115 | else
116 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_BUILD_DIR}/assetcatalog_generated_info.plist"
117 | fi
118 | fi
119 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_AMProgressHUD_TestsVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_AMProgressHUD_TestsVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-AMProgressHUD_Tests/Pods-AMProgressHUD_Tests.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_AMProgressHUD_Tests {
2 | umbrella header "Pods-AMProgressHUD_Tests-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2018 Abedalkareem
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://www.facebook.com/Abedalkareem.Omreyh)
2 |
3 | [](https://www.youtube.com/c/Omreyh)
4 | [](https://twitter.com/abedalkareemomr)
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | A gif progress HUD to display the progress of an ongoing task.
13 |
14 |
15 |
16 | ## Screenshots
17 |
18 |
19 |
20 | ## Usage
21 |
22 | To set the the Progress HUD options.
23 |
24 | ```swift
25 | AMProgressHUD.options.imageName = "giphy" // the name of the gif image.
26 | AMProgressHUD.options.backgroundColor = UIColor.red // the background color.
27 | AMProgressHUD.options.cancable = true
28 | ```
29 |
30 | To show the HUD:
31 |
32 | ```swift
33 | AMProgressHUD.show()
34 | ```
35 |
36 | To Hide the HUD:
37 |
38 | ```swift
39 | AMProgressHUD.dismiss()
40 | ```
41 |
42 | ## Installation
43 |
44 | AMProgressHUD is available through [CocoaPods](https://cocoapods.org). To install
45 | it, simply add the following line to your Podfile:
46 |
47 | ```ruby
48 | pod 'AMProgressHUD'
49 | ```
50 |
51 | ## Support me 🚀
52 |
53 | You can support this project by:
54 |
55 | 1- Checking my [apps](https://apps.apple.com/us/developer/id928910207).
56 | 2- Star the repo.
57 | 3- Share the repo with your friends.
58 | 4- [Buy Me A Coffee](https://www.buymeacoffee.com/abedalkareem).
59 |
60 | ## Follow me ❤️
61 |
62 | [Facebook](https://www.facebook.com/Abedalkareem.Omreyh/) | [Twitter](https://twitter.com/abedalkareemomr) | [Instagram](https://instagram.com/abedalkareemomreyh/) | [Youtube](https://www.youtube.com/user/AbedalkareemOmreyh)
63 |
64 | ## License
65 |
66 | AMProgressHUD is available under the MIT license. See the LICENSE file for more info.
67 |
--------------------------------------------------------------------------------
/ampreogress_screenshot.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/ampreogress_screenshot.gif
--------------------------------------------------------------------------------
/amprogress_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Abedalkareem/AMProgressHUD/9cc8a073ef009dfd198c43e17faeb68cef906c18/amprogress_logo.png
--------------------------------------------------------------------------------