├── .DS_Store ├── .swift-version ├── ANLoader.podspec ├── ANLoader ├── .DS_Store ├── 2.0.0 │ └── ANLoader.podspec ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── ANLoader.swift ├── CODE_OF_CONDUCT.md ├── Example ├── .DS_Store ├── .travis.yml ├── ANLoader.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── xcbaselines │ │ │ └── 607FACE41AFB9204008FA782.xcbaseline │ │ │ │ ├── C36EB768-13FE-44F8-90F1-F86854A9BA97.plist │ │ │ │ └── Info.plist │ │ └── xcschemes │ │ │ └── ANLoader-Example.xcscheme │ └── xcuserdata │ │ └── anand.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── ANLoader.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── anand.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── ANLoader │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Sticker Pack.stickerpack │ │ │ ├── Contents.json │ │ │ └── Loading.sticker │ │ │ │ ├── Contents.json │ │ │ │ └── Loading.gif │ │ └── loading.imageset │ │ │ ├── Contents.json │ │ │ └── loading.png │ ├── Info.plist │ └── ViewController.swift ├── ANLoader_ExampleUITests │ ├── ANLoader_ExampleUITests.swift │ └── Info.plist ├── Podfile ├── Podfile.lock ├── Pods │ ├── .DS_Store │ ├── ANLoader │ │ ├── ANLoader │ │ │ └── Classes │ │ │ │ └── ANLoader.swift │ │ ├── LICENSE │ │ └── README.md │ ├── Local Podspecs │ │ └── ANLoader.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ └── anand.xcuserdatad │ │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcuserdata │ │ │ └── anand.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── ANLoader.xcscheme │ │ │ ├── Pods-ANLoader_Example.xcscheme │ │ │ ├── Pods-ANLoader_Tests.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── ANLoader │ │ ├── ANLoader-dummy.m │ │ ├── ANLoader-prefix.pch │ │ ├── ANLoader-umbrella.h │ │ ├── ANLoader.modulemap │ │ ├── ANLoader.xcconfig │ │ └── Info.plist │ │ ├── Pods-ANLoader_Example │ │ ├── Info.plist │ │ ├── Pods-ANLoader_Example-acknowledgements.markdown │ │ ├── Pods-ANLoader_Example-acknowledgements.plist │ │ ├── Pods-ANLoader_Example-dummy.m │ │ ├── Pods-ANLoader_Example-frameworks.sh │ │ ├── Pods-ANLoader_Example-resources.sh │ │ ├── Pods-ANLoader_Example-umbrella.h │ │ ├── Pods-ANLoader_Example.debug.xcconfig │ │ ├── Pods-ANLoader_Example.modulemap │ │ └── Pods-ANLoader_Example.release.xcconfig │ │ └── Pods-ANLoader_Tests │ │ ├── Info.plist │ │ ├── Pods-ANLoader_Tests-acknowledgements.markdown │ │ ├── Pods-ANLoader_Tests-acknowledgements.plist │ │ ├── Pods-ANLoader_Tests-dummy.m │ │ ├── Pods-ANLoader_Tests-frameworks.sh │ │ ├── Pods-ANLoader_Tests-resources.sh │ │ ├── Pods-ANLoader_Tests-umbrella.h │ │ ├── Pods-ANLoader_Tests.debug.xcconfig │ │ ├── Pods-ANLoader_Tests.modulemap │ │ └── Pods-ANLoader_Tests.release.xcconfig └── build │ └── Pods.build │ └── Debug-iphoneos │ ├── ANLoader.build │ ├── ANLoader-all-non-framework-target-headers.hmap │ ├── ANLoader-all-target-headers.hmap │ ├── ANLoader-generated-files.hmap │ ├── ANLoader-own-target-headers.hmap │ ├── ANLoader-project-headers.hmap │ ├── ANLoader.hmap │ ├── DerivedSources │ │ └── ANLoader_vers.c │ ├── Objects-normal │ │ └── arm64 │ │ │ ├── ANLoader-OutputFileMap.json │ │ │ └── ANLoader.LinkFileList │ ├── dgph │ ├── module.modulemap │ ├── swift-overrides.hmap │ ├── unextended-module-overlay.yaml │ └── unextended-module.modulemap │ ├── Pods-ANLoader_Example.build │ ├── DerivedSources │ │ └── Pods_ANLoader_Example_vers.c │ ├── Objects-normal │ │ └── arm64 │ │ │ └── Pods_ANLoader_Example.LinkFileList │ ├── Pods_ANLoader_Example-all-non-framework-target-headers.hmap │ ├── Pods_ANLoader_Example-all-target-headers.hmap │ ├── Pods_ANLoader_Example-generated-files.hmap │ ├── Pods_ANLoader_Example-own-target-headers.hmap │ ├── Pods_ANLoader_Example-project-headers.hmap │ ├── Pods_ANLoader_Example.hmap │ ├── dgph │ └── module.modulemap │ └── Pods-ANLoader_Tests.build │ ├── DerivedSources │ └── Pods_ANLoader_Tests_vers.c │ ├── Objects-normal │ └── arm64 │ │ └── Pods_ANLoader_Tests.LinkFileList │ ├── Pods_ANLoader_Tests-all-non-framework-target-headers.hmap │ ├── Pods_ANLoader_Tests-all-target-headers.hmap │ ├── Pods_ANLoader_Tests-generated-files.hmap │ ├── Pods_ANLoader_Tests-own-target-headers.hmap │ ├── Pods_ANLoader_Tests-project-headers.hmap │ ├── Pods_ANLoader_Tests.hmap │ ├── dgph │ └── module.modulemap ├── LICENSE ├── Package.swift ├── README.md ├── _Pods.xcodeproj └── _config.yml /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/.DS_Store -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /ANLoader.podspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pod::Spec.new do |s| 4 | s.name = 'ANLoader' 5 | s.version = '2.0.0' 6 | s.summary = 'ANLoader view helps for creating loading view in just a single lines of code.' 7 | 8 | 9 | s.description = <<-DESC 10 | ANLoader is a simple to use Loading-Library 11 | This fantastic Loading view easy to create simply in a single line. 12 | DESC 13 | s.homepage = 'https://github.com/anscoder/ANLoader' 14 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.author = { 'anscoder' => 'nimjea@gmail.com' } 17 | s.source = { :git => 'https://github.com/anscoder/ANLoader.git', :tag => s.version } 18 | s.social_media_url = 'https://twitter.com/anand8402' 19 | s.swift_versions = '5.0' 20 | s.ios.deployment_target = '10.2' 21 | s.source_files = 'ANLoader/Classes/**/*' 22 | s.frameworks = 'UIKit' 23 | 24 | end 25 | -------------------------------------------------------------------------------- /ANLoader/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/ANLoader/.DS_Store -------------------------------------------------------------------------------- /ANLoader/2.0.0/ANLoader.podspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pod::Spec.new do |s| 4 | s.name = 'ANLoader' 5 | s.version = '2.0.0' 6 | s.summary = 'ANLoader view helps for creating loading view in just a single lines of code.' 7 | 8 | 9 | s.description = <<-DESC 10 | ANLoader is a simple to use Loading-Library 11 | This fantastic Loading view easy to create simply in a single line. 12 | DESC 13 | s.homepage = 'https://github.com/anscoder/ANLoader' 14 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.author = { 'anscoder' => 'nimjea@gmail.com' } 17 | s.source = { :git => 'https://github.com/anscoder/ANLoader.git', :tag => s.version } 18 | s.social_media_url = 'https://twitter.com/anand8402' 19 | s.swift_versions = ['5.0', '5.1'] 20 | s.ios.deployment_target = '10.0' 21 | s.source_files = 'ANLoader/Classes/**/*' 22 | s.frameworks = 'UIKit' 23 | 24 | end 25 | -------------------------------------------------------------------------------- /ANLoader/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/ANLoader/Assets/.gitkeep -------------------------------------------------------------------------------- /ANLoader/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/ANLoader/Classes/.gitkeep -------------------------------------------------------------------------------- /ANLoader/Classes/ANLoader.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANLoader.swift 3 | // Pods 4 | // 5 | // Created by Anand on 17/08/17. 6 | // Copyright (c) 2017 anscoder. All rights reserved. 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | import UIKit 26 | import QuartzCore 27 | 28 | public struct ANLoader { 29 | 30 | //MARK: - Change the variables values here for Custom uses 31 | public static var showFadeOutAnimation = false 32 | public static var pulseAnimation = true 33 | public static var activityColor: UIColor = UIColor.white 34 | public static var activityBackgroundColor: UIColor = UIColor.darkGray 35 | public static var activityTextColor: UIColor = UIColor.white 36 | public static var activityTextFontName: UIFont = UIFont.systemFont(ofSize: 23) 37 | fileprivate static var activityWidth = (UIScreen.screenWidth / widthDivision) / 2 38 | fileprivate static var activityHeight = activityWidth 39 | public static var widthDivision: CGFloat { 40 | get { 41 | guard UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad else { 42 | return 1.6 43 | } 44 | return 3.5 45 | } 46 | } 47 | public static var viewBackgroundDark: Bool = false 48 | public static var loadOverApplicationWindow: Bool = false 49 | 50 | 51 | //MARK: - Loading View 52 | public static var instance: LoadingResource? 53 | public static var backgroundView: UIView! 54 | fileprivate static var hidingInProgress = false 55 | 56 | 57 | public static func showLoading(_ text: String, disableUI: Bool) { 58 | ANLoader().startLoadingActivity(text, with: disableUI) 59 | } 60 | 61 | public static func showLoading() { 62 | ANLoader().startLoadingActivity("", with: false) 63 | } 64 | 65 | public static func hide(){ 66 | DispatchQueue.main.async { 67 | instance?.hideActivity() 68 | } 69 | } 70 | 71 | //MARK: - Main Loading View creating here 72 | public class LoadingResource: UIView { 73 | fileprivate var textLabel: UILabel! 74 | fileprivate var activityView: UIActivityIndicatorView! 75 | fileprivate var disableUIIntraction = false 76 | 77 | convenience init(text: String, disableUI: Bool) { 78 | self.init(frame: CGRect(x: 0, 79 | y: 0, 80 | width: activityWidth, 81 | height: activityHeight)) 82 | center = CGPoint(x: UIScreen.main.bounds.midX, y: UIScreen.main.bounds.midY) 83 | autoresizingMask = [.flexibleTopMargin, 84 | .flexibleLeftMargin, 85 | .flexibleBottomMargin, 86 | .flexibleRightMargin] 87 | backgroundColor = activityBackgroundColor 88 | alpha = 1 89 | layer.cornerRadius = 5 90 | 91 | let yPosition = frame.height/2 - 20 92 | 93 | addActivityView(yPosition) 94 | 95 | addTextLabel(yPosition + activityView.frame.size.height, text: text) 96 | 97 | //Apply here Border & Shadow 98 | checkActivityBackgroundColor() 99 | 100 | guard disableUI else { 101 | return 102 | } 103 | UIApplication.shared.beginIgnoringInteractionEvents() 104 | disableUIIntraction = true 105 | } 106 | 107 | private func checkActivityBackgroundColor(){ 108 | guard activityBackgroundColor != .clear else { 109 | return 110 | } 111 | dropShadow() 112 | addBorder() 113 | addPulseAnimation() 114 | } 115 | 116 | //MARK: - Pulse Animation adding here 117 | fileprivate func addPulseAnimation(){ 118 | guard pulseAnimation else { 119 | return 120 | } 121 | DispatchQueue.main.async { [weak self] in 122 | let pulseAnimation = CABasicAnimation(keyPath: #keyPath(CALayer.opacity)) 123 | pulseAnimation.duration = 0.4 124 | pulseAnimation.fromValue = 0.8 125 | pulseAnimation.toValue = 1 126 | pulseAnimation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut) 127 | pulseAnimation.autoreverses = true 128 | pulseAnimation.repeatCount = .greatestFiniteMagnitude 129 | self?.layer.add(pulseAnimation, forKey: "animateOpacity") 130 | } 131 | } 132 | 133 | fileprivate func addActivityView(_ yPosition: CGFloat){ 134 | activityView = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.whiteLarge) 135 | activityView.frame = CGRect(x: (frame.width/2) - 20, y: yPosition, width: 40, height: 40) 136 | activityView.color = activityColor 137 | activityView.startAnimating() 138 | } 139 | 140 | fileprivate func addTextLabel(_ yPosition: CGFloat, text: String){ 141 | textLabel = UILabel(frame: CGRect(x: 5, y: yPosition - 10, width: activityWidth - 10, height: 40)) 142 | textLabel.textColor = activityTextColor 143 | textLabel.font = activityTextFontName 144 | textLabel.adjustsFontSizeToFitWidth = true 145 | textLabel.minimumScaleFactor = 0.25 146 | textLabel.textAlignment = NSTextAlignment.center 147 | textLabel.text = text 148 | } 149 | 150 | fileprivate func showLoadingActivity() { 151 | addSubview(activityView) 152 | addSubview(textLabel) 153 | 154 | guard loadOverApplicationWindow else { 155 | topMostViewController!.view.addSubview(self) 156 | return 157 | } 158 | UIApplication.shared.windows.first?.addSubview(self) 159 | } 160 | 161 | fileprivate var fadeOutValue: CGFloat = 10.0 162 | 163 | fileprivate func hideActivity(){ 164 | checkBackgoundWasClear() 165 | guard showFadeOutAnimation else { 166 | clearView() 167 | return 168 | } 169 | fadeOutAnimation() 170 | } 171 | 172 | fileprivate func fadeOutAnimation(){ 173 | DispatchQueue.main.async { 174 | UIView.transition(with: self, 175 | duration: 0.3, 176 | options: .curveEaseOut, 177 | animations: { 178 | self.transform = CGAffineTransform(scaleX: self.fadeOutValue, y: self.fadeOutValue) 179 | self.alpha = 0.2 180 | }, completion: { (value: Bool) in 181 | self.clearView() 182 | }) 183 | } 184 | } 185 | 186 | fileprivate func checkBackgoundWasClear(){ 187 | guard activityBackgroundColor != .clear else { 188 | fadeOutValue = 2 189 | return 190 | } 191 | textLabel.alpha = 0 192 | activityView.alpha = 0 193 | } 194 | 195 | fileprivate func clearView(){ 196 | activityView.stopAnimating() 197 | self.removeFromSuperview() 198 | instance = nil 199 | hidingInProgress = false 200 | 201 | if backgroundView != nil { 202 | UIView.animate(withDuration: 0.1, animations: { 203 | backgroundView.backgroundColor = backgroundView.backgroundColor?.withAlphaComponent(0) 204 | }, completion: { _ in 205 | backgroundView.removeFromSuperview() 206 | }) 207 | } 208 | 209 | guard disableUIIntraction else { 210 | return 211 | } 212 | disableUIIntraction = false 213 | UIApplication.shared.endIgnoringInteractionEvents() 214 | } 215 | } 216 | } 217 | 218 | private extension UIView { 219 | func dropShadow(scale: Bool = true) { 220 | layer.masksToBounds = false 221 | layer.shadowColor = UIColor.black.cgColor 222 | layer.shadowOpacity = 0.5 223 | layer.shadowOffset = CGSize(width: 2, height: 2) 224 | layer.shadowRadius = 5 225 | layer.shadowPath = UIBezierPath(rect: self.bounds).cgPath 226 | layer.shouldRasterize = true 227 | layer.rasterizationScale = scale ? UIScreen.main.scale : 1 228 | } 229 | 230 | func addBorder(){ 231 | layer.borderWidth = 1 232 | layer.borderColor = UIColor(red:222/255.0, green:225/255.0, blue:227/255.0, alpha: 1.0).cgColor 233 | } 234 | } 235 | 236 | private extension ANLoader{ 237 | 238 | private func startLoadingActivity(_ text: String,with disableUI: Bool){ 239 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { 240 | 241 | guard ANLoader.instance == nil else { 242 | debugPrint("\n ==============================* ANLoader *=====================================") 243 | debugPrint("Error: Loadering already active now, please stop that before creating a new one.") 244 | return 245 | } 246 | 247 | guard topMostViewController != nil else { 248 | debugPrint("\n ==============================* ANLoader *=====================================") 249 | debugPrint("Error: You don't have any views set. You may be calling in viewDidLoad or try inside main thread.") 250 | return 251 | } 252 | // Separate creation from showing 253 | ANLoader.instance = LoadingResource(text: text, disableUI: disableUI) 254 | DispatchQueue.main.async { 255 | if ANLoader.viewBackgroundDark { 256 | if ANLoader.backgroundView == nil { 257 | ANLoader.backgroundView = UIView(frame: UIApplication.shared.keyWindow!.frame) 258 | } 259 | ANLoader.backgroundView.backgroundColor = UIColor.black.withAlphaComponent(0) 260 | topMostViewController?.view.addSubview(ANLoader.backgroundView) 261 | UIView.animate(withDuration: 0.2, animations: {ANLoader.backgroundView.backgroundColor = ANLoader.backgroundView.backgroundColor?.withAlphaComponent(0.5)}) 262 | } 263 | ANLoader.instance?.showLoadingActivity() 264 | } 265 | } 266 | } 267 | } 268 | 269 | private extension UIScreen { 270 | 271 | class var screenWidth: CGFloat { 272 | get { 273 | if UIInterfaceOrientation.portrait.isPortrait { 274 | return UIScreen.main.bounds.size.width 275 | } else { 276 | return UIScreen.main.bounds.size.height 277 | } 278 | } 279 | } 280 | 281 | class var screenHeight: CGFloat { 282 | get { 283 | if UIInterfaceOrientation.portrait.isPortrait { 284 | return UIScreen.main.bounds.size.height 285 | } else { 286 | return UIScreen.main.bounds.size.width 287 | } 288 | } 289 | } 290 | } 291 | 292 | private var topMostViewController: UIViewController? { 293 | var presentedVC = UIApplication.shared.keyWindow?.rootViewController 294 | while let controller = presentedVC?.presentedViewController { 295 | presentedVC = controller 296 | } 297 | return presentedVC 298 | } 299 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at nimjea@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /Example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/.DS_Store -------------------------------------------------------------------------------- /Example/.travis.yml: -------------------------------------------------------------------------------- 1 | os: osx 2 | osx_image: xcode10 3 | language: swift 4 | script: xcodebuild -workspace ANLoader.xcworkspace -scheme ANLoader-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 172E57872157776E007388AD /* ANLoader_ExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 172E57862157776E007388AD /* ANLoader_ExampleUITests.swift */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 88D6EE7AD5058E4C323A9AA5 /* Pods_ANLoader_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ABA3C0937AEFDE2B374C98 /* Pods_ANLoader_Example.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 172E57892157776E007388AD /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 25 | remoteInfo = ANLoader_Example; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 0E2B6B6A4792E7826811A12E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 31 | 172E57842157776E007388AD /* ANLoader_ExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ANLoader_ExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 172E57862157776E007388AD /* ANLoader_ExampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ANLoader_ExampleUITests.swift; sourceTree = ""; }; 33 | 172E57882157776E007388AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 34 | 435DD226C72462BFAA857F6F /* ANLoader.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ANLoader.podspec; path = ../ANLoader.podspec; sourceTree = ""; }; 35 | 50ABA3C0937AEFDE2B374C98 /* Pods_ANLoader_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ANLoader_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 5BD5631ED4142231E323C7B5 /* Pods-ANLoader_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ANLoader_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.release.xcconfig"; sourceTree = ""; }; 37 | 607FACD01AFB9204008FA782 /* ANLoader_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ANLoader_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 43 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 44 | 80103AAA65E214C96D66213B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 45 | 880576338E1CC17AC7A8BF16 /* Pods-ANLoader_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ANLoader_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.debug.xcconfig"; sourceTree = ""; }; 46 | CA0D657342C1B38F61231431 /* Pods-ANLoader_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ANLoader_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.release.xcconfig"; sourceTree = ""; }; 47 | CDB294C69E524F4D96C1F917 /* Pods-ANLoader_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ANLoader_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.debug.xcconfig"; sourceTree = ""; }; 48 | E506996682D4D8E7A56ECD9A /* Pods_ANLoader_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ANLoader_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | /* End PBXFileReference section */ 50 | 51 | /* Begin PBXFrameworksBuildPhase section */ 52 | 172E57812157776E007388AD /* Frameworks */ = { 53 | isa = PBXFrameworksBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 88D6EE7AD5058E4C323A9AA5 /* Pods_ANLoader_Example.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | /* End PBXFrameworksBuildPhase section */ 68 | 69 | /* Begin PBXGroup section */ 70 | 172E57852157776E007388AD /* ANLoader_ExampleUITests */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 172E57862157776E007388AD /* ANLoader_ExampleUITests.swift */, 74 | 172E57882157776E007388AD /* Info.plist */, 75 | ); 76 | path = ANLoader_ExampleUITests; 77 | sourceTree = ""; 78 | }; 79 | 3DC8FF3BCC639A0A2412BD7A /* Pods */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | CDB294C69E524F4D96C1F917 /* Pods-ANLoader_Example.debug.xcconfig */, 83 | CA0D657342C1B38F61231431 /* Pods-ANLoader_Example.release.xcconfig */, 84 | 880576338E1CC17AC7A8BF16 /* Pods-ANLoader_Tests.debug.xcconfig */, 85 | 5BD5631ED4142231E323C7B5 /* Pods-ANLoader_Tests.release.xcconfig */, 86 | ); 87 | name = Pods; 88 | sourceTree = ""; 89 | }; 90 | 607FACC71AFB9204008FA782 = { 91 | isa = PBXGroup; 92 | children = ( 93 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 94 | 607FACD21AFB9204008FA782 /* Example for ANLoader */, 95 | 172E57852157776E007388AD /* ANLoader_ExampleUITests */, 96 | 607FACD11AFB9204008FA782 /* Products */, 97 | 3DC8FF3BCC639A0A2412BD7A /* Pods */, 98 | 9FEBE04377530B249FB59120 /* Frameworks */, 99 | ); 100 | sourceTree = ""; 101 | }; 102 | 607FACD11AFB9204008FA782 /* Products */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD01AFB9204008FA782 /* ANLoader_Example.app */, 106 | 172E57842157776E007388AD /* ANLoader_ExampleUITests.xctest */, 107 | ); 108 | name = Products; 109 | sourceTree = ""; 110 | }; 111 | 607FACD21AFB9204008FA782 /* Example for ANLoader */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 115 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 116 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 117 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 118 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 119 | 607FACD31AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | name = "Example for ANLoader"; 122 | path = ANLoader; 123 | sourceTree = ""; 124 | }; 125 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 607FACD41AFB9204008FA782 /* Info.plist */, 129 | ); 130 | name = "Supporting Files"; 131 | sourceTree = ""; 132 | }; 133 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 435DD226C72462BFAA857F6F /* ANLoader.podspec */, 137 | 0E2B6B6A4792E7826811A12E /* README.md */, 138 | 80103AAA65E214C96D66213B /* LICENSE */, 139 | ); 140 | name = "Podspec Metadata"; 141 | sourceTree = ""; 142 | }; 143 | 9FEBE04377530B249FB59120 /* Frameworks */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 50ABA3C0937AEFDE2B374C98 /* Pods_ANLoader_Example.framework */, 147 | E506996682D4D8E7A56ECD9A /* Pods_ANLoader_Tests.framework */, 148 | ); 149 | name = Frameworks; 150 | sourceTree = ""; 151 | }; 152 | /* End PBXGroup section */ 153 | 154 | /* Begin PBXNativeTarget section */ 155 | 172E57832157776E007388AD /* ANLoader_ExampleUITests */ = { 156 | isa = PBXNativeTarget; 157 | buildConfigurationList = 172E578B2157776E007388AD /* Build configuration list for PBXNativeTarget "ANLoader_ExampleUITests" */; 158 | buildPhases = ( 159 | 172E57802157776E007388AD /* Sources */, 160 | 172E57812157776E007388AD /* Frameworks */, 161 | 172E57822157776E007388AD /* Resources */, 162 | ); 163 | buildRules = ( 164 | ); 165 | dependencies = ( 166 | 172E578A2157776E007388AD /* PBXTargetDependency */, 167 | ); 168 | name = ANLoader_ExampleUITests; 169 | productName = ANLoader_ExampleUITests; 170 | productReference = 172E57842157776E007388AD /* ANLoader_ExampleUITests.xctest */; 171 | productType = "com.apple.product-type.bundle.ui-testing"; 172 | }; 173 | 607FACCF1AFB9204008FA782 /* ANLoader_Example */ = { 174 | isa = PBXNativeTarget; 175 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ANLoader_Example" */; 176 | buildPhases = ( 177 | 59C8E63D5AA185A8BDBE8F48 /* [CP] Check Pods Manifest.lock */, 178 | 607FACCC1AFB9204008FA782 /* Sources */, 179 | 607FACCD1AFB9204008FA782 /* Frameworks */, 180 | 607FACCE1AFB9204008FA782 /* Resources */, 181 | B56CCBF0A98C9737B9D19FD3 /* [CP] Embed Pods Frameworks */, 182 | FA0EA2030C563AF022FFC4BD /* [CP] Copy Pods Resources */, 183 | ); 184 | buildRules = ( 185 | ); 186 | dependencies = ( 187 | ); 188 | name = ANLoader_Example; 189 | productName = ANLoader; 190 | productReference = 607FACD01AFB9204008FA782 /* ANLoader_Example.app */; 191 | productType = "com.apple.product-type.application"; 192 | }; 193 | /* End PBXNativeTarget section */ 194 | 195 | /* Begin PBXProject section */ 196 | 607FACC81AFB9204008FA782 /* Project object */ = { 197 | isa = PBXProject; 198 | attributes = { 199 | LastSwiftUpdateCheck = 1000; 200 | LastUpgradeCheck = 1120; 201 | ORGANIZATIONNAME = CocoaPods; 202 | TargetAttributes = { 203 | 172E57832157776E007388AD = { 204 | CreatedOnToolsVersion = 10.0; 205 | LastSwiftMigration = 1120; 206 | ProvisioningStyle = Manual; 207 | TestTargetID = 607FACCF1AFB9204008FA782; 208 | }; 209 | 607FACCF1AFB9204008FA782 = { 210 | CreatedOnToolsVersion = 6.3.1; 211 | LastSwiftMigration = 1120; 212 | ProvisioningStyle = Manual; 213 | }; 214 | }; 215 | }; 216 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ANLoader" */; 217 | compatibilityVersion = "Xcode 3.2"; 218 | developmentRegion = en; 219 | hasScannedForEncodings = 0; 220 | knownRegions = ( 221 | en, 222 | Base, 223 | ); 224 | mainGroup = 607FACC71AFB9204008FA782; 225 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 226 | projectDirPath = ""; 227 | projectRoot = ""; 228 | targets = ( 229 | 607FACCF1AFB9204008FA782 /* ANLoader_Example */, 230 | 172E57832157776E007388AD /* ANLoader_ExampleUITests */, 231 | ); 232 | }; 233 | /* End PBXProject section */ 234 | 235 | /* Begin PBXResourcesBuildPhase section */ 236 | 172E57822157776E007388AD /* Resources */ = { 237 | isa = PBXResourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | ); 241 | runOnlyForDeploymentPostprocessing = 0; 242 | }; 243 | 607FACCE1AFB9204008FA782 /* Resources */ = { 244 | isa = PBXResourcesBuildPhase; 245 | buildActionMask = 2147483647; 246 | files = ( 247 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 248 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 249 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | }; 253 | /* End PBXResourcesBuildPhase section */ 254 | 255 | /* Begin PBXShellScriptBuildPhase section */ 256 | 59C8E63D5AA185A8BDBE8F48 /* [CP] Check Pods Manifest.lock */ = { 257 | isa = PBXShellScriptBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | ); 261 | inputPaths = ( 262 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 263 | "${PODS_ROOT}/Manifest.lock", 264 | ); 265 | name = "[CP] Check Pods Manifest.lock"; 266 | outputPaths = ( 267 | "$(DERIVED_FILE_DIR)/Pods-ANLoader_Example-checkManifestLockResult.txt", 268 | ); 269 | runOnlyForDeploymentPostprocessing = 0; 270 | shellPath = /bin/sh; 271 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 272 | showEnvVarsInLog = 0; 273 | }; 274 | B56CCBF0A98C9737B9D19FD3 /* [CP] Embed Pods Frameworks */ = { 275 | isa = PBXShellScriptBuildPhase; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | ); 279 | inputPaths = ( 280 | "${SRCROOT}/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example-frameworks.sh", 281 | "${BUILT_PRODUCTS_DIR}/ANLoader/ANLoader.framework", 282 | ); 283 | name = "[CP] Embed Pods Frameworks"; 284 | outputPaths = ( 285 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ANLoader.framework", 286 | ); 287 | runOnlyForDeploymentPostprocessing = 0; 288 | shellPath = /bin/sh; 289 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example-frameworks.sh\"\n"; 290 | showEnvVarsInLog = 0; 291 | }; 292 | FA0EA2030C563AF022FFC4BD /* [CP] Copy Pods Resources */ = { 293 | isa = PBXShellScriptBuildPhase; 294 | buildActionMask = 2147483647; 295 | files = ( 296 | ); 297 | inputPaths = ( 298 | ); 299 | name = "[CP] Copy Pods Resources"; 300 | outputPaths = ( 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | shellPath = /bin/sh; 304 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example-resources.sh\"\n"; 305 | showEnvVarsInLog = 0; 306 | }; 307 | /* End PBXShellScriptBuildPhase section */ 308 | 309 | /* Begin PBXSourcesBuildPhase section */ 310 | 172E57802157776E007388AD /* Sources */ = { 311 | isa = PBXSourcesBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | 172E57872157776E007388AD /* ANLoader_ExampleUITests.swift in Sources */, 315 | ); 316 | runOnlyForDeploymentPostprocessing = 0; 317 | }; 318 | 607FACCC1AFB9204008FA782 /* Sources */ = { 319 | isa = PBXSourcesBuildPhase; 320 | buildActionMask = 2147483647; 321 | files = ( 322 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 323 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 324 | ); 325 | runOnlyForDeploymentPostprocessing = 0; 326 | }; 327 | /* End PBXSourcesBuildPhase section */ 328 | 329 | /* Begin PBXTargetDependency section */ 330 | 172E578A2157776E007388AD /* PBXTargetDependency */ = { 331 | isa = PBXTargetDependency; 332 | target = 607FACCF1AFB9204008FA782 /* ANLoader_Example */; 333 | targetProxy = 172E57892157776E007388AD /* PBXContainerItemProxy */; 334 | }; 335 | /* End PBXTargetDependency section */ 336 | 337 | /* Begin PBXVariantGroup section */ 338 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 339 | isa = PBXVariantGroup; 340 | children = ( 341 | 607FACDA1AFB9204008FA782 /* Base */, 342 | ); 343 | name = Main.storyboard; 344 | sourceTree = ""; 345 | }; 346 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 347 | isa = PBXVariantGroup; 348 | children = ( 349 | 607FACDF1AFB9204008FA782 /* Base */, 350 | ); 351 | name = LaunchScreen.xib; 352 | sourceTree = ""; 353 | }; 354 | /* End PBXVariantGroup section */ 355 | 356 | /* Begin XCBuildConfiguration section */ 357 | 172E578C2157776E007388AD /* Debug */ = { 358 | isa = XCBuildConfiguration; 359 | buildSettings = { 360 | CLANG_ANALYZER_NONNULL = YES; 361 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 363 | CLANG_ENABLE_OBJC_WEAK = YES; 364 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 365 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 366 | CODE_SIGN_IDENTITY = "iPhone Developer"; 367 | CODE_SIGN_STYLE = Manual; 368 | DEBUG_INFORMATION_FORMAT = dwarf; 369 | DEVELOPMENT_TEAM = ""; 370 | GCC_C_LANGUAGE_STANDARD = gnu11; 371 | INFOPLIST_FILE = ANLoader_ExampleUITests/Info.plist; 372 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 373 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 374 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 375 | MTL_FAST_MATH = YES; 376 | PRODUCT_BUNDLE_IDENTIFIER = "anscoder.ANLoader-ExampleUITests"; 377 | PRODUCT_NAME = "$(TARGET_NAME)"; 378 | PROVISIONING_PROFILE_SPECIFIER = ""; 379 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 380 | SWIFT_VERSION = 5.0; 381 | TARGETED_DEVICE_FAMILY = "1,2"; 382 | TEST_TARGET_NAME = ANLoader_Example; 383 | }; 384 | name = Debug; 385 | }; 386 | 172E578D2157776E007388AD /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | CLANG_ANALYZER_NONNULL = YES; 390 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 392 | CLANG_ENABLE_OBJC_WEAK = YES; 393 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 394 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 395 | CODE_SIGN_IDENTITY = "iPhone Developer"; 396 | CODE_SIGN_STYLE = Manual; 397 | DEVELOPMENT_TEAM = ""; 398 | GCC_C_LANGUAGE_STANDARD = gnu11; 399 | INFOPLIST_FILE = ANLoader_ExampleUITests/Info.plist; 400 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 401 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 402 | MTL_FAST_MATH = YES; 403 | PRODUCT_BUNDLE_IDENTIFIER = "anscoder.ANLoader-ExampleUITests"; 404 | PRODUCT_NAME = "$(TARGET_NAME)"; 405 | PROVISIONING_PROFILE_SPECIFIER = ""; 406 | SWIFT_VERSION = 5.0; 407 | TARGETED_DEVICE_FAMILY = "1,2"; 408 | TEST_TARGET_NAME = ANLoader_Example; 409 | }; 410 | name = Release; 411 | }; 412 | 607FACED1AFB9204008FA782 /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | buildSettings = { 415 | ALWAYS_SEARCH_USER_PATHS = NO; 416 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 417 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 418 | CLANG_CXX_LIBRARY = "libc++"; 419 | CLANG_ENABLE_MODULES = YES; 420 | CLANG_ENABLE_OBJC_ARC = YES; 421 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 422 | CLANG_WARN_BOOL_CONVERSION = YES; 423 | CLANG_WARN_COMMA = YES; 424 | CLANG_WARN_CONSTANT_CONVERSION = YES; 425 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 426 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 427 | CLANG_WARN_EMPTY_BODY = YES; 428 | CLANG_WARN_ENUM_CONVERSION = YES; 429 | CLANG_WARN_INFINITE_RECURSION = YES; 430 | CLANG_WARN_INT_CONVERSION = YES; 431 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 432 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 433 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 434 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 435 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 436 | CLANG_WARN_STRICT_PROTOTYPES = YES; 437 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 438 | CLANG_WARN_UNREACHABLE_CODE = YES; 439 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 440 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 441 | COPY_PHASE_STRIP = NO; 442 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 443 | ENABLE_STRICT_OBJC_MSGSEND = YES; 444 | ENABLE_TESTABILITY = YES; 445 | GCC_C_LANGUAGE_STANDARD = gnu99; 446 | GCC_DYNAMIC_NO_PIC = NO; 447 | GCC_NO_COMMON_BLOCKS = YES; 448 | GCC_OPTIMIZATION_LEVEL = 0; 449 | GCC_PREPROCESSOR_DEFINITIONS = ( 450 | "DEBUG=1", 451 | "$(inherited)", 452 | ); 453 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 454 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 455 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 456 | GCC_WARN_UNDECLARED_SELECTOR = YES; 457 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 458 | GCC_WARN_UNUSED_FUNCTION = YES; 459 | GCC_WARN_UNUSED_VARIABLE = YES; 460 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 461 | MTL_ENABLE_DEBUG_INFO = YES; 462 | ONLY_ACTIVE_ARCH = YES; 463 | SDKROOT = iphoneos; 464 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 465 | SWIFT_VERSION = 5.0; 466 | }; 467 | name = Debug; 468 | }; 469 | 607FACEE1AFB9204008FA782 /* Release */ = { 470 | isa = XCBuildConfiguration; 471 | buildSettings = { 472 | ALWAYS_SEARCH_USER_PATHS = NO; 473 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 474 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 475 | CLANG_CXX_LIBRARY = "libc++"; 476 | CLANG_ENABLE_MODULES = YES; 477 | CLANG_ENABLE_OBJC_ARC = YES; 478 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 479 | CLANG_WARN_BOOL_CONVERSION = YES; 480 | CLANG_WARN_COMMA = YES; 481 | CLANG_WARN_CONSTANT_CONVERSION = YES; 482 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 483 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 484 | CLANG_WARN_EMPTY_BODY = YES; 485 | CLANG_WARN_ENUM_CONVERSION = YES; 486 | CLANG_WARN_INFINITE_RECURSION = YES; 487 | CLANG_WARN_INT_CONVERSION = YES; 488 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 489 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 490 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 491 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 492 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 493 | CLANG_WARN_STRICT_PROTOTYPES = YES; 494 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 495 | CLANG_WARN_UNREACHABLE_CODE = YES; 496 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 497 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 498 | COPY_PHASE_STRIP = NO; 499 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 500 | ENABLE_NS_ASSERTIONS = NO; 501 | ENABLE_STRICT_OBJC_MSGSEND = YES; 502 | GCC_C_LANGUAGE_STANDARD = gnu99; 503 | GCC_NO_COMMON_BLOCKS = YES; 504 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 505 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 506 | GCC_WARN_UNDECLARED_SELECTOR = YES; 507 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 508 | GCC_WARN_UNUSED_FUNCTION = YES; 509 | GCC_WARN_UNUSED_VARIABLE = YES; 510 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 511 | MTL_ENABLE_DEBUG_INFO = NO; 512 | SDKROOT = iphoneos; 513 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 514 | SWIFT_VERSION = 5.0; 515 | VALIDATE_PRODUCT = YES; 516 | }; 517 | name = Release; 518 | }; 519 | 607FACF01AFB9204008FA782 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = CDB294C69E524F4D96C1F917 /* Pods-ANLoader_Example.debug.xcconfig */; 522 | buildSettings = { 523 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 524 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 525 | CODE_SIGN_STYLE = Manual; 526 | DEVELOPMENT_TEAM = ""; 527 | INFOPLIST_FILE = ANLoader/Info.plist; 528 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 529 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 530 | MODULE_NAME = ExampleApp; 531 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 532 | PRODUCT_NAME = "$(TARGET_NAME)"; 533 | PROVISIONING_PROFILE_SPECIFIER = ""; 534 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 535 | SWIFT_VERSION = 5.0; 536 | TARGETED_DEVICE_FAMILY = "1,2"; 537 | }; 538 | name = Debug; 539 | }; 540 | 607FACF11AFB9204008FA782 /* Release */ = { 541 | isa = XCBuildConfiguration; 542 | baseConfigurationReference = CA0D657342C1B38F61231431 /* Pods-ANLoader_Example.release.xcconfig */; 543 | buildSettings = { 544 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 545 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 546 | CODE_SIGN_STYLE = Manual; 547 | DEVELOPMENT_TEAM = ""; 548 | INFOPLIST_FILE = ANLoader/Info.plist; 549 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 550 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 551 | MODULE_NAME = ExampleApp; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | PROVISIONING_PROFILE_SPECIFIER = ""; 555 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 556 | SWIFT_VERSION = 5.0; 557 | TARGETED_DEVICE_FAMILY = "1,2"; 558 | }; 559 | name = Release; 560 | }; 561 | /* End XCBuildConfiguration section */ 562 | 563 | /* Begin XCConfigurationList section */ 564 | 172E578B2157776E007388AD /* Build configuration list for PBXNativeTarget "ANLoader_ExampleUITests" */ = { 565 | isa = XCConfigurationList; 566 | buildConfigurations = ( 567 | 172E578C2157776E007388AD /* Debug */, 568 | 172E578D2157776E007388AD /* Release */, 569 | ); 570 | defaultConfigurationIsVisible = 0; 571 | defaultConfigurationName = Release; 572 | }; 573 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ANLoader" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 607FACED1AFB9204008FA782 /* Debug */, 577 | 607FACEE1AFB9204008FA782 /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ANLoader_Example" */ = { 583 | isa = XCConfigurationList; 584 | buildConfigurations = ( 585 | 607FACF01AFB9204008FA782 /* Debug */, 586 | 607FACF11AFB9204008FA782 /* Release */, 587 | ); 588 | defaultConfigurationIsVisible = 0; 589 | defaultConfigurationName = Release; 590 | }; 591 | /* End XCConfigurationList section */ 592 | }; 593 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 594 | } 595 | -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/xcshareddata/xcbaselines/607FACE41AFB9204008FA782.xcbaseline/C36EB768-13FE-44F8-90F1-F86854A9BA97.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | classNames 6 | 7 | TableOfContentsSpec 8 | 9 | testPerformanceExample() 10 | 11 | com.apple.XCTPerformanceMetric_WallClockTime 12 | 13 | baselineAverage 14 | 1.7497e-06 15 | baselineIntegrationDisplayName 16 | Local Baseline 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/xcshareddata/xcbaselines/607FACE41AFB9204008FA782.xcbaseline/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | runDestinationsByUUID 6 | 7 | C36EB768-13FE-44F8-90F1-F86854A9BA97 8 | 9 | localComputer 10 | 11 | busSpeedInMHz 12 | 100 13 | cpuCount 14 | 1 15 | cpuKind 16 | Intel Core i5 17 | cpuSpeedInMHz 18 | 3100 19 | logicalCPUCoresPerPackage 20 | 4 21 | modelCode 22 | MacBookPro14,2 23 | physicalCPUCoresPerPackage 24 | 2 25 | platformIdentifier 26 | com.apple.platform.macosx 27 | 28 | targetArchitecture 29 | x86_64 30 | targetDevice 31 | 32 | modelCode 33 | iPhone10,3 34 | platformIdentifier 35 | com.apple.platform.iphonesimulator 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/xcshareddata/xcschemes/ANLoader-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 | 66 | 72 | 73 | 74 | 75 | 76 | 86 | 88 | 94 | 95 | 96 | 97 | 103 | 105 | 111 | 112 | 113 | 114 | 116 | 117 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /Example/ANLoader.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ANLoader-Example.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 1 11 | 12 | ANLoader_ExampleUITests.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 4 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 172E57832157776E007388AD 21 | 22 | primary 23 | 24 | 25 | 607FACCF1AFB9204008FA782 26 | 27 | primary 28 | 29 | 30 | 607FACE41AFB9204008FA782 31 | 32 | primary 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Example/ANLoader.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ANLoader.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ANLoader.xcworkspace/xcuserdata/anand.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/ANLoader.xcworkspace/xcuserdata/anand.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/ANLoader.xcworkspace/xcuserdata/anand.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Example/ANLoader/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ANLoader 4 | // 5 | // Created by anscoder on 08/17/2017. 6 | // Copyright (c) 2017 anscoder. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ANLoader 11 | 12 | @UIApplicationMain 13 | class AppDelegate: UIResponder, UIApplicationDelegate { 14 | 15 | var window: UIWindow? 16 | 17 | 18 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { 19 | 20 | //Set Up ANLoader 21 | ANLoader.activityBackgroundColor = .red 22 | ANLoader.pulseAnimation = true 23 | //ANLoader.activityTextColor = .clear 24 | //ANLoader.activityColor = .darkGray 25 | 26 | return true 27 | } 28 | 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Example/ANLoader/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/ANLoader/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Helvetica-Light 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 43 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /Example/ANLoader/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 | } -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/Sticker Pack.stickerpack/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "stickers" : [ 3 | { 4 | "filename" : "Loading.sticker" 5 | } 6 | ], 7 | "info" : { 8 | "version" : 1, 9 | "author" : "xcode" 10 | }, 11 | "properties" : { 12 | "grid-size" : "small" 13 | } 14 | } -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/Sticker Pack.stickerpack/Loading.sticker/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "filename" : "Loading.gif" 8 | } 9 | } -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/Sticker Pack.stickerpack/Loading.sticker/Loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/ANLoader/Images.xcassets/Sticker Pack.stickerpack/Loading.sticker/Loading.gif -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/loading.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "loading.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/ANLoader/Images.xcassets/loading.imageset/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/ANLoader/Images.xcassets/loading.imageset/loading.png -------------------------------------------------------------------------------- /Example/ANLoader/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSApplicationCategoryType 24 | 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/ANLoader/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ANLoader 4 | // 5 | // Created by anscoder on 08/17/2017. 6 | // Copyright (c) 2017 anscoder. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ANLoader 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | ANLoader.showLoading("Loading", disableUI: true) 18 | Timer.scheduledTimer(timeInterval: 5.0, 19 | target: self, 20 | selector: #selector(hideLoader), 21 | userInfo: nil, 22 | repeats: false) 23 | } 24 | 25 | @objc func hideLoader(){ 26 | ANLoader.hide() 27 | } 28 | 29 | //MARK: - Action Show Loading 30 | @IBAction func actionShowLoader(_ sender: Any) { 31 | ANLoader.showLoading("Loading", disableUI: false) 32 | 33 | //With Default Text 34 | //ANLoader.showLoading() 35 | } 36 | 37 | //MARK: - Action Hide Loading 38 | @IBAction func actionHideLoader(_ sender: Any) { 39 | ANLoader.hide() 40 | } 41 | 42 | } 43 | 44 | -------------------------------------------------------------------------------- /Example/ANLoader_ExampleUITests/ANLoader_ExampleUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANLoader_ExampleUITests.swift 3 | // ANLoader_ExampleUITests 4 | // 5 | // Created by Anand Nimje on 23/09/18. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class ANLoader_ExampleUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | // Put setup code here. This method is called before the invocation of each test method in the class. 15 | 16 | // In UI tests it is usually best to stop immediately when a failure occurs. 17 | continueAfterFailure = false 18 | 19 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 20 | XCUIApplication().launch() 21 | 22 | } 23 | 24 | override func tearDown() { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | } 27 | 28 | func testExample() { 29 | 30 | let app = XCUIApplication() 31 | let showButton = app.buttons["Show"] 32 | showButton.tap() 33 | 34 | let hideButton = app.buttons["Hide"] 35 | hideButton.tap() 36 | showButton.tap() 37 | hideButton.tap() 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /Example/ANLoader_ExampleUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'ANLoader_Example' do 4 | pod 'ANLoader', '~> 0.1' 5 | 6 | target 'ANLoader_Tests' do 7 | inherit! :search_paths 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ANLoader (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ANLoader (~> 0.1) 6 | 7 | SPEC CHECKSUMS: 8 | ANLoader: d849d45e8af874a3defd44e78f02a916e0ec7bdb 9 | 10 | PODFILE CHECKSUM: d9bcd8d4583a3301ede95bcf41291fd023756702 11 | 12 | COCOAPODS: 1.3.1 13 | -------------------------------------------------------------------------------- /Example/Pods/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/Pods/.DS_Store -------------------------------------------------------------------------------- /Example/Pods/ANLoader/ANLoader/Classes/ANLoader.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANLoader.swift 3 | // Pods 4 | // 5 | // Created by Anand on 17/08/17. 6 | // Copyright (c) 2017 anscoder. All rights reserved. 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | import UIKit 26 | import QuartzCore 27 | 28 | public struct ANLoader { 29 | 30 | //MARK: - Change the variables values here for Custom uses 31 | public static var showFadeOutAnimation = false 32 | public static var pulseAnimation = true 33 | public static var activityColor: UIColor = UIColor.white 34 | public static var activityBackgroundColor: UIColor = UIColor.darkGray 35 | public static var activityTextColor: UIColor = UIColor.white 36 | public static var activityTextFontName: UIFont = UIFont.systemFont(ofSize: 23) 37 | fileprivate static var activityWidth = (UIScreen.screenWidth / widthDivision) / 2 38 | fileprivate static var activityHeight = activityWidth 39 | public static var widthDivision: CGFloat { 40 | get { 41 | guard UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad else { 42 | return 1.6 43 | } 44 | return 3.5 45 | } 46 | } 47 | public static var viewBackgroundDark: Bool = false 48 | public static var loadOverApplicationWindow: Bool = false 49 | 50 | 51 | //MARK: - Loading View 52 | public static var instance: LoadingResource? 53 | public static var backgroundView: UIView! 54 | fileprivate static var hidingInProgress = false 55 | 56 | 57 | public static func showLoading(_ text: String, disableUI: Bool) { 58 | ANLoader().startLoadingActivity(text, with: disableUI) 59 | } 60 | 61 | public static func showLoading() { 62 | ANLoader().startLoadingActivity("", with: false) 63 | } 64 | 65 | public static func hide(){ 66 | DispatchQueue.main.async { 67 | instance?.hideActivity() 68 | } 69 | } 70 | 71 | //MARK: - Main Loading View creating here 72 | public class LoadingResource: UIView { 73 | fileprivate var textLabel: UILabel! 74 | fileprivate var activityView: UIActivityIndicatorView! 75 | fileprivate var disableUIIntraction = false 76 | 77 | convenience init(text: String, disableUI: Bool) { 78 | self.init(frame: CGRect(x: 0, 79 | y: 0, 80 | width: activityWidth, 81 | height: activityHeight)) 82 | center = CGPoint(x: UIScreen.main.bounds.midX, y: UIScreen.main.bounds.midY) 83 | autoresizingMask = [.flexibleTopMargin, 84 | .flexibleLeftMargin, 85 | .flexibleBottomMargin, 86 | .flexibleRightMargin] 87 | backgroundColor = activityBackgroundColor 88 | alpha = 1 89 | layer.cornerRadius = 5 90 | 91 | let yPosition = frame.height/2 - 20 92 | 93 | addActivityView(yPosition) 94 | 95 | addTextLabel(yPosition + activityView.frame.size.height, text: text) 96 | 97 | //Apply here Border & Shadow 98 | checkActivityBackgroundColor() 99 | 100 | guard disableUI else { 101 | return 102 | } 103 | UIApplication.shared.beginIgnoringInteractionEvents() 104 | disableUIIntraction = true 105 | } 106 | 107 | private func checkActivityBackgroundColor(){ 108 | guard activityBackgroundColor != .clear else { 109 | return 110 | } 111 | dropShadow() 112 | addBorder() 113 | addPulseAnimation() 114 | } 115 | 116 | //MARK: - Pulse Animation adding here 117 | fileprivate func addPulseAnimation(){ 118 | guard pulseAnimation else { 119 | return 120 | } 121 | DispatchQueue.main.async { [weak self] in 122 | let pulseAnimation = CABasicAnimation(keyPath: #keyPath(CALayer.opacity)) 123 | pulseAnimation.duration = 0.4 124 | pulseAnimation.fromValue = 0.8 125 | pulseAnimation.toValue = 1 126 | pulseAnimation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut) 127 | pulseAnimation.autoreverses = true 128 | pulseAnimation.repeatCount = .greatestFiniteMagnitude 129 | self?.layer.add(pulseAnimation, forKey: "animateOpacity") 130 | } 131 | } 132 | 133 | fileprivate func addActivityView(_ yPosition: CGFloat){ 134 | activityView = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.whiteLarge) 135 | activityView.frame = CGRect(x: (frame.width/2) - 20, y: yPosition, width: 40, height: 40) 136 | activityView.color = activityColor 137 | activityView.startAnimating() 138 | } 139 | 140 | fileprivate func addTextLabel(_ yPosition: CGFloat, text: String){ 141 | textLabel = UILabel(frame: CGRect(x: 5, y: yPosition - 10, width: activityWidth - 10, height: 40)) 142 | textLabel.textColor = activityTextColor 143 | textLabel.font = activityTextFontName 144 | textLabel.adjustsFontSizeToFitWidth = true 145 | textLabel.minimumScaleFactor = 0.25 146 | textLabel.textAlignment = NSTextAlignment.center 147 | textLabel.text = text 148 | } 149 | 150 | fileprivate func showLoadingActivity() { 151 | addSubview(activityView) 152 | addSubview(textLabel) 153 | 154 | guard loadOverApplicationWindow else { 155 | topMostViewController!.view.addSubview(self) 156 | return 157 | } 158 | UIApplication.shared.windows.first?.addSubview(self) 159 | } 160 | 161 | fileprivate var fadeOutValue: CGFloat = 10.0 162 | 163 | fileprivate func hideActivity(){ 164 | checkBackgoundWasClear() 165 | guard showFadeOutAnimation else { 166 | clearView() 167 | return 168 | } 169 | fadeOutAnimation() 170 | } 171 | 172 | fileprivate func fadeOutAnimation(){ 173 | DispatchQueue.main.async { 174 | UIView.transition(with: self, 175 | duration: 0.3, 176 | options: .curveEaseOut, 177 | animations: { 178 | self.transform = CGAffineTransform(scaleX: self.fadeOutValue, y: self.fadeOutValue) 179 | self.alpha = 0.2 180 | }, completion: { (value: Bool) in 181 | self.clearView() 182 | }) 183 | } 184 | } 185 | 186 | fileprivate func checkBackgoundWasClear(){ 187 | guard activityBackgroundColor != .clear else { 188 | fadeOutValue = 2 189 | return 190 | } 191 | textLabel.alpha = 0 192 | activityView.alpha = 0 193 | } 194 | 195 | fileprivate func clearView(){ 196 | activityView.stopAnimating() 197 | self.removeFromSuperview() 198 | instance = nil 199 | hidingInProgress = false 200 | 201 | if backgroundView != nil { 202 | UIView.animate(withDuration: 0.1, animations: { 203 | backgroundView.backgroundColor = backgroundView.backgroundColor?.withAlphaComponent(0) 204 | }, completion: { _ in 205 | backgroundView.removeFromSuperview() 206 | }) 207 | } 208 | 209 | guard disableUIIntraction else { 210 | return 211 | } 212 | disableUIIntraction = false 213 | UIApplication.shared.endIgnoringInteractionEvents() 214 | } 215 | } 216 | } 217 | 218 | private extension UIView { 219 | func dropShadow(scale: Bool = true) { 220 | layer.masksToBounds = false 221 | layer.shadowColor = UIColor.black.cgColor 222 | layer.shadowOpacity = 0.5 223 | layer.shadowOffset = CGSize(width: 2, height: 2) 224 | layer.shadowRadius = 5 225 | layer.shadowPath = UIBezierPath(rect: self.bounds).cgPath 226 | layer.shouldRasterize = true 227 | layer.rasterizationScale = scale ? UIScreen.main.scale : 1 228 | } 229 | 230 | func addBorder(){ 231 | layer.borderWidth = 1 232 | layer.borderColor = UIColor(red:222/255.0, green:225/255.0, blue:227/255.0, alpha: 1.0).cgColor 233 | } 234 | } 235 | 236 | private extension ANLoader{ 237 | 238 | private func startLoadingActivity(_ text: String,with disableUI: Bool){ 239 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { 240 | 241 | guard ANLoader.instance == nil else { 242 | debugPrint("\n ==============================* ANLoader *=====================================") 243 | debugPrint("Error: Loadering already active now, please stop that before creating a new one.") 244 | return 245 | } 246 | 247 | guard topMostViewController != nil else { 248 | debugPrint("\n ==============================* ANLoader *=====================================") 249 | debugPrint("Error: You don't have any views set. You may be calling in viewDidLoad or try inside main thread.") 250 | return 251 | } 252 | // Separate creation from showing 253 | ANLoader.instance = LoadingResource(text: text, disableUI: disableUI) 254 | DispatchQueue.main.async { 255 | if ANLoader.viewBackgroundDark { 256 | if ANLoader.backgroundView == nil { 257 | ANLoader.backgroundView = UIView(frame: UIApplication.shared.keyWindow!.frame) 258 | } 259 | ANLoader.backgroundView.backgroundColor = UIColor.black.withAlphaComponent(0) 260 | topMostViewController?.view.addSubview(ANLoader.backgroundView) 261 | UIView.animate(withDuration: 0.2, animations: {ANLoader.backgroundView.backgroundColor = ANLoader.backgroundView.backgroundColor?.withAlphaComponent(0.5)}) 262 | } 263 | ANLoader.instance?.showLoadingActivity() 264 | } 265 | } 266 | } 267 | } 268 | 269 | private extension UIScreen { 270 | 271 | class var screenWidth: CGFloat { 272 | get { 273 | if UIInterfaceOrientation.portrait.isPortrait { 274 | return UIScreen.main.bounds.size.width 275 | } else { 276 | return UIScreen.main.bounds.size.height 277 | } 278 | } 279 | } 280 | 281 | class var screenHeight: CGFloat { 282 | get { 283 | if UIInterfaceOrientation.portrait.isPortrait { 284 | return UIScreen.main.bounds.size.height 285 | } else { 286 | return UIScreen.main.bounds.size.width 287 | } 288 | } 289 | } 290 | } 291 | 292 | private var topMostViewController: UIViewController? { 293 | var presentedVC = UIApplication.shared.keyWindow?.rootViewController 294 | while let controller = presentedVC?.presentedViewController { 295 | presentedVC = controller 296 | } 297 | return presentedVC 298 | } 299 | -------------------------------------------------------------------------------- /Example/Pods/ANLoader/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 anscoder 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 | -------------------------------------------------------------------------------- /Example/Pods/ANLoader/README.md: -------------------------------------------------------------------------------- 1 | # ANLoader 2 | 3 | 👾 Create loading view with just a single lines of code. ⛳️ 4 | 5 | [![CI Status](http://img.shields.io/travis/anscoder/ANLoader.svg?style=flat)](https://travis-ci.org/anscoder/ANLoader) 6 | [![Version](https://img.shields.io/cocoapods/v/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 7 | [![License](https://img.shields.io/cocoapods/l/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 8 | [![Platform](https://img.shields.io/cocoapods/p/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 9 | Swift 3 compatible 10 | 11 | ## Example 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 🎉 14 | 15 | 16 | ![](https://raw.githubusercontent.com/ANSCoder/ANLoader/master/Example/ANLoader/Images.xcassets/Sticker%20Pack.stickerpack/Loading.sticker/Loading.gif) 17 | 18 | 19 | ### 🛠 How to start loading 20 | 21 | By using a simple line create loading view. ☝🏻 22 | 23 | ```swift 24 | ANLoader.showLoading("Loading", disableUI: true) 25 | ``` 26 | 27 | By choosing 'disableUI' stops user interactions until you hide loading Activity. 🙌 28 | 29 | ### ⚡️ Use directly without disable UI 30 | 31 | ```swift 32 | ANLoader.showLoading() 33 | ``` 34 | 35 | ### 🖐🏻 How to dismiss loading 36 | 37 | No need to call other extra things it will be manage automatically. 👏🏻 38 | 39 | ```swift 40 | ANLoader.hide() 41 | ``` 42 | 43 | ### 📝 Custom Settings 44 | 45 | Easy to make chnages by choosing options 🔧 46 | 47 | ```swift 48 | 49 | ANLoader.activityColor = .darkGray 50 | ANLoader.activityBackgroundColor = .clear 51 | ANLoader.activityTextColor = .clear 52 | 53 | ``` 54 | 55 | ## 🤔 Requirements 56 | 57 | Deployment target of your App is >= iOS 8.0 58 | 59 | ## 💻 Installation 60 | 61 | ANLoader is available through [CocoaPods](http://cocoapods.org). To install 62 | it, simply add the following line to your Podfile: 63 | 64 | ```ruby 65 | pod "ANLoader" 66 | ``` 67 | 68 | ## 👤 Author 69 | 70 | anscoder (Anand), nimjea@gmail.com 71 | 72 | ## 📄 License 73 | 74 | ANLoader is available under the MIT license. See the LICENSE file for more info. 75 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ANLoader.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ANLoader", 3 | "version": "0.1.0", 4 | "summary": "A short description of ANLoader.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/anscoder/ANLoader", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "anscoder": "nimjea@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/anscoder/ANLoader.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "ANLoader/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ANLoader (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ANLoader (~> 0.1) 6 | 7 | SPEC CHECKSUMS: 8 | ANLoader: d849d45e8af874a3defd44e78f02a916e0ec7bdb 9 | 10 | PODFILE CHECKSUM: d9bcd8d4583a3301ede95bcf41291fd023756702 11 | 12 | COCOAPODS: 1.3.1 13 | -------------------------------------------------------------------------------- /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 | 09E6077C33F1BA366A0FB3A0B1738202 /* Pods-ANLoader_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2FC0CAF9D1200171ED56B6A3306241 /* Pods-ANLoader_Tests-dummy.m */; }; 11 | 3CE59BF240F475D675DA0E68DB4B0C14 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */; }; 12 | 527D61914253E7B59842917B17CC393C /* Pods-ANLoader_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = ECF98B7F783403972DAE5980A82E61F9 /* Pods-ANLoader_Example-dummy.m */; }; 13 | 700D63DC0E46E468B265A4BC741DA948 /* Pods-ANLoader_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AF00419FD0014895C27D265F12DE3E40 /* Pods-ANLoader_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 7A013EF780FD7D97FFC78CE0CC94680D /* ANLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1744AA9A5355F45A41969D146D57A17 /* ANLoader.swift */; }; 15 | 87B8135E96B3580FEBD07681244843E2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 16 | A35EC74F7E2D385261C0E2831A927CA0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 17 | AD86C659B9F0CA88704FA27B21359B00 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 18 | C1AAF4A1A4E24A4A2DD0901BA311DC4D /* ANLoader-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 81BF6480294514BB6919BB51F4BB5EFB /* ANLoader-dummy.m */; }; 19 | CCB4ECE46D560C660BE54D5924799BAE /* Pods-ANLoader_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 072769DDFC71CC21C55FB8806E217786 /* Pods-ANLoader_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | EAEAD847917492EAC99D95F9CEAA144E /* ANLoader-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E9852FDE726A171110CE55B4F09A9371 /* ANLoader-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 7A0F20A60244D1C6607B00D0EC92C0E6 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 9CE57E025349EFDD992F790715F78FD4; 29 | remoteInfo = ANLoader; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 030094262ED9AD9A10C92FD7583CA5C4 /* Pods-ANLoader_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ANLoader_Tests-acknowledgements.plist"; sourceTree = ""; }; 35 | 04219714F68BDFE312396117622639C4 /* Pods-ANLoader_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ANLoader_Tests.modulemap"; sourceTree = ""; }; 36 | 072769DDFC71CC21C55FB8806E217786 /* Pods-ANLoader_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ANLoader_Tests-umbrella.h"; sourceTree = ""; }; 37 | 2EDDBDEC2AD616FF24CE04FEED8E22A1 /* Pods-ANLoader_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ANLoader_Example-acknowledgements.markdown"; sourceTree = ""; }; 38 | 2EEC80816BBD906E3155B939C233A56D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 43806239DF8873ECE513237BBCFB07F8 /* Pods-ANLoader_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ANLoader_Example-resources.sh"; sourceTree = ""; }; 40 | 4557FB4A256340158D444C824EDBBD66 /* Pods-ANLoader_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ANLoader_Example-frameworks.sh"; sourceTree = ""; }; 41 | 4B96B68E4D39924DC8254743F54BDB62 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 4C124127CC039CC85F1D4F91F66F8D6A /* Pods-ANLoader_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ANLoader_Example.modulemap"; sourceTree = ""; }; 43 | 5B5951FD12BB905A0FF5EF8428BBC11C /* Pods-ANLoader_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ANLoader_Tests-frameworks.sh"; sourceTree = ""; }; 44 | 5C028CAAD5A39B9C129146E839E72629 /* Pods_ANLoader_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ANLoader_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6EA79B529EA3C8E6ABE344B248241F0E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 7D48116255523C16798FD2E424136E10 /* ANLoader.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = ANLoader.modulemap; sourceTree = ""; }; 47 | 81BF6480294514BB6919BB51F4BB5EFB /* ANLoader-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ANLoader-dummy.m"; sourceTree = ""; }; 48 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | 9A1068A72B8578C65ECAEAD0891E5D62 /* Pods-ANLoader_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ANLoader_Example-acknowledgements.plist"; sourceTree = ""; }; 50 | A1744AA9A5355F45A41969D146D57A17 /* ANLoader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ANLoader.swift; path = ANLoader/Classes/ANLoader.swift; sourceTree = ""; }; 51 | AD2FC0CAF9D1200171ED56B6A3306241 /* Pods-ANLoader_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ANLoader_Tests-dummy.m"; sourceTree = ""; }; 52 | AF00419FD0014895C27D265F12DE3E40 /* Pods-ANLoader_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ANLoader_Example-umbrella.h"; sourceTree = ""; }; 53 | B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 54 | B9933FF9D6E51731FA7DC6B442C2F9DD /* Pods-ANLoader_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ANLoader_Tests-acknowledgements.markdown"; sourceTree = ""; }; 55 | BB1E29C8426D604414A8CCE850B63D78 /* Pods-ANLoader_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ANLoader_Example.release.xcconfig"; sourceTree = ""; }; 56 | BCC6CDA181121D2B0A9A92C5A9B6D935 /* Pods-ANLoader_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ANLoader_Tests-resources.sh"; sourceTree = ""; }; 57 | C3EA418C6F6B6439445E3DF67A4DD6AB /* ANLoader-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ANLoader-prefix.pch"; sourceTree = ""; }; 58 | CE0D7398B7D5E4B0DD3030CCE7A09D62 /* ANLoader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ANLoader.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | CFB21DA8236A4720567A721B307FF25A /* ANLoader.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ANLoader.xcconfig; sourceTree = ""; }; 60 | D44B6AAFBB5E68DDE3BBFE3EB2A0F9A9 /* Pods-ANLoader_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ANLoader_Tests.debug.xcconfig"; sourceTree = ""; }; 61 | D64B5075A46A372928C953E67A87AD69 /* Pods_ANLoader_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ANLoader_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 63 | E9852FDE726A171110CE55B4F09A9371 /* ANLoader-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ANLoader-umbrella.h"; sourceTree = ""; }; 64 | ECF98B7F783403972DAE5980A82E61F9 /* Pods-ANLoader_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ANLoader_Example-dummy.m"; sourceTree = ""; }; 65 | EE23F89096F25F9FF7E1216E30C4268B /* Pods-ANLoader_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ANLoader_Tests.release.xcconfig"; sourceTree = ""; }; 66 | FA6D95A1EBA41497EAC384D68D472D0A /* Pods-ANLoader_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ANLoader_Example.debug.xcconfig"; sourceTree = ""; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | 55AEC20FE207A8FFC5553405CB127354 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | AD86C659B9F0CA88704FA27B21359B00 /* Foundation.framework in Frameworks */, 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 705D27C289B8D1CF5D8C99800166D2C3 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | A35EC74F7E2D385261C0E2831A927CA0 /* Foundation.framework in Frameworks */, 83 | 3CE59BF240F475D675DA0E68DB4B0C14 /* UIKit.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | 8FDEDF7F95C2663BF41296F337FA36F7 /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | 87B8135E96B3580FEBD07681244843E2 /* Foundation.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 255E86B2C19294D0310728E509EEE3F4 /* Pods-ANLoader_Tests */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 2EEC80816BBD906E3155B939C233A56D /* Info.plist */, 102 | 04219714F68BDFE312396117622639C4 /* Pods-ANLoader_Tests.modulemap */, 103 | B9933FF9D6E51731FA7DC6B442C2F9DD /* Pods-ANLoader_Tests-acknowledgements.markdown */, 104 | 030094262ED9AD9A10C92FD7583CA5C4 /* Pods-ANLoader_Tests-acknowledgements.plist */, 105 | AD2FC0CAF9D1200171ED56B6A3306241 /* Pods-ANLoader_Tests-dummy.m */, 106 | 5B5951FD12BB905A0FF5EF8428BBC11C /* Pods-ANLoader_Tests-frameworks.sh */, 107 | BCC6CDA181121D2B0A9A92C5A9B6D935 /* Pods-ANLoader_Tests-resources.sh */, 108 | 072769DDFC71CC21C55FB8806E217786 /* Pods-ANLoader_Tests-umbrella.h */, 109 | D44B6AAFBB5E68DDE3BBFE3EB2A0F9A9 /* Pods-ANLoader_Tests.debug.xcconfig */, 110 | EE23F89096F25F9FF7E1216E30C4268B /* Pods-ANLoader_Tests.release.xcconfig */, 111 | ); 112 | name = "Pods-ANLoader_Tests"; 113 | path = "Target Support Files/Pods-ANLoader_Tests"; 114 | sourceTree = ""; 115 | }; 116 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 438B396F6B4147076630CAEFE34282C1 /* iOS */, 120 | ); 121 | name = Frameworks; 122 | sourceTree = ""; 123 | }; 124 | 438B396F6B4147076630CAEFE34282C1 /* iOS */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */, 128 | B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */, 129 | ); 130 | name = iOS; 131 | sourceTree = ""; 132 | }; 133 | 7DB346D0F39D3F0E887471402A8071AB = { 134 | isa = PBXGroup; 135 | children = ( 136 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 137 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, 138 | 8B7B4A17AD21CDFCAC2C276E9C0D617A /* Pods */, 139 | EEE1150CD51885975C9A738C7AA8D4FA /* Products */, 140 | CD4649151088631D184EE31E2374CE88 /* Targets Support Files */, 141 | ); 142 | sourceTree = ""; 143 | }; 144 | 8B7B4A17AD21CDFCAC2C276E9C0D617A /* Pods */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | AFE3CD5AD8708CD0A8D7F34D9C2DD8C2 /* ANLoader */, 148 | ); 149 | name = Pods; 150 | sourceTree = ""; 151 | }; 152 | A5BF8BB01F279F49B8E9D159F25B03D2 /* Support Files */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 7D48116255523C16798FD2E424136E10 /* ANLoader.modulemap */, 156 | CFB21DA8236A4720567A721B307FF25A /* ANLoader.xcconfig */, 157 | 81BF6480294514BB6919BB51F4BB5EFB /* ANLoader-dummy.m */, 158 | C3EA418C6F6B6439445E3DF67A4DD6AB /* ANLoader-prefix.pch */, 159 | E9852FDE726A171110CE55B4F09A9371 /* ANLoader-umbrella.h */, 160 | 4B96B68E4D39924DC8254743F54BDB62 /* Info.plist */, 161 | ); 162 | name = "Support Files"; 163 | path = "../Target Support Files/ANLoader"; 164 | sourceTree = ""; 165 | }; 166 | ACA46DF237FD49542C281FA1C0D02B07 /* Pods-ANLoader_Example */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | 6EA79B529EA3C8E6ABE344B248241F0E /* Info.plist */, 170 | 4C124127CC039CC85F1D4F91F66F8D6A /* Pods-ANLoader_Example.modulemap */, 171 | 2EDDBDEC2AD616FF24CE04FEED8E22A1 /* Pods-ANLoader_Example-acknowledgements.markdown */, 172 | 9A1068A72B8578C65ECAEAD0891E5D62 /* Pods-ANLoader_Example-acknowledgements.plist */, 173 | ECF98B7F783403972DAE5980A82E61F9 /* Pods-ANLoader_Example-dummy.m */, 174 | 4557FB4A256340158D444C824EDBBD66 /* Pods-ANLoader_Example-frameworks.sh */, 175 | 43806239DF8873ECE513237BBCFB07F8 /* Pods-ANLoader_Example-resources.sh */, 176 | AF00419FD0014895C27D265F12DE3E40 /* Pods-ANLoader_Example-umbrella.h */, 177 | FA6D95A1EBA41497EAC384D68D472D0A /* Pods-ANLoader_Example.debug.xcconfig */, 178 | BB1E29C8426D604414A8CCE850B63D78 /* Pods-ANLoader_Example.release.xcconfig */, 179 | ); 180 | name = "Pods-ANLoader_Example"; 181 | path = "Target Support Files/Pods-ANLoader_Example"; 182 | sourceTree = ""; 183 | }; 184 | AFE3CD5AD8708CD0A8D7F34D9C2DD8C2 /* ANLoader */ = { 185 | isa = PBXGroup; 186 | children = ( 187 | A1744AA9A5355F45A41969D146D57A17 /* ANLoader.swift */, 188 | A5BF8BB01F279F49B8E9D159F25B03D2 /* Support Files */, 189 | ); 190 | path = ANLoader; 191 | sourceTree = ""; 192 | }; 193 | CD4649151088631D184EE31E2374CE88 /* Targets Support Files */ = { 194 | isa = PBXGroup; 195 | children = ( 196 | ACA46DF237FD49542C281FA1C0D02B07 /* Pods-ANLoader_Example */, 197 | 255E86B2C19294D0310728E509EEE3F4 /* Pods-ANLoader_Tests */, 198 | ); 199 | name = "Targets Support Files"; 200 | sourceTree = ""; 201 | }; 202 | EEE1150CD51885975C9A738C7AA8D4FA /* Products */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | CE0D7398B7D5E4B0DD3030CCE7A09D62 /* ANLoader.framework */, 206 | D64B5075A46A372928C953E67A87AD69 /* Pods_ANLoader_Example.framework */, 207 | 5C028CAAD5A39B9C129146E839E72629 /* Pods_ANLoader_Tests.framework */, 208 | ); 209 | name = Products; 210 | sourceTree = ""; 211 | }; 212 | /* End PBXGroup section */ 213 | 214 | /* Begin PBXHeadersBuildPhase section */ 215 | 3338D327ECC32C79ACB43638D547CABB /* Headers */ = { 216 | isa = PBXHeadersBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | EAEAD847917492EAC99D95F9CEAA144E /* ANLoader-umbrella.h in Headers */, 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | }; 223 | 5A41CACD86B68ADE406BB310AB9D27EA /* Headers */ = { 224 | isa = PBXHeadersBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | CCB4ECE46D560C660BE54D5924799BAE /* Pods-ANLoader_Tests-umbrella.h in Headers */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | A2B52752E3F017D27650A59B6DA371DB /* Headers */ = { 232 | isa = PBXHeadersBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 700D63DC0E46E468B265A4BC741DA948 /* Pods-ANLoader_Example-umbrella.h in Headers */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | /* End PBXHeadersBuildPhase section */ 240 | 241 | /* Begin PBXNativeTarget section */ 242 | 21DB72820EC5C6B9F07121E61FF998FF /* Pods-ANLoader_Tests */ = { 243 | isa = PBXNativeTarget; 244 | buildConfigurationList = 52BED7F2908B49A2C997B6E362470F59 /* Build configuration list for PBXNativeTarget "Pods-ANLoader_Tests" */; 245 | buildPhases = ( 246 | AFF30BF466230A6E97DFA7E8D0ECD819 /* Sources */, 247 | 8FDEDF7F95C2663BF41296F337FA36F7 /* Frameworks */, 248 | 5A41CACD86B68ADE406BB310AB9D27EA /* Headers */, 249 | ); 250 | buildRules = ( 251 | ); 252 | dependencies = ( 253 | ); 254 | name = "Pods-ANLoader_Tests"; 255 | productName = "Pods-ANLoader_Tests"; 256 | productReference = 5C028CAAD5A39B9C129146E839E72629 /* Pods_ANLoader_Tests.framework */; 257 | productType = "com.apple.product-type.framework"; 258 | }; 259 | 94F33F481184D326360559982B4DED30 /* Pods-ANLoader_Example */ = { 260 | isa = PBXNativeTarget; 261 | buildConfigurationList = 60F338566BF6C7B9801B94D0E363320F /* Build configuration list for PBXNativeTarget "Pods-ANLoader_Example" */; 262 | buildPhases = ( 263 | F9E2CC8B67DC370CC957D7596647E13B /* Sources */, 264 | 55AEC20FE207A8FFC5553405CB127354 /* Frameworks */, 265 | A2B52752E3F017D27650A59B6DA371DB /* Headers */, 266 | ); 267 | buildRules = ( 268 | ); 269 | dependencies = ( 270 | 87F565AB097D2477F77F99DDBA9687BA /* PBXTargetDependency */, 271 | ); 272 | name = "Pods-ANLoader_Example"; 273 | productName = "Pods-ANLoader_Example"; 274 | productReference = D64B5075A46A372928C953E67A87AD69 /* Pods_ANLoader_Example.framework */; 275 | productType = "com.apple.product-type.framework"; 276 | }; 277 | 9CE57E025349EFDD992F790715F78FD4 /* ANLoader */ = { 278 | isa = PBXNativeTarget; 279 | buildConfigurationList = D18F43169D668405F2D6DE3AE8C468E8 /* Build configuration list for PBXNativeTarget "ANLoader" */; 280 | buildPhases = ( 281 | B864BD8CF9436D9DCC54A65E8F4FA9B2 /* Sources */, 282 | 705D27C289B8D1CF5D8C99800166D2C3 /* Frameworks */, 283 | 3338D327ECC32C79ACB43638D547CABB /* Headers */, 284 | ); 285 | buildRules = ( 286 | ); 287 | dependencies = ( 288 | ); 289 | name = ANLoader; 290 | productName = ANLoader; 291 | productReference = CE0D7398B7D5E4B0DD3030CCE7A09D62 /* ANLoader.framework */; 292 | productType = "com.apple.product-type.framework"; 293 | }; 294 | /* End PBXNativeTarget section */ 295 | 296 | /* Begin PBXProject section */ 297 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 298 | isa = PBXProject; 299 | attributes = { 300 | LastSwiftUpdateCheck = 0830; 301 | LastUpgradeCheck = 1120; 302 | TargetAttributes = { 303 | 9CE57E025349EFDD992F790715F78FD4 = { 304 | LastSwiftMigration = 1120; 305 | }; 306 | }; 307 | }; 308 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 309 | compatibilityVersion = "Xcode 3.2"; 310 | developmentRegion = en; 311 | hasScannedForEncodings = 0; 312 | knownRegions = ( 313 | en, 314 | Base, 315 | ); 316 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 317 | productRefGroup = EEE1150CD51885975C9A738C7AA8D4FA /* Products */; 318 | projectDirPath = ""; 319 | projectRoot = ""; 320 | targets = ( 321 | 9CE57E025349EFDD992F790715F78FD4 /* ANLoader */, 322 | 94F33F481184D326360559982B4DED30 /* Pods-ANLoader_Example */, 323 | 21DB72820EC5C6B9F07121E61FF998FF /* Pods-ANLoader_Tests */, 324 | ); 325 | }; 326 | /* End PBXProject section */ 327 | 328 | /* Begin PBXSourcesBuildPhase section */ 329 | AFF30BF466230A6E97DFA7E8D0ECD819 /* Sources */ = { 330 | isa = PBXSourcesBuildPhase; 331 | buildActionMask = 2147483647; 332 | files = ( 333 | 09E6077C33F1BA366A0FB3A0B1738202 /* Pods-ANLoader_Tests-dummy.m in Sources */, 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | }; 337 | B864BD8CF9436D9DCC54A65E8F4FA9B2 /* Sources */ = { 338 | isa = PBXSourcesBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | C1AAF4A1A4E24A4A2DD0901BA311DC4D /* ANLoader-dummy.m in Sources */, 342 | 7A013EF780FD7D97FFC78CE0CC94680D /* ANLoader.swift in Sources */, 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | }; 346 | F9E2CC8B67DC370CC957D7596647E13B /* Sources */ = { 347 | isa = PBXSourcesBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | 527D61914253E7B59842917B17CC393C /* Pods-ANLoader_Example-dummy.m in Sources */, 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | /* End PBXSourcesBuildPhase section */ 355 | 356 | /* Begin PBXTargetDependency section */ 357 | 87F565AB097D2477F77F99DDBA9687BA /* PBXTargetDependency */ = { 358 | isa = PBXTargetDependency; 359 | name = ANLoader; 360 | target = 9CE57E025349EFDD992F790715F78FD4 /* ANLoader */; 361 | targetProxy = 7A0F20A60244D1C6607B00D0EC92C0E6 /* PBXContainerItemProxy */; 362 | }; 363 | /* End PBXTargetDependency section */ 364 | 365 | /* Begin XCBuildConfiguration section */ 366 | 18D7982D56A95A020DD74CF85661036B /* Release */ = { 367 | isa = XCBuildConfiguration; 368 | baseConfigurationReference = CFB21DA8236A4720567A721B307FF25A /* ANLoader.xcconfig */; 369 | buildSettings = { 370 | CODE_SIGN_IDENTITY = ""; 371 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 372 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 373 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 374 | CURRENT_PROJECT_VERSION = 1; 375 | DEFINES_MODULE = YES; 376 | DYLIB_COMPATIBILITY_VERSION = 1; 377 | DYLIB_CURRENT_VERSION = 1; 378 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 379 | GCC_PREFIX_HEADER = "Target Support Files/ANLoader/ANLoader-prefix.pch"; 380 | INFOPLIST_FILE = "Target Support Files/ANLoader/Info.plist"; 381 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 382 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 383 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 384 | MODULEMAP_FILE = "Target Support Files/ANLoader/ANLoader.modulemap"; 385 | PRODUCT_NAME = ANLoader; 386 | SDKROOT = iphoneos; 387 | SKIP_INSTALL = YES; 388 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 389 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 390 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 391 | SWIFT_VERSION = 5.0; 392 | TARGETED_DEVICE_FAMILY = "1,2"; 393 | VALIDATE_PRODUCT = YES; 394 | VERSIONING_SYSTEM = "apple-generic"; 395 | VERSION_INFO_PREFIX = ""; 396 | }; 397 | name = Release; 398 | }; 399 | 1CDAB5613991E411E5990BAF694995C5 /* Debug */ = { 400 | isa = XCBuildConfiguration; 401 | buildSettings = { 402 | ALWAYS_SEARCH_USER_PATHS = NO; 403 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 404 | CLANG_ANALYZER_NONNULL = YES; 405 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 406 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 407 | CLANG_CXX_LIBRARY = "libc++"; 408 | CLANG_ENABLE_MODULES = YES; 409 | CLANG_ENABLE_OBJC_ARC = YES; 410 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 411 | CLANG_WARN_BOOL_CONVERSION = YES; 412 | CLANG_WARN_COMMA = YES; 413 | CLANG_WARN_CONSTANT_CONVERSION = YES; 414 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 415 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 416 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 417 | CLANG_WARN_EMPTY_BODY = YES; 418 | CLANG_WARN_ENUM_CONVERSION = YES; 419 | CLANG_WARN_INFINITE_RECURSION = YES; 420 | CLANG_WARN_INT_CONVERSION = YES; 421 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 422 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 423 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 424 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 425 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 426 | CLANG_WARN_STRICT_PROTOTYPES = YES; 427 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 428 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 429 | CLANG_WARN_UNREACHABLE_CODE = YES; 430 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 431 | CODE_SIGNING_REQUIRED = NO; 432 | COPY_PHASE_STRIP = NO; 433 | DEBUG_INFORMATION_FORMAT = dwarf; 434 | ENABLE_STRICT_OBJC_MSGSEND = YES; 435 | ENABLE_TESTABILITY = YES; 436 | GCC_C_LANGUAGE_STANDARD = gnu11; 437 | GCC_DYNAMIC_NO_PIC = NO; 438 | GCC_NO_COMMON_BLOCKS = YES; 439 | GCC_OPTIMIZATION_LEVEL = 0; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "POD_CONFIGURATION_DEBUG=1", 442 | "DEBUG=1", 443 | "$(inherited)", 444 | ); 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 452 | MTL_ENABLE_DEBUG_INFO = YES; 453 | ONLY_ACTIVE_ARCH = YES; 454 | PRODUCT_NAME = "$(TARGET_NAME)"; 455 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 456 | STRIP_INSTALLED_PRODUCT = NO; 457 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 458 | SWIFT_VERSION = 5.0; 459 | SYMROOT = "${SRCROOT}/../build"; 460 | }; 461 | name = Debug; 462 | }; 463 | 2BDB5C11122C9EF03766922C0771C63F /* Release */ = { 464 | isa = XCBuildConfiguration; 465 | baseConfigurationReference = BB1E29C8426D604414A8CCE850B63D78 /* Pods-ANLoader_Example.release.xcconfig */; 466 | buildSettings = { 467 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 468 | CODE_SIGN_IDENTITY = ""; 469 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 470 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 471 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 472 | CURRENT_PROJECT_VERSION = 1; 473 | DEFINES_MODULE = YES; 474 | DYLIB_COMPATIBILITY_VERSION = 1; 475 | DYLIB_CURRENT_VERSION = 1; 476 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 477 | INFOPLIST_FILE = "Target Support Files/Pods-ANLoader_Example/Info.plist"; 478 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 479 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 480 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 481 | MACH_O_TYPE = staticlib; 482 | MODULEMAP_FILE = "Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.modulemap"; 483 | OTHER_LDFLAGS = ""; 484 | OTHER_LIBTOOLFLAGS = ""; 485 | PODS_ROOT = "$(SRCROOT)"; 486 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 487 | PRODUCT_NAME = Pods_ANLoader_Example; 488 | SDKROOT = iphoneos; 489 | SKIP_INSTALL = YES; 490 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 491 | TARGETED_DEVICE_FAMILY = "1,2"; 492 | VALIDATE_PRODUCT = YES; 493 | VERSIONING_SYSTEM = "apple-generic"; 494 | VERSION_INFO_PREFIX = ""; 495 | }; 496 | name = Release; 497 | }; 498 | 7B62A85C412D689EF418FA67DA770A41 /* Release */ = { 499 | isa = XCBuildConfiguration; 500 | buildSettings = { 501 | ALWAYS_SEARCH_USER_PATHS = NO; 502 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 503 | CLANG_ANALYZER_NONNULL = YES; 504 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 505 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 506 | CLANG_CXX_LIBRARY = "libc++"; 507 | CLANG_ENABLE_MODULES = YES; 508 | CLANG_ENABLE_OBJC_ARC = YES; 509 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 510 | CLANG_WARN_BOOL_CONVERSION = YES; 511 | CLANG_WARN_COMMA = YES; 512 | CLANG_WARN_CONSTANT_CONVERSION = YES; 513 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 514 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 515 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 516 | CLANG_WARN_EMPTY_BODY = YES; 517 | CLANG_WARN_ENUM_CONVERSION = YES; 518 | CLANG_WARN_INFINITE_RECURSION = YES; 519 | CLANG_WARN_INT_CONVERSION = YES; 520 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 521 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 522 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 523 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 524 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 525 | CLANG_WARN_STRICT_PROTOTYPES = YES; 526 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 527 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 528 | CLANG_WARN_UNREACHABLE_CODE = YES; 529 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 530 | CODE_SIGNING_REQUIRED = NO; 531 | COPY_PHASE_STRIP = NO; 532 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 533 | ENABLE_NS_ASSERTIONS = NO; 534 | ENABLE_STRICT_OBJC_MSGSEND = YES; 535 | GCC_C_LANGUAGE_STANDARD = gnu11; 536 | GCC_NO_COMMON_BLOCKS = YES; 537 | GCC_PREPROCESSOR_DEFINITIONS = ( 538 | "POD_CONFIGURATION_RELEASE=1", 539 | "$(inherited)", 540 | ); 541 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 542 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 543 | GCC_WARN_UNDECLARED_SELECTOR = YES; 544 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 545 | GCC_WARN_UNUSED_FUNCTION = YES; 546 | GCC_WARN_UNUSED_VARIABLE = YES; 547 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 548 | MTL_ENABLE_DEBUG_INFO = NO; 549 | PRODUCT_NAME = "$(TARGET_NAME)"; 550 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 551 | STRIP_INSTALLED_PRODUCT = NO; 552 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 553 | SWIFT_VERSION = 5.0; 554 | SYMROOT = "${SRCROOT}/../build"; 555 | }; 556 | name = Release; 557 | }; 558 | A7EB96F0B560E152DBD3604B63A68ADD /* Debug */ = { 559 | isa = XCBuildConfiguration; 560 | baseConfigurationReference = CFB21DA8236A4720567A721B307FF25A /* ANLoader.xcconfig */; 561 | buildSettings = { 562 | CODE_SIGN_IDENTITY = ""; 563 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 564 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 565 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 566 | CURRENT_PROJECT_VERSION = 1; 567 | DEFINES_MODULE = YES; 568 | DYLIB_COMPATIBILITY_VERSION = 1; 569 | DYLIB_CURRENT_VERSION = 1; 570 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 571 | GCC_PREFIX_HEADER = "Target Support Files/ANLoader/ANLoader-prefix.pch"; 572 | INFOPLIST_FILE = "Target Support Files/ANLoader/Info.plist"; 573 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 574 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 575 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 576 | MODULEMAP_FILE = "Target Support Files/ANLoader/ANLoader.modulemap"; 577 | PRODUCT_NAME = ANLoader; 578 | SDKROOT = iphoneos; 579 | SKIP_INSTALL = YES; 580 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 581 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 582 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 583 | SWIFT_VERSION = 5.0; 584 | TARGETED_DEVICE_FAMILY = "1,2"; 585 | VERSIONING_SYSTEM = "apple-generic"; 586 | VERSION_INFO_PREFIX = ""; 587 | }; 588 | name = Debug; 589 | }; 590 | BB4EC4A2D26C2016F75ED9070200BCE3 /* Debug */ = { 591 | isa = XCBuildConfiguration; 592 | baseConfigurationReference = FA6D95A1EBA41497EAC384D68D472D0A /* Pods-ANLoader_Example.debug.xcconfig */; 593 | buildSettings = { 594 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 595 | CODE_SIGN_IDENTITY = ""; 596 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 597 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 598 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 599 | CURRENT_PROJECT_VERSION = 1; 600 | DEFINES_MODULE = YES; 601 | DYLIB_COMPATIBILITY_VERSION = 1; 602 | DYLIB_CURRENT_VERSION = 1; 603 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 604 | INFOPLIST_FILE = "Target Support Files/Pods-ANLoader_Example/Info.plist"; 605 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 606 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 607 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 608 | MACH_O_TYPE = staticlib; 609 | MODULEMAP_FILE = "Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.modulemap"; 610 | OTHER_LDFLAGS = ""; 611 | OTHER_LIBTOOLFLAGS = ""; 612 | PODS_ROOT = "$(SRCROOT)"; 613 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 614 | PRODUCT_NAME = Pods_ANLoader_Example; 615 | SDKROOT = iphoneos; 616 | SKIP_INSTALL = YES; 617 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 618 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 619 | TARGETED_DEVICE_FAMILY = "1,2"; 620 | VERSIONING_SYSTEM = "apple-generic"; 621 | VERSION_INFO_PREFIX = ""; 622 | }; 623 | name = Debug; 624 | }; 625 | E6F79FD00156B0158038AD6DC342B40B /* Debug */ = { 626 | isa = XCBuildConfiguration; 627 | baseConfigurationReference = D44B6AAFBB5E68DDE3BBFE3EB2A0F9A9 /* Pods-ANLoader_Tests.debug.xcconfig */; 628 | buildSettings = { 629 | CODE_SIGN_IDENTITY = ""; 630 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 631 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 632 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 633 | CURRENT_PROJECT_VERSION = 1; 634 | DEFINES_MODULE = YES; 635 | DYLIB_COMPATIBILITY_VERSION = 1; 636 | DYLIB_CURRENT_VERSION = 1; 637 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 638 | INFOPLIST_FILE = "Target Support Files/Pods-ANLoader_Tests/Info.plist"; 639 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 640 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 641 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 642 | MACH_O_TYPE = staticlib; 643 | MODULEMAP_FILE = "Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.modulemap"; 644 | OTHER_LDFLAGS = ""; 645 | OTHER_LIBTOOLFLAGS = ""; 646 | PODS_ROOT = "$(SRCROOT)"; 647 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 648 | PRODUCT_NAME = Pods_ANLoader_Tests; 649 | SDKROOT = iphoneos; 650 | SKIP_INSTALL = YES; 651 | TARGETED_DEVICE_FAMILY = "1,2"; 652 | VERSIONING_SYSTEM = "apple-generic"; 653 | VERSION_INFO_PREFIX = ""; 654 | }; 655 | name = Debug; 656 | }; 657 | FCB03186DF6CC5AF59F611FD8DEF9A2D /* Release */ = { 658 | isa = XCBuildConfiguration; 659 | baseConfigurationReference = EE23F89096F25F9FF7E1216E30C4268B /* Pods-ANLoader_Tests.release.xcconfig */; 660 | buildSettings = { 661 | CODE_SIGN_IDENTITY = ""; 662 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 663 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 664 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 665 | CURRENT_PROJECT_VERSION = 1; 666 | DEFINES_MODULE = YES; 667 | DYLIB_COMPATIBILITY_VERSION = 1; 668 | DYLIB_CURRENT_VERSION = 1; 669 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 670 | INFOPLIST_FILE = "Target Support Files/Pods-ANLoader_Tests/Info.plist"; 671 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 672 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 673 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 674 | MACH_O_TYPE = staticlib; 675 | MODULEMAP_FILE = "Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.modulemap"; 676 | OTHER_LDFLAGS = ""; 677 | OTHER_LIBTOOLFLAGS = ""; 678 | PODS_ROOT = "$(SRCROOT)"; 679 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 680 | PRODUCT_NAME = Pods_ANLoader_Tests; 681 | SDKROOT = iphoneos; 682 | SKIP_INSTALL = YES; 683 | TARGETED_DEVICE_FAMILY = "1,2"; 684 | VALIDATE_PRODUCT = YES; 685 | VERSIONING_SYSTEM = "apple-generic"; 686 | VERSION_INFO_PREFIX = ""; 687 | }; 688 | name = Release; 689 | }; 690 | /* End XCBuildConfiguration section */ 691 | 692 | /* Begin XCConfigurationList section */ 693 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 694 | isa = XCConfigurationList; 695 | buildConfigurations = ( 696 | 1CDAB5613991E411E5990BAF694995C5 /* Debug */, 697 | 7B62A85C412D689EF418FA67DA770A41 /* Release */, 698 | ); 699 | defaultConfigurationIsVisible = 0; 700 | defaultConfigurationName = Release; 701 | }; 702 | 52BED7F2908B49A2C997B6E362470F59 /* Build configuration list for PBXNativeTarget "Pods-ANLoader_Tests" */ = { 703 | isa = XCConfigurationList; 704 | buildConfigurations = ( 705 | E6F79FD00156B0158038AD6DC342B40B /* Debug */, 706 | FCB03186DF6CC5AF59F611FD8DEF9A2D /* Release */, 707 | ); 708 | defaultConfigurationIsVisible = 0; 709 | defaultConfigurationName = Release; 710 | }; 711 | 60F338566BF6C7B9801B94D0E363320F /* Build configuration list for PBXNativeTarget "Pods-ANLoader_Example" */ = { 712 | isa = XCConfigurationList; 713 | buildConfigurations = ( 714 | BB4EC4A2D26C2016F75ED9070200BCE3 /* Debug */, 715 | 2BDB5C11122C9EF03766922C0771C63F /* Release */, 716 | ); 717 | defaultConfigurationIsVisible = 0; 718 | defaultConfigurationName = Release; 719 | }; 720 | D18F43169D668405F2D6DE3AE8C468E8 /* Build configuration list for PBXNativeTarget "ANLoader" */ = { 721 | isa = XCConfigurationList; 722 | buildConfigurations = ( 723 | A7EB96F0B560E152DBD3604B63A68ADD /* Debug */, 724 | 18D7982D56A95A020DD74CF85661036B /* Release */, 725 | ); 726 | defaultConfigurationIsVisible = 0; 727 | defaultConfigurationName = Release; 728 | }; 729 | /* End XCConfigurationList section */ 730 | }; 731 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 732 | } 733 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/anand.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/anand.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/anand.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseTargetSettings 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/ANLoader.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 52 | 53 | 59 | 60 | 62 | 63 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/Pods-ANLoader_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 52 | 53 | 59 | 60 | 62 | 63 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/Pods-ANLoader_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 52 | 53 | 59 | 60 | 62 | 63 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ANLoader.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-ANLoader_Example.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 2 20 | 21 | Pods-ANLoader_Tests.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 3 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 21DB72820EC5C6B9F07121E61FF998FF 32 | 33 | primary 34 | 35 | 36 | 94F33F481184D326360559982B4DED30 37 | 38 | primary 39 | 40 | 41 | 9CE57E025349EFDD992F790715F78FD4 42 | 43 | primary 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ANLoader/ANLoader-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ANLoader : NSObject 3 | @end 4 | @implementation PodsDummy_ANLoader 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ANLoader/ANLoader-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/ANLoader/ANLoader-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 ANLoaderVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ANLoaderVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ANLoader/ANLoader.modulemap: -------------------------------------------------------------------------------- 1 | framework module ANLoader { 2 | umbrella header "ANLoader-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ANLoader/ANLoader.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ANLoader 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "UIKit" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/ANLoader 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ANLoader/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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_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-ANLoader_Example/Pods-ANLoader_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ANLoader 5 | 6 | Copyright (c) 2017 anscoder 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-ANLoader_Example/Pods-ANLoader_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) 2017 anscoder <nimjea@gmail.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 | ANLoader 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-ANLoader_Example/Pods-ANLoader_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ANLoader_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ANLoader_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/ANLoader/ANLoader.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/ANLoader/ANLoader.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | 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 52 | 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} 53 | ;; 54 | *.xib) 55 | 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 56 | 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} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | 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}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_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_ANLoader_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ANLoader_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ANLoader" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ANLoader/ANLoader.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ANLoader" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ANLoader_Example { 2 | umbrella header "Pods-ANLoader_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Example/Pods-ANLoader_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ANLoader" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ANLoader/ANLoader.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ANLoader" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_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-ANLoader_Tests/Pods-ANLoader_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-ANLoader_Tests/Pods-ANLoader_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-ANLoader_Tests/Pods-ANLoader_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ANLoader_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ANLoader_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 104 | wait 105 | fi 106 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | 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 52 | 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} 53 | ;; 54 | *.xib) 55 | 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 56 | 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} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | 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}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_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_ANLoader_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ANLoader_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ANLoader" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ANLoader/ANLoader.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ANLoader_Tests { 2 | umbrella header "Pods-ANLoader_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ANLoader_Tests/Pods-ANLoader_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ANLoader" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ANLoader/ANLoader.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-all-non-framework-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-all-non-framework-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-all-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-all-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-generated-files.hmap: -------------------------------------------------------------------------------- 1 | pamhxuxANLoader_vers.c/Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/DerivedSources/ANLoader/ANLoader_vers.c -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-own-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-own-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-project-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader-project-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/ANLoader.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/DerivedSources/ANLoader_vers.c: -------------------------------------------------------------------------------- 1 | extern const unsigned char ANLoaderVersionString[]; 2 | extern const double ANLoaderVersionNumber; 3 | 4 | const unsigned char ANLoaderVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:ANLoader PROJECT:Pods-1" "\n"; 5 | const double ANLoaderVersionNumber __attribute__ ((used)) = (double)1.; 6 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/Objects-normal/arm64/ANLoader-OutputFileMap.json: -------------------------------------------------------------------------------- 1 | {"":{"swift-dependencies":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader-master.swiftdeps"},"\/Users\/anand\/Documents\/ANLoader\/Example\/Pods\/ANLoader\/ANLoader\/Classes\/ANLoader.swift":{"swiftmodule":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader~partial.swiftmodule","object":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader.o","llvm-bc":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader.bc","diagnostics":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader.dia","dependencies":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader.d","swift-dependencies":"\/Users\/anand\/Documents\/ANLoader\/Example\/build\/Pods.build\/Debug-iphoneos\/ANLoader.build\/Objects-normal\/arm64\/ANLoader.swiftdeps"}} -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/Objects-normal/arm64/ANLoader.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/Objects-normal/arm64/ANLoader-dummy.o 2 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/Objects-normal/arm64/ANLoader.o 3 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/Objects-normal/arm64/ANLoader_vers.o 4 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/dgph: -------------------------------------------------------------------------------- 1 | DGPH1.04 Oct 20 201713:30:02/Usersanand DocumentsANLoaderExamplePods -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module ANLoader { 2 | umbrella header "ANLoader-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | 8 | module ANLoader.Swift { 9 | header "ANLoader-Swift.h" 10 | requires objc 11 | } 12 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/swift-overrides.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/swift-overrides.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/unextended-module-overlay.yaml: -------------------------------------------------------------------------------- 1 | { 2 | 'version': 0, 3 | 'case-sensitive': 'false', 4 | 'roots': [{ 5 | 'type': 'directory', 6 | 'name': '/Users/anand/Documents/ANLoader/Example/build/Debug-iphoneos/ANLoader/ANLoader.framework/Modules' 7 | 'contents': [{ 8 | 'type': 'file', 9 | 'name': 'module.modulemap', 10 | 'external-contents': '/Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/ANLoader.build/unextended-module.modulemap', 11 | }] 12 | }] 13 | } 14 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/ANLoader.build/unextended-module.modulemap: -------------------------------------------------------------------------------- 1 | framework module ANLoader { 2 | umbrella header "ANLoader-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | 8 | module ANLoader.__Swift { 9 | exclude header "ANLoader-Swift.h" 10 | } 11 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/DerivedSources/Pods_ANLoader_Example_vers.c: -------------------------------------------------------------------------------- 1 | extern const unsigned char Pods_ANLoader_ExampleVersionString[]; 2 | extern const double Pods_ANLoader_ExampleVersionNumber; 3 | 4 | const unsigned char Pods_ANLoader_ExampleVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_ANLoader_Example PROJECT:Pods-1" "\n"; 5 | const double Pods_ANLoader_ExampleVersionNumber __attribute__ ((used)) = (double)1.; 6 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Objects-normal/arm64/Pods_ANLoader_Example.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Objects-normal/arm64/Pods-ANLoader_Example-dummy.o 2 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Objects-normal/arm64/Pods_ANLoader_Example_vers.o 3 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-all-non-framework-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-all-non-framework-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-all-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-all-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-generated-files.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-generated-files.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-own-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-own-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-project-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example-project-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/Pods_ANLoader_Example.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/dgph: -------------------------------------------------------------------------------- 1 | DGPH1.04 Oct 20 201713:30:02/Usersanand DocumentsANLoaderExamplePods -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Example.build/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ANLoader_Example { 2 | umbrella header "Pods-ANLoader_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/DerivedSources/Pods_ANLoader_Tests_vers.c: -------------------------------------------------------------------------------- 1 | extern const unsigned char Pods_ANLoader_TestsVersionString[]; 2 | extern const double Pods_ANLoader_TestsVersionNumber; 3 | 4 | const unsigned char Pods_ANLoader_TestsVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_ANLoader_Tests PROJECT:Pods-1" "\n"; 5 | const double Pods_ANLoader_TestsVersionNumber __attribute__ ((used)) = (double)1.; 6 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Objects-normal/arm64/Pods_ANLoader_Tests.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Objects-normal/arm64/Pods-ANLoader_Tests-dummy.o 2 | /Users/anand/Documents/ANLoader/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Objects-normal/arm64/Pods_ANLoader_Tests_vers.o 3 | -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-all-non-framework-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-all-non-framework-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-all-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-all-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-generated-files.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-generated-files.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-own-target-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-own-target-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-project-headers.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests-project-headers.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ANSCoder/ANLoader/b45b12600a4dc693b83d88640e24ca0bb545fa79/Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/Pods_ANLoader_Tests.hmap -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/dgph: -------------------------------------------------------------------------------- 1 | DGPH1.04 Oct 20 201713:30:02/Usersanand DocumentsANLoaderExamplePods -------------------------------------------------------------------------------- /Example/build/Pods.build/Debug-iphoneos/Pods-ANLoader_Tests.build/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ANLoader_Tests { 2 | umbrella header "Pods-ANLoader_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Anand Nimje 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 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.1 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "ANLoader", 8 | products: [ 9 | // Products define the executables and libraries produced by a package, and make them visible to other packages. 10 | .library( 11 | name: "ANLoader", 12 | targets: ["ANLoader"]), 13 | ], 14 | dependencies: [ 15 | // Dependencies declare other packages that this package depends on. 16 | .package(url: "https://github.com/ANSCoder/ANLoader.git", from: "1.0.0"), 17 | ], 18 | targets: [ 19 | // Targets are the basic building blocks of a package. A target can define a module or a test suite. 20 | // Targets can depend on other targets in this package, and on products in packages which this package depends on. 21 | .target( 22 | name: "ANLoader", 23 | dependencies: []), 24 | .testTarget( 25 | name: "ANLoaderTests", 26 | dependencies: ["ANLoader"]), 27 | ] 28 | ) 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ANLoader 2 | 3 | 👾 Create loading view with just a single lines of code. ⛳️ 4 | 5 | [![Build Status](https://travis-ci.com/ANSCoder/ANLoader.svg?branch=master)](https://travis-ci.com/ANSCoder/ANLoader) 6 | [![Version](https://img.shields.io/cocoapods/v/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 7 | [![License](https://img.shields.io/cocoapods/l/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 8 | [![Platform](https://img.shields.io/cocoapods/p/ANLoader.svg?style=flat)](http://cocoapods.org/pods/ANLoader) 9 | Swift 5.0 compatible 10 | 11 | ## Example 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 🎉 14 | 15 | 16 | ![](https://raw.githubusercontent.com/ANSCoder/ANLoader/master/Example/ANLoader/Images.xcassets/Sticker%20Pack.stickerpack/Loading.sticker/Loading.gif) 17 | 18 | 19 | ### 🛠 How to start loading 20 | 21 | By using a simple line create loading view. ☝🏻 22 | 23 | ```swift 24 | ANLoader.showLoading("Loading", disableUI: true) 25 | ``` 26 | 27 | By choosing 'disableUI' stops user interactions until you hide loading Activity. 🙌 28 | 29 | ### ⚡️ Use directly without disable UI 30 | 31 | ```swift 32 | ANLoader.showLoading() 33 | ``` 34 | 35 | ### 🖐🏻 How to dismiss loading 36 | 37 | No need to call other extra things it will be manage automatically. 👏🏻 38 | 39 | ```swift 40 | ANLoader.hide() 41 | ``` 42 | 43 | ### 📝 Custom Settings 44 | 45 | Easy to make changes by choosing options 🔧 46 | 47 | ```swift 48 | ANLoader.pulseAnimation = true //It will animate your Loading 49 | ANLoader.activityColor = .darkGray 50 | ANLoader.activityBackgroundColor = .clear 51 | ANLoader.activityTextColor = .clear 52 | 53 | ``` 54 | ![](https://github.com/ANSCoder/ANLoader/blob/master/Example/ANLoader/Images.xcassets/loading.imageset/loading.png) 55 | 56 | #### Note : - Please keep in mind activityColor and activityBackgroundColor should be different.Otherwise you can manage by your self. Add custom settings in the AppDelegate class. 57 | 58 | ## 🤔 Requirements 59 | 60 | * Deployment target of your App is >= iOS 10.2 61 | * Xcode 10+ 62 | 63 | ## 💻 Installation 64 | 65 | ANLoader is available through [CocoaPods](http://cocoapods.org). To install 66 | it, simply add the following line to your Podfile: 67 | 68 | ```ruby 69 | pod 'ANLoader', :git => 'https://github.com/ANSCoder/ANLoader.git' 70 | ``` 71 | 72 | ### Swift Package Manager 73 | ```swift 74 | dependencies: [ 75 | .package(url: "https://github.com/ANSCoder/ANLoader.git", from: "2.0.0") 76 | ] 77 | ``` 78 | #### or 79 | 80 | Manually drag and drop `ANLoader.swift` single file inside your project. 81 | 82 | ## 👤 Author 83 | 84 | anscoder (Anand) 85 | 86 | ## 📄 License 87 | 88 | ANLoader is available under the MIT license. See the [LICENSE](https://github.com/ANSCoder/ANLoader/blob/master/LICENSE) file for more info. 89 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman --------------------------------------------------------------------------------