├── .DS_Store ├── .gitignore ├── AyLoading.podspec ├── Classes ├── AyLoading.swift ├── NSButton+Loading.swift ├── NSView+Animations.swift ├── NSView+Indicator.swift ├── UIBarButtonItem+Loading.swift ├── UIButton+Loading.swift ├── UIView+Animations.swift ├── UIView+Indicator.swift ├── iOS+IndicatorView.swift └── macOS+IndicatorView.swift ├── LICENSE ├── README.md └── example ├── Podfile ├── Podfile.lock ├── Pods ├── Local Podspecs │ └── AyLoading.podspec.json ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj └── Target Support Files │ ├── AyLoading-iOS │ ├── AyLoading-iOS-Info.plist │ ├── AyLoading-iOS-dummy.m │ ├── AyLoading-iOS-prefix.pch │ ├── AyLoading-iOS-umbrella.h │ ├── AyLoading-iOS.modulemap │ └── AyLoading-iOS.xcconfig │ ├── AyLoading-macOS │ ├── AyLoading-macOS-Info.plist │ ├── AyLoading-macOS-dummy.m │ ├── AyLoading-macOS-prefix.pch │ ├── AyLoading-macOS-umbrella.h │ ├── AyLoading-macOS.modulemap │ └── AyLoading-macOS.xcconfig │ ├── Pods-iOS │ ├── Pods-iOS-Info.plist │ ├── Pods-iOS-acknowledgements.markdown │ ├── Pods-iOS-acknowledgements.plist │ ├── Pods-iOS-dummy.m │ ├── Pods-iOS-frameworks.sh │ ├── Pods-iOS-umbrella.h │ ├── Pods-iOS.debug.xcconfig │ ├── Pods-iOS.modulemap │ └── Pods-iOS.release.xcconfig │ └── Pods-macOS │ ├── Pods-macOS-Info.plist │ ├── Pods-macOS-acknowledgements.markdown │ ├── Pods-macOS-acknowledgements.plist │ ├── Pods-macOS-dummy.m │ ├── Pods-macOS-frameworks.sh │ ├── Pods-macOS-umbrella.h │ ├── Pods-macOS.debug.xcconfig │ ├── Pods-macOS.modulemap │ └── Pods-macOS.release.xcconfig ├── example.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── example.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── iOS ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist └── ViewController.swift ├── macOS ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── Base.lproj │ └── Main.storyboard ├── Info.plist ├── ViewController.swift └── macOS.entitlements └── screenshot ├── ios.gif └── macos.gif /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakery/AyLoading/5772eac0aba5091336be2ddbcac546c0d54e7de8/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | ## Playgrounds 32 | timeline.xctimeline 33 | playground.xcworkspace 34 | 35 | # Swift Package Manager 36 | # 37 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 38 | # Packages/ 39 | # Package.pins 40 | .build/ 41 | 42 | # CocoaPods 43 | # 44 | # We recommend against adding the Pods directory to your .gitignore. However 45 | # you should judge for yourself, the pros and cons are mentioned at: 46 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 47 | # 48 | # Pods/ 49 | 50 | # Carthage 51 | # 52 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 53 | # Carthage/Checkouts 54 | 55 | Carthage/Build 56 | 57 | # fastlane 58 | # 59 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 60 | # screenshots whenever they are needed. 61 | # For more information about the recommended setup visit: 62 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 63 | 64 | fastlane/report.xml 65 | fastlane/Preview.html 66 | fastlane/screenshots 67 | fastlane/test_output 68 | 69 | .DS_Store 70 | -------------------------------------------------------------------------------- /AyLoading.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "AyLoading" 3 | s.version = "4.0.1" 4 | s.summary = "loading..." 5 | s.homepage = "https://github.com/Chakery/AyLoading" 6 | s.license = { :type => "MIT", :file => "LICENSE" } 7 | s.author = { "Chakery" => "chakerychen@gmail.com" } 8 | s.swift_version = "4.2" 9 | s.ios.deployment_target = "8.0" 10 | s.osx.deployment_target = "10.10" 11 | s.source = { :git => "https://github.com/Chakery/AyLoading.git", :tag => "#{s.version}" } 12 | s.source_files = "Classes", "Classes/**/*" 13 | s.osx.exclude_files = ["Classes/UIView+Indicator.swift", 14 | "Classes/UIButton+Loading.swift", 15 | "Classes/UIBarButtonItem+Loading.swift", 16 | "Classes/iOS+IndicatorView.swift", 17 | "Classes/UIView+Animations.swift"] 18 | s.ios.exclude_files = ["Classes/NSButton+Loading.swift", 19 | "Classes/NSView+Indicator.swift", 20 | "Classes/macOS+IndicatorView.swift", 21 | "Classes/NSView+Animations.swift"] 22 | end 23 | -------------------------------------------------------------------------------- /Classes/AyLoading.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AyLoading.swift 3 | // talkpal 4 | // 5 | // Created by Chakery on 2017/9/6. 6 | // Copyright © 2017年 Chakery. All rights reserved. 7 | // 8 | 9 | #if os(macOS) 10 | import AppKit 11 | typealias View = NSView 12 | #elseif os(iOS) 13 | import UIKit 14 | typealias View = UIView 15 | #endif 16 | 17 | public typealias AnimatedCompleted = () -> Void 18 | 19 | public final class AyLoading { 20 | public let base: Base 21 | public init(_ base: Base) { 22 | self.base = base 23 | } 24 | } 25 | 26 | public protocol AyLoadingCompatible { 27 | associatedtype CompatibleType 28 | var ay: CompatibleType { get } 29 | } 30 | 31 | public extension AyLoadingCompatible { 32 | public var ay: AyLoading { 33 | get { return AyLoading(self) } 34 | } 35 | } 36 | 37 | public protocol AyLoadingAction { 38 | func startLoading(message: String?) -> Bool 39 | func stopLoading() -> Bool 40 | } 41 | 42 | public extension AyLoadingAction { 43 | func startLoading(message: String?) -> Bool { 44 | return false 45 | } 46 | 47 | func stopLoading() -> Bool { 48 | return false 49 | } 50 | } 51 | 52 | #if os(macOS) || os(iOS) 53 | extension View: AyLoadingCompatible, AyLoadingAction { } 54 | #endif 55 | 56 | #if os(iOS) 57 | extension UIBarButtonItem: AyLoadingCompatible, AyLoadingAction { } 58 | #endif 59 | -------------------------------------------------------------------------------- /Classes/NSButton+Loading.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSButton+Loading.swift 3 | // talkpal 4 | // 5 | // Created by Chakery on 2017/9/6. 6 | // Copyright © 2017年 Chakery. All rights reserved. 7 | // 8 | 9 | import Cocoa 10 | 11 | private var subViewsTempKey: Void? 12 | 13 | extension AyLoading where Base: NSButton { 14 | 15 | private var subViewsTemp: [NSView] { 16 | get { 17 | return objc_getAssociatedObject(base, &subViewsTempKey) as? [NSView] ?? [] 18 | } 19 | set { 20 | objc_setAssociatedObject(base, &subViewsTempKey, newValue, .OBJC_ASSOCIATION_COPY_NONATOMIC) 21 | } 22 | } 23 | 24 | @discardableResult 25 | public func startLoading(message: String? = nil) -> Bool { 26 | guard !base.ay.indicatorView.isLoading else { return false } 27 | base.isEnabled = false 28 | prepareStartLoading() 29 | base.ay.startAnimation(message) 30 | return true 31 | } 32 | 33 | @discardableResult 34 | public func stopLoading() -> Bool { 35 | guard base.ay.indicatorView.isLoading else { return false } 36 | prepareStopLoading() 37 | base.ay.stopAnimation { [weak base] in 38 | base?.isEnabled = true 39 | } 40 | return true 41 | } 42 | 43 | private func prepareStartLoading() { 44 | subViewsTemp = base.subviews.filter { 45 | "NSButtonTextField" == String(describing: type(of: $0)) 46 | } 47 | for item in subViewsTemp { 48 | item.ay.removeFromSuperview(animated: true) 49 | } 50 | } 51 | 52 | private func prepareStopLoading() { 53 | for item in subViewsTemp { 54 | base.ay.addSubview(item, animated: true) 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Classes/NSView+Animations.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSView+Animations.swift 3 | // Pods 4 | // 5 | // Created by Talkpal on 2017/9/29. 6 | // 7 | // 8 | 9 | import Cocoa 10 | 11 | public extension AyLoading where Base: NSView { 12 | 13 | public func addSubview(_ view: NSView, animated: Bool, completed: AnimatedCompleted? = nil) { 14 | let originAlpha = view.alphaValue 15 | view.alphaValue = 0 16 | base.addSubview(view) 17 | let animations: (NSAnimationContext) -> Void = { context in 18 | context.duration = animated ? 0.3 : 0.0 19 | view.animator().alphaValue = originAlpha 20 | } 21 | let completion: () -> Void = { 22 | completed?() 23 | } 24 | NSAnimationContext.runAnimationGroup(animations, completionHandler: completion) 25 | } 26 | 27 | public func removeFromSuperview(animated: Bool, completed: AnimatedCompleted? = nil) { 28 | let originAlpha = base.alphaValue 29 | let animations: (NSAnimationContext) -> Void = { [weak base] context in 30 | context.duration = animated ? 0.3 : 0.0 31 | base?.animator().alphaValue = 0.0 32 | } 33 | let completion: () -> Void = { [weak base] in 34 | base?.alphaValue = originAlpha 35 | base?.removeFromSuperview() 36 | completed?() 37 | } 38 | NSAnimationContext.runAnimationGroup(animations, completionHandler: completion) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Classes/NSView+Indicator.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSView+Indicator.swift 3 | // talkpal 4 | // 5 | // Created by Chakery on 2017/9/6. 6 | // Copyright © 2017年 Chakery. All rights reserved. 7 | // 8 | 9 | import Cocoa 10 | 11 | private var indicatorViewTempKey: Void? 12 | 13 | extension AyLoading where Base: NSView { 14 | 15 | private var indicatorViewTemp: IndicatorView? { 16 | get { 17 | return objc_getAssociatedObject(base, &indicatorViewTempKey) as? IndicatorView 18 | } 19 | set { 20 | objc_setAssociatedObject(base, &indicatorViewTempKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) 21 | } 22 | } 23 | 24 | public var indicatorView: IndicatorView { 25 | if let val = indicatorViewTemp { 26 | return val 27 | } 28 | let indicator = IndicatorView() 29 | indicatorViewTemp = indicator 30 | return indicator 31 | } 32 | 33 | @discardableResult 34 | public func startLoading(message: String? = nil) -> Bool { 35 | guard !indicatorView.isLoading else { 36 | return false 37 | } 38 | startAnimation(message) 39 | return true 40 | } 41 | 42 | @discardableResult 43 | public func stopLoading() -> Bool { 44 | guard indicatorView.isLoading else { 45 | return false 46 | } 47 | stopAnimation() 48 | return true 49 | } 50 | 51 | func startAnimation(_ message: String?) { 52 | setupIndicatorView() 53 | indicatorView.startAnimating() 54 | indicatorView.message = message 55 | } 56 | 57 | func stopAnimation(completed: AnimatedCompleted? = nil) { 58 | indicatorView.stopAnimating(completed: completed) 59 | } 60 | 61 | private func setupIndicatorView() { 62 | indicatorView.translatesAutoresizingMaskIntoConstraints = false 63 | base.addSubview(indicatorView) 64 | let centerX = NSLayoutConstraint(item: indicatorView, 65 | attribute: .centerX, 66 | relatedBy: .equal, 67 | toItem: base, 68 | attribute: .centerX, 69 | multiplier: 1.0, 70 | constant: 0.0) 71 | let centerY = NSLayoutConstraint(item: indicatorView, 72 | attribute: .centerY, 73 | relatedBy: .equal, 74 | toItem: base, 75 | attribute: .centerY, 76 | multiplier: 1.0, 77 | constant: 0.0) 78 | base.addConstraint(centerX) 79 | base.addConstraint(centerY) 80 | } 81 | 82 | } 83 | -------------------------------------------------------------------------------- /Classes/UIBarButtonItem+Loading.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIBarButtonItem+Loading.swift 3 | // Pods 4 | // 5 | // Created by Chakery on 2017/9/7. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | private var UIBarButtonItemSubviewsKey: Void? 12 | 13 | extension AyLoading where Base: UIBarButtonItem { 14 | 15 | private var subviewsTemp: [UIView] { 16 | get{ 17 | return objc_getAssociatedObject(base, &UIBarButtonItemSubviewsKey) as? [UIView] ?? [] 18 | } 19 | set { 20 | objc_setAssociatedObject(base, &UIBarButtonItemSubviewsKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) 21 | } 22 | } 23 | 24 | public var indicatorView: IndicatorView? { 25 | if let view = baseContentView { 26 | return view.ay.indicatorView 27 | } 28 | return nil 29 | } 30 | 31 | @discardableResult 32 | public func startLoading(message: String? = nil) -> Bool { 33 | guard let view = baseContentView else { 34 | return false 35 | } 36 | guard !view.ay.isLoading else { 37 | return false 38 | } 39 | prepareStartLoading() 40 | view.ay.startAnimation(message) 41 | view.isUserInteractionEnabled = false 42 | return true 43 | } 44 | 45 | @discardableResult 46 | public func stopLoading() -> Bool { 47 | guard let view = baseContentView else { 48 | return false 49 | } 50 | guard view.ay.isLoading else { 51 | return false 52 | } 53 | prepareStopLoading() 54 | view.ay.stopAnimation { 55 | view.isUserInteractionEnabled = true 56 | } 57 | return true 58 | } 59 | 60 | private func prepareStartLoading() { 61 | if let view = baseContentView { 62 | subviewsTemp = view.subviews 63 | subviewsTemp.forEach { $0.isHidden = true } 64 | } 65 | } 66 | 67 | private func prepareStopLoading() { 68 | subviewsTemp.forEach { $0.isHidden = false } 69 | } 70 | 71 | private var baseContentView: UIView? { 72 | return base.value(forKey: "view") as? UIView 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /Classes/UIButton+Loading.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+Loading.swift 3 | // Pods 4 | // 5 | // Created by Chakery on 2017/9/7. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | extension AyLoading where Base: UIButton { 12 | 13 | @discardableResult 14 | public func startLoading(message: String? = nil) -> Bool { 15 | guard !base.ay.isLoading else { return false } 16 | prepareStartLoading() 17 | base.ay.startAnimation(message) 18 | base.isUserInteractionEnabled = false 19 | return true 20 | } 21 | 22 | @discardableResult 23 | public func stopLoading() -> Bool { 24 | guard base.ay.isLoading else { return false } 25 | prepareStopLoading() 26 | base.ay.stopAnimation { [weak base] in 27 | base?.isUserInteractionEnabled = true 28 | } 29 | return true 30 | } 31 | 32 | private func prepareStartLoading() { 33 | base.titleLabel?.ay.removeFromSuperview(animated: true) 34 | base.imageView?.ay.removeFromSuperview(animated: true) 35 | } 36 | 37 | private func prepareStopLoading() { 38 | if let titleLabel = base.titleLabel { 39 | base.ay.addSubview(titleLabel, animated: true) 40 | } 41 | if let imageView = base.imageView { 42 | base.ay.addSubview(imageView, animated: true) 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Classes/UIView+Animations.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+ Animations.swift 3 | // Pods 4 | // 5 | // Created by Talkpal on 2017/9/29. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | public extension AyLoading where Base: UIView { 12 | 13 | public func addSubview(_ view: UIView, animated: Bool, completed: AnimatedCompleted? = nil) { 14 | let originAlpha = view.alpha 15 | view.alpha = 0 16 | base.addSubview(view) 17 | let animations: () -> Void = { 18 | view.alpha = originAlpha 19 | } 20 | let completion: (Bool) -> Void = { _ in 21 | completed?() 22 | } 23 | UIView.animate(withDuration: animated ? 0.3 : 0.0, animations: animations, completion: completion) 24 | } 25 | 26 | public func removeFromSuperview(animated: Bool, completed: AnimatedCompleted? = nil) { 27 | let animations: () -> Void = { [weak base] in 28 | base?.alpha = 0 29 | } 30 | let completion: (Bool) -> Void = { [weak base] _ in 31 | base?.alpha = 1.0 32 | base?.removeFromSuperview() 33 | completed?() 34 | } 35 | UIView.animate(withDuration: animated ? 0.3 : 0.0, animations: animations, completion: completion) 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Classes/UIView+Indicator.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Indicator.swift 3 | // Pods 4 | // 5 | // Created by Chakery on 2017/9/7. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | private var indicatorViewTempKey: Void? 12 | 13 | extension AyLoading where Base: UIView { 14 | 15 | private var indicatorViewTemp: IndicatorView? { 16 | get { 17 | return objc_getAssociatedObject(base, &indicatorViewTempKey) as? IndicatorView 18 | } 19 | set { 20 | objc_setAssociatedObject(base, &indicatorViewTempKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) 21 | } 22 | } 23 | 24 | public var isLoading: Bool { 25 | return indicatorView.isLoading 26 | } 27 | 28 | public var indicatorView: IndicatorView { 29 | if let val = indicatorViewTemp { 30 | return val 31 | } 32 | let indicator = IndicatorView() 33 | indicatorViewTemp = indicator 34 | return indicator 35 | } 36 | 37 | @discardableResult 38 | public func startLoading(message: String? = nil) -> Bool { 39 | guard !isLoading else { 40 | return false 41 | } 42 | startAnimation(message) 43 | return true 44 | } 45 | 46 | @discardableResult 47 | public func stopLoading() -> Bool { 48 | guard isLoading else { 49 | return false 50 | } 51 | stopAnimation() 52 | return true 53 | } 54 | 55 | func startAnimation(_ message: String?) { 56 | setupActivityIndicator() 57 | indicatorView.message = message 58 | indicatorView.startAnimating() 59 | } 60 | 61 | func stopAnimation(completed: AnimatedCompleted? = nil) { 62 | indicatorView.stopAnimating(completed: completed) 63 | } 64 | 65 | private func setupActivityIndicator() { 66 | indicatorView.translatesAutoresizingMaskIntoConstraints = false 67 | base.addSubview(indicatorView) 68 | let centerX = NSLayoutConstraint(item: indicatorView, 69 | attribute: .centerX, 70 | relatedBy: .equal, 71 | toItem: base, 72 | attribute: .centerX, 73 | multiplier: 1.0, 74 | constant: 0.0) 75 | let centerY = NSLayoutConstraint(item: indicatorView, 76 | attribute: .centerY, 77 | relatedBy: .equal, 78 | toItem: base, 79 | attribute: .centerY, 80 | multiplier: 1.0, 81 | constant: 0.0) 82 | base.addConstraint(centerX) 83 | base.addConstraint(centerY) 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Classes/iOS+IndicatorView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IndicatorView.swift 3 | // Pods 4 | // 5 | // Created by Talkpal on 2017/9/28. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | public class IndicatorView: UIView { 12 | 13 | public override init(frame: CGRect) { 14 | super.init(frame: frame) 15 | setupView() 16 | } 17 | 18 | public required init?(coder aDecoder: NSCoder) { 19 | super.init(coder: aDecoder) 20 | setupView() 21 | } 22 | 23 | public var space: CGFloat = 4.0 { 24 | didSet { 25 | updateCustomConstraints() 26 | } 27 | } 28 | 29 | public var padding: UIEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) { 30 | didSet { 31 | updateCustomConstraints() 32 | } 33 | } 34 | 35 | public var isLoading: Bool { 36 | return activityIndicator.isAnimating 37 | } 38 | 39 | public func startAnimating() { 40 | guard !isLoading else { return } 41 | activityIndicator.startAnimating() 42 | let animations = { 43 | self.alpha = 1 44 | } 45 | UIView.animate(withDuration: 0.3, animations: animations) 46 | } 47 | 48 | public func stopAnimating(completed: AnimatedCompleted?) { 49 | guard isLoading else { return } 50 | self.ay.removeFromSuperview(animated: true) { [weak self] in 51 | self?.activityIndicator.stopAnimating() 52 | completed?() 53 | } 54 | } 55 | 56 | public var message: String? { 57 | didSet { 58 | messageLabel.text = message 59 | updateCustomConstraints() 60 | } 61 | } 62 | 63 | public private(set) lazy var activityIndicator: UIActivityIndicatorView = { 64 | let indicator = UIActivityIndicatorView(style: .gray) 65 | indicator.hidesWhenStopped = true 66 | indicator.stopAnimating() 67 | return indicator 68 | }() 69 | 70 | public private(set) lazy var messageLabel: UILabel = { 71 | let label = UILabel() 72 | label.textColor = UIColor.darkGray 73 | return label 74 | }() 75 | 76 | private var labelSize: CGSize { 77 | return messageLabel.sizeThatFits(.zero) 78 | } 79 | 80 | private var customConstraints: [NSLayoutConstraint] = [] 81 | 82 | private var isHiddenMessageLabel: Bool { 83 | if let val = message { 84 | return val.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty 85 | } 86 | return true 87 | } 88 | 89 | public override var intrinsicContentSize: CGSize { 90 | let h1 = activityIndicator.bounds.size.height 91 | let w1 = activityIndicator.bounds.size.width 92 | 93 | let h2 = labelSize.height 94 | let w2 = labelSize.width 95 | 96 | let w = w1 + w2 + space + padding.left + padding.right 97 | let h = max(h1, h2) + padding.top + padding.bottom 98 | let size = CGSize(width: w, height: h) 99 | 100 | return size 101 | } 102 | 103 | private func setupView() { 104 | setupIndicator() 105 | setupMessageLabel() 106 | } 107 | 108 | private func setupIndicator() { 109 | activityIndicator.translatesAutoresizingMaskIntoConstraints = false 110 | addSubview(activityIndicator) 111 | setupIndicatorConstraints() 112 | } 113 | 114 | private func setupMessageLabel() { 115 | messageLabel.translatesAutoresizingMaskIntoConstraints = false 116 | addSubview(messageLabel) 117 | setupMessageLabelConstraints() 118 | } 119 | 120 | private func updateCustomConstraints() { 121 | 122 | invalidateIntrinsicContentSize() 123 | 124 | for item in customConstraints { 125 | removeConstraint(item) 126 | } 127 | 128 | customConstraints.removeAll() 129 | setupIndicatorConstraints() 130 | setupMessageLabelConstraints() 131 | } 132 | 133 | private func setupIndicatorConstraints() { 134 | if isHiddenMessageLabel { 135 | let centerX = NSLayoutConstraint(item: activityIndicator, 136 | attribute: .centerX, 137 | relatedBy: .equal, 138 | toItem: self, 139 | attribute: .centerX, 140 | multiplier: 1.0, 141 | constant: 0.0) 142 | let centerY = NSLayoutConstraint(item: activityIndicator, 143 | attribute: .centerY, 144 | relatedBy: .equal, 145 | toItem: self, 146 | attribute: .centerY, 147 | multiplier: 1.0, 148 | constant: 0.0) 149 | addConstraint(centerX) 150 | addConstraint(centerY) 151 | customConstraints.append(centerX) 152 | customConstraints.append(centerY) 153 | } else { 154 | let leading = NSLayoutConstraint(item: activityIndicator, 155 | attribute: .leading, 156 | relatedBy: .equal, 157 | toItem: self, 158 | attribute: .leading, 159 | multiplier: 1.0, 160 | constant: padding.left) 161 | let centerY = NSLayoutConstraint(item: activityIndicator, 162 | attribute: .centerY, 163 | relatedBy: .equal, 164 | toItem: self, 165 | attribute: .centerY, 166 | multiplier: 1.0, 167 | constant: 0.0) 168 | addConstraint(leading) 169 | addConstraint(centerY) 170 | customConstraints.append(leading) 171 | customConstraints.append(centerY) 172 | } 173 | } 174 | 175 | private func setupMessageLabelConstraints() { 176 | let leading = NSLayoutConstraint(item: messageLabel, 177 | attribute: .leading, 178 | relatedBy: .equal, 179 | toItem: activityIndicator, 180 | attribute: .trailing, 181 | multiplier: 1.0, 182 | constant: space) 183 | let height = NSLayoutConstraint(item: messageLabel, 184 | attribute: .height, 185 | relatedBy: .equal, 186 | toItem: nil, 187 | attribute: .notAnAttribute, 188 | multiplier: 1.0, 189 | constant: labelSize.height) 190 | let width = NSLayoutConstraint(item: messageLabel, 191 | attribute: .width, 192 | relatedBy: .equal, 193 | toItem: nil, 194 | attribute: .notAnAttribute, 195 | multiplier: 1.0, 196 | constant: labelSize.width) 197 | let centerY = NSLayoutConstraint(item: messageLabel, 198 | attribute: .centerY, 199 | relatedBy: .equal, 200 | toItem: self, 201 | attribute: .centerY, 202 | multiplier: 1.0, 203 | constant: 0.0) 204 | addConstraint(leading) 205 | addConstraint(height) 206 | addConstraint(width) 207 | addConstraint(centerY) 208 | customConstraints.append(leading) 209 | customConstraints.append(height) 210 | customConstraints.append(width) 211 | customConstraints.append(centerY) 212 | } 213 | } 214 | 215 | 216 | -------------------------------------------------------------------------------- /Classes/macOS+IndicatorView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // macOSIndicatorView.swift 3 | // Pods 4 | // 5 | // Created by Talkpal on 2017/9/28. 6 | // 7 | // 8 | 9 | import Cocoa 10 | 11 | public class IndicatorView: NSView { 12 | 13 | public override init(frame frameRect: NSRect) { 14 | super.init(frame: frameRect) 15 | setupView() 16 | } 17 | 18 | public required init?(coder: NSCoder) { 19 | super.init(coder: coder) 20 | setupView() 21 | } 22 | 23 | public var space: CGFloat = 4.0 { 24 | didSet { 25 | updateCustomConstraints() 26 | } 27 | } 28 | 29 | public var padding: NSEdgeInsets = NSEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) { 30 | didSet { 31 | updateCustomConstraints() 32 | } 33 | } 34 | 35 | public func startAnimating() { 36 | guard !isLoading else { 37 | return 38 | } 39 | isLoading = true 40 | activityIndicator.startAnimation(nil) 41 | let animations: (NSAnimationContext) -> Void = { context in 42 | context.duration = 0.3 43 | self.animator().alphaValue = 1 44 | } 45 | NSAnimationContext.runAnimationGroup(animations, completionHandler: nil) 46 | } 47 | 48 | public func stopAnimating(completed: AnimatedCompleted?) { 49 | guard isLoading else { return } 50 | isLoading = false 51 | self.ay.removeFromSuperview(animated: true) { [weak self] in 52 | self?.activityIndicator.stopAnimation(nil) 53 | completed?() 54 | } 55 | } 56 | 57 | public var message: String? { 58 | didSet { 59 | messageLabel.stringValue = message ?? "" 60 | updateCustomConstraints() 61 | } 62 | } 63 | 64 | public private(set) var isLoading: Bool = false 65 | 66 | public private(set) lazy var activityIndicator: NSProgressIndicator = { 67 | let indicator = NSProgressIndicator() 68 | indicator.style = .spinning 69 | indicator.controlSize = .small 70 | indicator.isDisplayedWhenStopped = false 71 | indicator.stopAnimation(nil) 72 | indicator.sizeToFit() 73 | return indicator 74 | }() 75 | 76 | public private(set) lazy var messageLabel: NSTextField = { 77 | let label = NSTextField() 78 | label.isEditable = false 79 | label.isSelectable = false 80 | label.backgroundColor = .controlColor 81 | label.drawsBackground = false 82 | label.isBezeled = false 83 | label.alignment = .natural 84 | label.lineBreakMode = .byClipping 85 | label.cell?.isScrollable = true 86 | label.cell?.wraps = false 87 | return label 88 | }() 89 | 90 | private var labelSize: CGSize { 91 | return messageLabel.sizeThatFits(.zero) 92 | } 93 | 94 | private var customConstraints: [NSLayoutConstraint] = [] 95 | 96 | private var isHiddenMessageLabel: Bool { 97 | if let val = message { 98 | return val.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty 99 | } 100 | return true 101 | } 102 | 103 | public override var intrinsicContentSize: CGSize { 104 | let h1 = activityIndicator.bounds.size.height 105 | let w1 = activityIndicator.bounds.size.width 106 | 107 | let h2 = labelSize.height 108 | let w2 = labelSize.width 109 | 110 | let w = w1 + w2 + space + padding.left + padding.right 111 | let h = max(h1, h2) + padding.top + padding.bottom 112 | let size = CGSize(width: w, height: h) 113 | 114 | return size 115 | } 116 | 117 | private func setupView() { 118 | setupIndicator() 119 | setupMessageLabel() 120 | } 121 | 122 | private func setupIndicator() { 123 | activityIndicator.translatesAutoresizingMaskIntoConstraints = false 124 | addSubview(activityIndicator) 125 | setupIndicatorConstraints() 126 | } 127 | 128 | private func setupMessageLabel() { 129 | messageLabel.translatesAutoresizingMaskIntoConstraints = false 130 | addSubview(messageLabel) 131 | setupMessageLabelConstraints() 132 | } 133 | 134 | private func updateCustomConstraints() { 135 | invalidateIntrinsicContentSize() 136 | 137 | for item in customConstraints { 138 | removeConstraint(item) 139 | } 140 | 141 | customConstraints.removeAll() 142 | setupIndicatorConstraints() 143 | setupMessageLabelConstraints() 144 | } 145 | 146 | private func setupIndicatorConstraints() { 147 | if isHiddenMessageLabel { 148 | let centerX = NSLayoutConstraint(item: activityIndicator, 149 | attribute: .centerX, 150 | relatedBy: .equal, 151 | toItem: self, 152 | attribute: .centerX, 153 | multiplier: 1.0, 154 | constant: 0.0) 155 | let centerY = NSLayoutConstraint(item: activityIndicator, 156 | attribute: .centerY, 157 | relatedBy: .equal, 158 | toItem: self, 159 | attribute: .centerY, 160 | multiplier: 1.0, 161 | constant: 0.0) 162 | addConstraint(centerX) 163 | addConstraint(centerY) 164 | customConstraints.append(centerX) 165 | customConstraints.append(centerY) 166 | } else { 167 | let leading = NSLayoutConstraint(item: activityIndicator, 168 | attribute: .leading, 169 | relatedBy: .equal, 170 | toItem: self, 171 | attribute: .leading, 172 | multiplier: 1.0, 173 | constant: padding.left) 174 | let centerY = NSLayoutConstraint(item: activityIndicator, 175 | attribute: .centerY, 176 | relatedBy: .equal, 177 | toItem: self, 178 | attribute: .centerY, 179 | multiplier: 1.0, 180 | constant: 0.0) 181 | addConstraint(leading) 182 | addConstraint(centerY) 183 | customConstraints.append(leading) 184 | customConstraints.append(centerY) 185 | } 186 | } 187 | 188 | private func setupMessageLabelConstraints() { 189 | let leading = NSLayoutConstraint(item: messageLabel, 190 | attribute: .leading, 191 | relatedBy: .equal, 192 | toItem: activityIndicator, 193 | attribute: .trailing, 194 | multiplier: 1.0, 195 | constant: space) 196 | let height = NSLayoutConstraint(item: messageLabel, 197 | attribute: .height, 198 | relatedBy: .equal, 199 | toItem: nil, 200 | attribute: .notAnAttribute, 201 | multiplier: 1.0, 202 | constant: labelSize.height) 203 | let width = NSLayoutConstraint(item: messageLabel, 204 | attribute: .width, 205 | relatedBy: .equal, 206 | toItem: nil, 207 | attribute: .notAnAttribute, 208 | multiplier: 1.0, 209 | constant: labelSize.width) 210 | let centerY = NSLayoutConstraint(item: messageLabel, 211 | attribute: .centerY, 212 | relatedBy: .equal, 213 | toItem: self, 214 | attribute: .centerY, 215 | multiplier: 1.0, 216 | constant: 0.0) 217 | addConstraint(leading) 218 | addConstraint(height) 219 | addConstraint(width) 220 | addConstraint(centerY) 221 | customConstraints.append(leading) 222 | customConstraints.append(height) 223 | customConstraints.append(width) 224 | customConstraints.append(centerY) 225 | } 226 | 227 | } 228 | 229 | 230 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AyLoading 2 | this is a extension for iOS/macOS, which can add a loading state to UIButton(NSButton) UIView(NSView) UIBarButtonItem and its subclasses easily and quickly. 3 | 4 | # Screenshot 5 | 6 | ![iOS](https://github.com/Chakery/AyLoading/blob/master/example/screenshot/ios.gif) 7 | 8 | ![macOS](https://github.com/Chakery/AyLoading/blob/master/example/screenshot/macos.gif) 9 | 10 | # Requirements 11 | 12 | |version|OS|swift| 13 | |---|---|---| 14 | |2.0.1|iOS8+, macOS10.10+|3.x| 15 | |3.0.0|iOS8+, macOS10.10+|4.0| 16 | |4.0.1|iOS8+, macOS10.10+|4.2| 17 | 18 | # Installation 19 | 20 | ``` 21 | source 'https://github.com/CocoaPods/Specs.git' 22 | platform :ios, '8.0' 23 | use_frameworks! 24 | swift_version = '4.2' 25 | 26 | target 'MyApp' do 27 | pod 'AyLoading', '4.0.1' 28 | end 29 | ``` 30 | 31 | # Using 32 | 33 | ``` 34 | // UIView or NSView 35 | view.ay.startLoading(message: "Loading...") 36 | view.ay.stopLoading() 37 | 38 | // UIButton or NSButton 39 | btn.ay.startLoading() 40 | btn.ay.stopLoading() 41 | 42 | // UIBarButtonItem 43 | navigationItem.leftBarButtonItem.ay.startLoading() 44 | navigationItem.leftBarButtonItem.ay.stopLoading() 45 | ``` 46 | 47 | # License 48 | 49 | AyLoading is released under the MIT license. See LICENSE for details. 50 | -------------------------------------------------------------------------------- /example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | swift_version = '4.2' 3 | 4 | target 'iOS' do 5 | platform :ios, '8.0' 6 | pod 'AyLoading', :path => '../' 7 | end 8 | 9 | target 'macOS' do 10 | platform :osx, '10.10' 11 | pod 'AyLoading', :path => '../' 12 | end 13 | -------------------------------------------------------------------------------- /example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AyLoading (4.0.0) 3 | 4 | DEPENDENCIES: 5 | - AyLoading (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AyLoading: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AyLoading: a3adc432057db657a1ba8cfbfbac8f0ce4a095d2 13 | 14 | PODFILE CHECKSUM: c091cdb143bf4b63525ef558f7ede1fb53be29d9 15 | 16 | COCOAPODS: 1.6.0.beta.2 17 | -------------------------------------------------------------------------------- /example/Pods/Local Podspecs/AyLoading.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AyLoading", 3 | "version": "4.0.0", 4 | "summary": "loading...", 5 | "homepage": "https://github.com/Chakery/AyLoading", 6 | "license": { 7 | "type": "MIT", 8 | "file": "LICENSE" 9 | }, 10 | "authors": { 11 | "Chakery": "chakerychen@gmail.com" 12 | }, 13 | "swift_version": "4.2", 14 | "platforms": { 15 | "ios": "8.0", 16 | "osx": "10.10" 17 | }, 18 | "source": { 19 | "git": "https://github.com/Chakery/AyLoading.git", 20 | "tag": "4.0.0" 21 | }, 22 | "source_files": [ 23 | "Classes", 24 | "Classes/**/*" 25 | ], 26 | "osx": { 27 | "exclude_files": [ 28 | "Classes/UIView+Indicator.swift", 29 | "Classes/UIButton+Loading.swift", 30 | "Classes/UIBarButtonItem+Loading.swift", 31 | "Classes/iOS+IndicatorView.swift", 32 | "Classes/UIView+Animations.swift" 33 | ] 34 | }, 35 | "ios": { 36 | "exclude_files": [ 37 | "Classes/NSButton+Loading.swift", 38 | "Classes/NSView+Indicator.swift", 39 | "Classes/macOS+IndicatorView.swift", 40 | "Classes/NSView+Animations.swift" 41 | ] 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AyLoading (4.0.0) 3 | 4 | DEPENDENCIES: 5 | - AyLoading (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AyLoading: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AyLoading: a3adc432057db657a1ba8cfbfbac8f0ce4a095d2 13 | 14 | PODFILE CHECKSUM: c091cdb143bf4b63525ef558f7ede1fb53be29d9 15 | 16 | COCOAPODS: 1.6.0.beta.2 17 | -------------------------------------------------------------------------------- /example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E8F4632E39F129A7902895C2676375 /* Pods-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A073C87D9C13501881485E160012704B /* Pods-iOS-dummy.m */; }; 11 | 08039D50E2A620F5E390EBD65F8501AA /* macOS+IndicatorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B7F73EA634CF8E93295AA96A05C012E /* macOS+IndicatorView.swift */; }; 12 | 0CC0F2874C8506CDBA579E5321F1318E /* Pods-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 098C78A1A12ADAD2DF771784EC0A8A8D /* Pods-macOS-dummy.m */; }; 13 | 10B1465485997544BC3944A5EA58C0EE /* Pods-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6558885650BB4E7026683BB6340B373D /* Pods-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 10B6060CFF2945622C5DC0E9E0857648 /* Pods-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D063261C407DA8D61C547D4F95927A3F /* Pods-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 1EB3C429658C44BB4D251551EF470955 /* AyLoading-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF250D385B9583378508893A51D9468F /* AyLoading-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 2AFCA3E193E007256CDFC5089C080CA1 /* AyLoading-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E39340E28CE704EA2F7A428C8D616650 /* AyLoading-macOS-dummy.m */; }; 17 | 36EE6AF850C4329901FC0F948DE29418 /* NSView+Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6DE4B264BD0D504EFFA5A4321998742E /* NSView+Indicator.swift */; }; 18 | 3AD3F97BB167245ADBC90B10823CA9F1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65DC7BDDE69A8D789E677630F628F5FA /* Foundation.framework */; }; 19 | 3C8844548E0B0E5709D8FB9F678B06D7 /* AyLoading-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D447021F9CC6D9BB1ED90A47484D629 /* AyLoading-iOS-dummy.m */; }; 20 | 50435074FC7E42786CC78D441312C0EC /* NSButton+Loading.swift in Sources */ = {isa = PBXBuildFile; fileRef = E98AEE9DF285A079284236853E22A084 /* NSButton+Loading.swift */; }; 21 | 7049E2471778D9EE806110BAF8BB4061 /* AyLoading.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8C37B3E1D5AF4EB7EFAB44EDEACC2EF /* AyLoading.swift */; }; 22 | 718EE1F4C700316BA7013899905E0A2A /* UIBarButtonItem+Loading.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA035688797D501A6CB1E7F2A56645DC /* UIBarButtonItem+Loading.swift */; }; 23 | 7CB368B57843DCECA129919277D07BC7 /* AyLoading.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8C37B3E1D5AF4EB7EFAB44EDEACC2EF /* AyLoading.swift */; }; 24 | 7EDBED306031D3C56B10CC30C7AD13D5 /* iOS+IndicatorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C078CA8E3AB9BF590B5C3CE527F854 /* iOS+IndicatorView.swift */; }; 25 | 85B8CD5C30FA2B7E8B00CB268EE77605 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC99E64C0E57528514B4FAC93F259F89 /* Cocoa.framework */; }; 26 | A422C4CBD167D312DB4B4D849A0AB818 /* UIView+Animations.swift in Sources */ = {isa = PBXBuildFile; fileRef = C26B1D1BB227563E6BB5A42930EB4855 /* UIView+Animations.swift */; }; 27 | B3E0DC3186D4F05C47F8AC77DCD724F1 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC99E64C0E57528514B4FAC93F259F89 /* Cocoa.framework */; }; 28 | B42CB835152E14FD990FDF9113C91BF5 /* UIView+Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BF0A006372916216E8E42E703EA252F /* UIView+Indicator.swift */; }; 29 | D64156DEAFF339BA1D7A92C0396C56AF /* NSView+Animations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 421CBCC8BAF0656B7167D282FB299DA7 /* NSView+Animations.swift */; }; 30 | EBBA0A37C8DB6C76F42680BF0A64632A /* AyLoading-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E6006584B545C608B7358DA7B142569B /* AyLoading-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 31 | FA333211C98A3C5877535E30F69ACCF6 /* UIButton+Loading.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C5798357F93A1AB4B1305CC8C6AD23D /* UIButton+Loading.swift */; }; 32 | FE3CAA398BEE4FBA24963706718F491C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 65DC7BDDE69A8D789E677630F628F5FA /* Foundation.framework */; }; 33 | /* End PBXBuildFile section */ 34 | 35 | /* Begin PBXContainerItemProxy section */ 36 | 48C1A8B758711FECC3E94CDAEAE34D2D /* PBXContainerItemProxy */ = { 37 | isa = PBXContainerItemProxy; 38 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 39 | proxyType = 1; 40 | remoteGlobalIDString = 5464E22B2BBB60BF1141551F579599E1; 41 | remoteInfo = "AyLoading-macOS"; 42 | }; 43 | DA038DA3BA9212BF67FF0130EB054871 /* PBXContainerItemProxy */ = { 44 | isa = PBXContainerItemProxy; 45 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 46 | proxyType = 1; 47 | remoteGlobalIDString = AEA3254743B63F6E16B9FF6BAFBD3067; 48 | remoteInfo = "AyLoading-iOS"; 49 | }; 50 | /* End PBXContainerItemProxy section */ 51 | 52 | /* Begin PBXFileReference section */ 53 | 098C78A1A12ADAD2DF771784EC0A8A8D /* Pods-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-macOS-dummy.m"; sourceTree = ""; }; 54 | 0A22C5A98C4654B869A153D84C0210BA /* AyLoading-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "AyLoading-macOS.xcconfig"; path = "../AyLoading-macOS/AyLoading-macOS.xcconfig"; sourceTree = ""; }; 55 | 1001D14D06BC13BEDC3232317A1FAFC5 /* Pods-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-macOS.modulemap"; sourceTree = ""; }; 56 | 101BA922246C17CC7A6129C254C12B56 /* Pods-iOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iOS-Info.plist"; sourceTree = ""; }; 57 | 12A607AA3B477DA6293D8E0B42F470E9 /* AyLoading-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; name = "AyLoading-macOS.modulemap"; path = "../AyLoading-macOS/AyLoading-macOS.modulemap"; sourceTree = ""; }; 58 | 1744ECAED75EA911FC696D46B7FF7E48 /* Pods-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-macOS.debug.xcconfig"; sourceTree = ""; }; 59 | 1BF0A006372916216E8E42E703EA252F /* UIView+Indicator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIView+Indicator.swift"; path = "Classes/UIView+Indicator.swift"; sourceTree = ""; }; 60 | 21D0266626EC6B355E082F64358CEA22 /* Pods-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS.debug.xcconfig"; sourceTree = ""; }; 61 | 32AC1A255F42CC538AE187ECB614FBF5 /* Pods_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 3C5798357F93A1AB4B1305CC8C6AD23D /* UIButton+Loading.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Loading.swift"; path = "Classes/UIButton+Loading.swift"; sourceTree = ""; }; 63 | 3D447021F9CC6D9BB1ED90A47484D629 /* AyLoading-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AyLoading-iOS-dummy.m"; sourceTree = ""; }; 64 | 3F171C3FE580334D8A1A24B437B0CCD3 /* AyLoading.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AyLoading.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | 421CBCC8BAF0656B7167D282FB299DA7 /* NSView+Animations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSView+Animations.swift"; path = "Classes/NSView+Animations.swift"; sourceTree = ""; }; 66 | 47A964F6010289F23B182EF036E9467E /* Pods-macOS-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-macOS-frameworks.sh"; sourceTree = ""; }; 67 | 4AF159D4635A78F840DDEB050BF53042 /* Pods-macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-macOS.release.xcconfig"; sourceTree = ""; }; 68 | 546419A23C6CAEC48D79CB69CCCC4E35 /* Pods-macOS-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-macOS-acknowledgements.markdown"; sourceTree = ""; }; 69 | 557D194C41C4C18A0736C86738E96923 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 70 | 575B18D6769979CA2B230BB13262DE66 /* AyLoading.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AyLoading.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | 595FAAA16DB767F9D8126831B98222CA /* Pods-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-iOS.modulemap"; sourceTree = ""; }; 72 | 5F345E0D935ED707F6EBAAEAD30541B1 /* AyLoading-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AyLoading-macOS-prefix.pch"; path = "../AyLoading-macOS/AyLoading-macOS-prefix.pch"; sourceTree = ""; }; 73 | 6558885650BB4E7026683BB6340B373D /* Pods-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-iOS-umbrella.h"; sourceTree = ""; }; 74 | 65DC7BDDE69A8D789E677630F628F5FA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 75 | 6DE4B264BD0D504EFFA5A4321998742E /* NSView+Indicator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSView+Indicator.swift"; path = "Classes/NSView+Indicator.swift"; sourceTree = ""; }; 76 | 6E9231790EA400BDD8E1896EB53D4E41 /* AyLoading-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "AyLoading-iOS.modulemap"; sourceTree = ""; }; 77 | 73A0661E2E526690C5211C7F42D585CB /* AyLoading-iOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AyLoading-iOS-Info.plist"; sourceTree = ""; }; 78 | 765C31EDAF7F56B2F919D651C67DEDBE /* Pods-iOS-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-iOS-acknowledgements.markdown"; sourceTree = ""; }; 79 | 8B7F73EA634CF8E93295AA96A05C012E /* macOS+IndicatorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "macOS+IndicatorView.swift"; path = "Classes/macOS+IndicatorView.swift"; sourceTree = ""; }; 80 | 9393F8CCC974DB8EC3D522E4B4678D20 /* Pods-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS.release.xcconfig"; sourceTree = ""; }; 81 | 94B0DA7859F63C56CEBE22F7A8D1D703 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 82 | 9A746EE8A5248B3EA0333C53FD4C5E77 /* Pods-iOS-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iOS-acknowledgements.plist"; sourceTree = ""; }; 83 | A073C87D9C13501881485E160012704B /* Pods-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-iOS-dummy.m"; sourceTree = ""; }; 84 | A5F8147B5C6BBAA629DAAB92A354EE6E /* Pods-iOS-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iOS-frameworks.sh"; sourceTree = ""; }; 85 | B36AB396275697EEE1A5B13BA8A38FE3 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 86 | B9CFC71C60D8FE1972AFB44B40075D99 /* AyLoading-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AyLoading-iOS-prefix.pch"; sourceTree = ""; }; 87 | C26B1D1BB227563E6BB5A42930EB4855 /* UIView+Animations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIView+Animations.swift"; path = "Classes/UIView+Animations.swift"; sourceTree = ""; }; 88 | C4151CA9EC351ABB151E04823586ABDA /* Pods-macOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-macOS-Info.plist"; sourceTree = ""; }; 89 | CBC3C87DF2016A451844769539B2EE9C /* AyLoading-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "AyLoading-iOS.xcconfig"; sourceTree = ""; }; 90 | CC99E64C0E57528514B4FAC93F259F89 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; 91 | CEB083139A2B452CB5EE42D271EF14DA /* AyLoading-macOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "AyLoading-macOS-Info.plist"; path = "../AyLoading-macOS/AyLoading-macOS-Info.plist"; sourceTree = ""; }; 92 | CF250D385B9583378508893A51D9468F /* AyLoading-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AyLoading-macOS-umbrella.h"; path = "../AyLoading-macOS/AyLoading-macOS-umbrella.h"; sourceTree = ""; }; 93 | D063261C407DA8D61C547D4F95927A3F /* Pods-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-macOS-umbrella.h"; sourceTree = ""; }; 94 | D1643DB6F09787908FF141BE9DC63511 /* AyLoading.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = AyLoading.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 95 | D2C078CA8E3AB9BF590B5C3CE527F854 /* iOS+IndicatorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "iOS+IndicatorView.swift"; path = "Classes/iOS+IndicatorView.swift"; sourceTree = ""; }; 96 | E39340E28CE704EA2F7A428C8D616650 /* AyLoading-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "AyLoading-macOS-dummy.m"; path = "../AyLoading-macOS/AyLoading-macOS-dummy.m"; sourceTree = ""; }; 97 | E52B2918F412113FC3F51685B37C230F /* Pods-macOS-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-macOS-acknowledgements.plist"; sourceTree = ""; }; 98 | E6006584B545C608B7358DA7B142569B /* AyLoading-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AyLoading-iOS-umbrella.h"; sourceTree = ""; }; 99 | E98AEE9DF285A079284236853E22A084 /* NSButton+Loading.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSButton+Loading.swift"; path = "Classes/NSButton+Loading.swift"; sourceTree = ""; }; 100 | F41597D96CD55FE197266F542681F986 /* Pods_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 101 | F8C37B3E1D5AF4EB7EFAB44EDEACC2EF /* AyLoading.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AyLoading.swift; path = Classes/AyLoading.swift; sourceTree = ""; }; 102 | FA035688797D501A6CB1E7F2A56645DC /* UIBarButtonItem+Loading.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIBarButtonItem+Loading.swift"; path = "Classes/UIBarButtonItem+Loading.swift"; sourceTree = ""; }; 103 | /* End PBXFileReference section */ 104 | 105 | /* Begin PBXFrameworksBuildPhase section */ 106 | 0673FCDD8017CD34585FF5EFA03E6A92 /* Frameworks */ = { 107 | isa = PBXFrameworksBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | 3AD3F97BB167245ADBC90B10823CA9F1 /* Foundation.framework in Frameworks */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | 6D8EF68087D0C597C264007E6B009324 /* Frameworks */ = { 115 | isa = PBXFrameworksBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | 85B8CD5C30FA2B7E8B00CB268EE77605 /* Cocoa.framework in Frameworks */, 119 | ); 120 | runOnlyForDeploymentPostprocessing = 0; 121 | }; 122 | 892CB57322D6B2C9976CC9574C3CCCEA /* Frameworks */ = { 123 | isa = PBXFrameworksBuildPhase; 124 | buildActionMask = 2147483647; 125 | files = ( 126 | FE3CAA398BEE4FBA24963706718F491C /* Foundation.framework in Frameworks */, 127 | ); 128 | runOnlyForDeploymentPostprocessing = 0; 129 | }; 130 | E9CE75655CAD769E7C9C389D44B74CCB /* Frameworks */ = { 131 | isa = PBXFrameworksBuildPhase; 132 | buildActionMask = 2147483647; 133 | files = ( 134 | B3E0DC3186D4F05C47F8AC77DCD724F1 /* Cocoa.framework in Frameworks */, 135 | ); 136 | runOnlyForDeploymentPostprocessing = 0; 137 | }; 138 | /* End PBXFrameworksBuildPhase section */ 139 | 140 | /* Begin PBXGroup section */ 141 | 0D8F581B4D5DE2B46F413978239334F8 /* Products */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 3F171C3FE580334D8A1A24B437B0CCD3 /* AyLoading.framework */, 145 | 575B18D6769979CA2B230BB13262DE66 /* AyLoading.framework */, 146 | F41597D96CD55FE197266F542681F986 /* Pods_iOS.framework */, 147 | 32AC1A255F42CC538AE187ECB614FBF5 /* Pods_macOS.framework */, 148 | ); 149 | name = Products; 150 | sourceTree = ""; 151 | }; 152 | 25DFA6ACC817C16F69DACF54264BECD4 /* Support Files */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 6E9231790EA400BDD8E1896EB53D4E41 /* AyLoading-iOS.modulemap */, 156 | CBC3C87DF2016A451844769539B2EE9C /* AyLoading-iOS.xcconfig */, 157 | 3D447021F9CC6D9BB1ED90A47484D629 /* AyLoading-iOS-dummy.m */, 158 | 73A0661E2E526690C5211C7F42D585CB /* AyLoading-iOS-Info.plist */, 159 | B9CFC71C60D8FE1972AFB44B40075D99 /* AyLoading-iOS-prefix.pch */, 160 | E6006584B545C608B7358DA7B142569B /* AyLoading-iOS-umbrella.h */, 161 | 12A607AA3B477DA6293D8E0B42F470E9 /* AyLoading-macOS.modulemap */, 162 | 0A22C5A98C4654B869A153D84C0210BA /* AyLoading-macOS.xcconfig */, 163 | E39340E28CE704EA2F7A428C8D616650 /* AyLoading-macOS-dummy.m */, 164 | CEB083139A2B452CB5EE42D271EF14DA /* AyLoading-macOS-Info.plist */, 165 | 5F345E0D935ED707F6EBAAEAD30541B1 /* AyLoading-macOS-prefix.pch */, 166 | CF250D385B9583378508893A51D9468F /* AyLoading-macOS-umbrella.h */, 167 | ); 168 | name = "Support Files"; 169 | path = "example/Pods/Target Support Files/AyLoading-iOS"; 170 | sourceTree = ""; 171 | }; 172 | 33C2788415C12E612D311FAFFB777250 /* Targets Support Files */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 55A13F0B6AB2902E5194B1B7B1511F56 /* Pods-iOS */, 176 | 8AB7BB64357FF9F0BD4E2D1C9653969E /* Pods-macOS */, 177 | ); 178 | name = "Targets Support Files"; 179 | sourceTree = ""; 180 | }; 181 | 3AEF7D761E8EA8419BB4A7000AB770CB /* Frameworks */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 4BA44E7917F86DCB5AC75F87BF6DFD51 /* iOS */, 185 | 78D2B48C06E5F119E7CA97B787863326 /* OS X */, 186 | ); 187 | name = Frameworks; 188 | sourceTree = ""; 189 | }; 190 | 4A64F59385AB9FAB12FA5887720CDE5D /* Development Pods */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | DC303C28979914EAA4B8B216268613E2 /* AyLoading */, 194 | ); 195 | name = "Development Pods"; 196 | sourceTree = ""; 197 | }; 198 | 4BA44E7917F86DCB5AC75F87BF6DFD51 /* iOS */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | 65DC7BDDE69A8D789E677630F628F5FA /* Foundation.framework */, 202 | ); 203 | name = iOS; 204 | sourceTree = ""; 205 | }; 206 | 55A13F0B6AB2902E5194B1B7B1511F56 /* Pods-iOS */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | 595FAAA16DB767F9D8126831B98222CA /* Pods-iOS.modulemap */, 210 | 765C31EDAF7F56B2F919D651C67DEDBE /* Pods-iOS-acknowledgements.markdown */, 211 | 9A746EE8A5248B3EA0333C53FD4C5E77 /* Pods-iOS-acknowledgements.plist */, 212 | A073C87D9C13501881485E160012704B /* Pods-iOS-dummy.m */, 213 | A5F8147B5C6BBAA629DAAB92A354EE6E /* Pods-iOS-frameworks.sh */, 214 | 101BA922246C17CC7A6129C254C12B56 /* Pods-iOS-Info.plist */, 215 | 6558885650BB4E7026683BB6340B373D /* Pods-iOS-umbrella.h */, 216 | 21D0266626EC6B355E082F64358CEA22 /* Pods-iOS.debug.xcconfig */, 217 | 9393F8CCC974DB8EC3D522E4B4678D20 /* Pods-iOS.release.xcconfig */, 218 | ); 219 | name = "Pods-iOS"; 220 | path = "Target Support Files/Pods-iOS"; 221 | sourceTree = ""; 222 | }; 223 | 57A7AEABFFD0FB7BDC5065E6A533C555 /* Pod */ = { 224 | isa = PBXGroup; 225 | children = ( 226 | D1643DB6F09787908FF141BE9DC63511 /* AyLoading.podspec */, 227 | 94B0DA7859F63C56CEBE22F7A8D1D703 /* LICENSE */, 228 | 557D194C41C4C18A0736C86738E96923 /* README.md */, 229 | ); 230 | name = Pod; 231 | sourceTree = ""; 232 | }; 233 | 78D2B48C06E5F119E7CA97B787863326 /* OS X */ = { 234 | isa = PBXGroup; 235 | children = ( 236 | CC99E64C0E57528514B4FAC93F259F89 /* Cocoa.framework */, 237 | ); 238 | name = "OS X"; 239 | sourceTree = ""; 240 | }; 241 | 7DB346D0F39D3F0E887471402A8071AB = { 242 | isa = PBXGroup; 243 | children = ( 244 | B36AB396275697EEE1A5B13BA8A38FE3 /* Podfile */, 245 | 4A64F59385AB9FAB12FA5887720CDE5D /* Development Pods */, 246 | 3AEF7D761E8EA8419BB4A7000AB770CB /* Frameworks */, 247 | 0D8F581B4D5DE2B46F413978239334F8 /* Products */, 248 | 33C2788415C12E612D311FAFFB777250 /* Targets Support Files */, 249 | ); 250 | sourceTree = ""; 251 | }; 252 | 8AB7BB64357FF9F0BD4E2D1C9653969E /* Pods-macOS */ = { 253 | isa = PBXGroup; 254 | children = ( 255 | 1001D14D06BC13BEDC3232317A1FAFC5 /* Pods-macOS.modulemap */, 256 | 546419A23C6CAEC48D79CB69CCCC4E35 /* Pods-macOS-acknowledgements.markdown */, 257 | E52B2918F412113FC3F51685B37C230F /* Pods-macOS-acknowledgements.plist */, 258 | 098C78A1A12ADAD2DF771784EC0A8A8D /* Pods-macOS-dummy.m */, 259 | 47A964F6010289F23B182EF036E9467E /* Pods-macOS-frameworks.sh */, 260 | C4151CA9EC351ABB151E04823586ABDA /* Pods-macOS-Info.plist */, 261 | D063261C407DA8D61C547D4F95927A3F /* Pods-macOS-umbrella.h */, 262 | 1744ECAED75EA911FC696D46B7FF7E48 /* Pods-macOS.debug.xcconfig */, 263 | 4AF159D4635A78F840DDEB050BF53042 /* Pods-macOS.release.xcconfig */, 264 | ); 265 | name = "Pods-macOS"; 266 | path = "Target Support Files/Pods-macOS"; 267 | sourceTree = ""; 268 | }; 269 | DC303C28979914EAA4B8B216268613E2 /* AyLoading */ = { 270 | isa = PBXGroup; 271 | children = ( 272 | F8C37B3E1D5AF4EB7EFAB44EDEACC2EF /* AyLoading.swift */, 273 | D2C078CA8E3AB9BF590B5C3CE527F854 /* iOS+IndicatorView.swift */, 274 | 8B7F73EA634CF8E93295AA96A05C012E /* macOS+IndicatorView.swift */, 275 | E98AEE9DF285A079284236853E22A084 /* NSButton+Loading.swift */, 276 | 421CBCC8BAF0656B7167D282FB299DA7 /* NSView+Animations.swift */, 277 | 6DE4B264BD0D504EFFA5A4321998742E /* NSView+Indicator.swift */, 278 | FA035688797D501A6CB1E7F2A56645DC /* UIBarButtonItem+Loading.swift */, 279 | 3C5798357F93A1AB4B1305CC8C6AD23D /* UIButton+Loading.swift */, 280 | C26B1D1BB227563E6BB5A42930EB4855 /* UIView+Animations.swift */, 281 | 1BF0A006372916216E8E42E703EA252F /* UIView+Indicator.swift */, 282 | 57A7AEABFFD0FB7BDC5065E6A533C555 /* Pod */, 283 | 25DFA6ACC817C16F69DACF54264BECD4 /* Support Files */, 284 | ); 285 | name = AyLoading; 286 | path = ../..; 287 | sourceTree = ""; 288 | }; 289 | /* End PBXGroup section */ 290 | 291 | /* Begin PBXHeadersBuildPhase section */ 292 | 0E300A164FF33E30A529329D7FBC216F /* Headers */ = { 293 | isa = PBXHeadersBuildPhase; 294 | buildActionMask = 2147483647; 295 | files = ( 296 | 10B1465485997544BC3944A5EA58C0EE /* Pods-iOS-umbrella.h in Headers */, 297 | ); 298 | runOnlyForDeploymentPostprocessing = 0; 299 | }; 300 | 6035DF89E906B9564676D8D63E04A352 /* Headers */ = { 301 | isa = PBXHeadersBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | 10B6060CFF2945622C5DC0E9E0857648 /* Pods-macOS-umbrella.h in Headers */, 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | }; 308 | C289F1EAC643901D90314CE04816C7B8 /* Headers */ = { 309 | isa = PBXHeadersBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | 1EB3C429658C44BB4D251551EF470955 /* AyLoading-macOS-umbrella.h in Headers */, 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | }; 316 | CBE6C5B6E1911C548DEAF0C63308D661 /* Headers */ = { 317 | isa = PBXHeadersBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | EBBA0A37C8DB6C76F42680BF0A64632A /* AyLoading-iOS-umbrella.h in Headers */, 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | }; 324 | /* End PBXHeadersBuildPhase section */ 325 | 326 | /* Begin PBXNativeTarget section */ 327 | 15F73BC7352967144A1D2C1B6B7F4A95 /* Pods-iOS */ = { 328 | isa = PBXNativeTarget; 329 | buildConfigurationList = 23C1FDB78354D49DD4B6C62897C6A77A /* Build configuration list for PBXNativeTarget "Pods-iOS" */; 330 | buildPhases = ( 331 | 0E300A164FF33E30A529329D7FBC216F /* Headers */, 332 | A95EA25A14CC5EB3794FD359D09B1429 /* Sources */, 333 | 0673FCDD8017CD34585FF5EFA03E6A92 /* Frameworks */, 334 | 87EE8F16371A0F49DE695E6F65F4EE57 /* Resources */, 335 | ); 336 | buildRules = ( 337 | ); 338 | dependencies = ( 339 | 4DA783B3129C540310A9C09059CAE111 /* PBXTargetDependency */, 340 | ); 341 | name = "Pods-iOS"; 342 | productName = "Pods-iOS"; 343 | productReference = F41597D96CD55FE197266F542681F986 /* Pods_iOS.framework */; 344 | productType = "com.apple.product-type.framework"; 345 | }; 346 | 4DE4A8CBC3B5B476ED61131AD6DFA964 /* Pods-macOS */ = { 347 | isa = PBXNativeTarget; 348 | buildConfigurationList = 8ECC09DBB8609C2411C79456A0AD91F3 /* Build configuration list for PBXNativeTarget "Pods-macOS" */; 349 | buildPhases = ( 350 | 6035DF89E906B9564676D8D63E04A352 /* Headers */, 351 | 6B67D301610BAA8AD3C959EB95757DDD /* Sources */, 352 | 6D8EF68087D0C597C264007E6B009324 /* Frameworks */, 353 | B1BDB69F038ACCB900940DFDD271B644 /* Resources */, 354 | ); 355 | buildRules = ( 356 | ); 357 | dependencies = ( 358 | 27BF5A69FE2A48424BE35FC00C45A33E /* PBXTargetDependency */, 359 | ); 360 | name = "Pods-macOS"; 361 | productName = "Pods-macOS"; 362 | productReference = 32AC1A255F42CC538AE187ECB614FBF5 /* Pods_macOS.framework */; 363 | productType = "com.apple.product-type.framework"; 364 | }; 365 | 5464E22B2BBB60BF1141551F579599E1 /* AyLoading-macOS */ = { 366 | isa = PBXNativeTarget; 367 | buildConfigurationList = E02E98809882BE305FDC4DDC9CE0788A /* Build configuration list for PBXNativeTarget "AyLoading-macOS" */; 368 | buildPhases = ( 369 | C289F1EAC643901D90314CE04816C7B8 /* Headers */, 370 | D83E96EE0CA1412BEDC3DDEB70DFB2D5 /* Sources */, 371 | E9CE75655CAD769E7C9C389D44B74CCB /* Frameworks */, 372 | A39C79E25E2BD34825939BF6BCC7FC54 /* Resources */, 373 | ); 374 | buildRules = ( 375 | ); 376 | dependencies = ( 377 | ); 378 | name = "AyLoading-macOS"; 379 | productName = "AyLoading-macOS"; 380 | productReference = 575B18D6769979CA2B230BB13262DE66 /* AyLoading.framework */; 381 | productType = "com.apple.product-type.framework"; 382 | }; 383 | AEA3254743B63F6E16B9FF6BAFBD3067 /* AyLoading-iOS */ = { 384 | isa = PBXNativeTarget; 385 | buildConfigurationList = CCF552D95FFA2E3C3BABD157807102E2 /* Build configuration list for PBXNativeTarget "AyLoading-iOS" */; 386 | buildPhases = ( 387 | CBE6C5B6E1911C548DEAF0C63308D661 /* Headers */, 388 | E9A4BB914EC2471230B4A422C482B9C6 /* Sources */, 389 | 892CB57322D6B2C9976CC9574C3CCCEA /* Frameworks */, 390 | BF6BDDF2AEDBA7B3CB3073624BD36EFF /* Resources */, 391 | ); 392 | buildRules = ( 393 | ); 394 | dependencies = ( 395 | ); 396 | name = "AyLoading-iOS"; 397 | productName = "AyLoading-iOS"; 398 | productReference = 3F171C3FE580334D8A1A24B437B0CCD3 /* AyLoading.framework */; 399 | productType = "com.apple.product-type.framework"; 400 | }; 401 | /* End PBXNativeTarget section */ 402 | 403 | /* Begin PBXProject section */ 404 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 405 | isa = PBXProject; 406 | attributes = { 407 | LastSwiftUpdateCheck = 0930; 408 | LastUpgradeCheck = 1010; 409 | }; 410 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 411 | compatibilityVersion = "Xcode 3.2"; 412 | developmentRegion = English; 413 | hasScannedForEncodings = 0; 414 | knownRegions = ( 415 | en, 416 | ); 417 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 418 | productRefGroup = 0D8F581B4D5DE2B46F413978239334F8 /* Products */; 419 | projectDirPath = ""; 420 | projectRoot = ""; 421 | targets = ( 422 | AEA3254743B63F6E16B9FF6BAFBD3067 /* AyLoading-iOS */, 423 | 5464E22B2BBB60BF1141551F579599E1 /* AyLoading-macOS */, 424 | 15F73BC7352967144A1D2C1B6B7F4A95 /* Pods-iOS */, 425 | 4DE4A8CBC3B5B476ED61131AD6DFA964 /* Pods-macOS */, 426 | ); 427 | }; 428 | /* End PBXProject section */ 429 | 430 | /* Begin PBXResourcesBuildPhase section */ 431 | 87EE8F16371A0F49DE695E6F65F4EE57 /* Resources */ = { 432 | isa = PBXResourcesBuildPhase; 433 | buildActionMask = 2147483647; 434 | files = ( 435 | ); 436 | runOnlyForDeploymentPostprocessing = 0; 437 | }; 438 | A39C79E25E2BD34825939BF6BCC7FC54 /* Resources */ = { 439 | isa = PBXResourcesBuildPhase; 440 | buildActionMask = 2147483647; 441 | files = ( 442 | ); 443 | runOnlyForDeploymentPostprocessing = 0; 444 | }; 445 | B1BDB69F038ACCB900940DFDD271B644 /* Resources */ = { 446 | isa = PBXResourcesBuildPhase; 447 | buildActionMask = 2147483647; 448 | files = ( 449 | ); 450 | runOnlyForDeploymentPostprocessing = 0; 451 | }; 452 | BF6BDDF2AEDBA7B3CB3073624BD36EFF /* Resources */ = { 453 | isa = PBXResourcesBuildPhase; 454 | buildActionMask = 2147483647; 455 | files = ( 456 | ); 457 | runOnlyForDeploymentPostprocessing = 0; 458 | }; 459 | /* End PBXResourcesBuildPhase section */ 460 | 461 | /* Begin PBXSourcesBuildPhase section */ 462 | 6B67D301610BAA8AD3C959EB95757DDD /* Sources */ = { 463 | isa = PBXSourcesBuildPhase; 464 | buildActionMask = 2147483647; 465 | files = ( 466 | 0CC0F2874C8506CDBA579E5321F1318E /* Pods-macOS-dummy.m in Sources */, 467 | ); 468 | runOnlyForDeploymentPostprocessing = 0; 469 | }; 470 | A95EA25A14CC5EB3794FD359D09B1429 /* Sources */ = { 471 | isa = PBXSourcesBuildPhase; 472 | buildActionMask = 2147483647; 473 | files = ( 474 | 00E8F4632E39F129A7902895C2676375 /* Pods-iOS-dummy.m in Sources */, 475 | ); 476 | runOnlyForDeploymentPostprocessing = 0; 477 | }; 478 | D83E96EE0CA1412BEDC3DDEB70DFB2D5 /* Sources */ = { 479 | isa = PBXSourcesBuildPhase; 480 | buildActionMask = 2147483647; 481 | files = ( 482 | 2AFCA3E193E007256CDFC5089C080CA1 /* AyLoading-macOS-dummy.m in Sources */, 483 | 7CB368B57843DCECA129919277D07BC7 /* AyLoading.swift in Sources */, 484 | 08039D50E2A620F5E390EBD65F8501AA /* macOS+IndicatorView.swift in Sources */, 485 | 50435074FC7E42786CC78D441312C0EC /* NSButton+Loading.swift in Sources */, 486 | D64156DEAFF339BA1D7A92C0396C56AF /* NSView+Animations.swift in Sources */, 487 | 36EE6AF850C4329901FC0F948DE29418 /* NSView+Indicator.swift in Sources */, 488 | ); 489 | runOnlyForDeploymentPostprocessing = 0; 490 | }; 491 | E9A4BB914EC2471230B4A422C482B9C6 /* Sources */ = { 492 | isa = PBXSourcesBuildPhase; 493 | buildActionMask = 2147483647; 494 | files = ( 495 | 3C8844548E0B0E5709D8FB9F678B06D7 /* AyLoading-iOS-dummy.m in Sources */, 496 | 7049E2471778D9EE806110BAF8BB4061 /* AyLoading.swift in Sources */, 497 | 7EDBED306031D3C56B10CC30C7AD13D5 /* iOS+IndicatorView.swift in Sources */, 498 | 718EE1F4C700316BA7013899905E0A2A /* UIBarButtonItem+Loading.swift in Sources */, 499 | FA333211C98A3C5877535E30F69ACCF6 /* UIButton+Loading.swift in Sources */, 500 | A422C4CBD167D312DB4B4D849A0AB818 /* UIView+Animations.swift in Sources */, 501 | B42CB835152E14FD990FDF9113C91BF5 /* UIView+Indicator.swift in Sources */, 502 | ); 503 | runOnlyForDeploymentPostprocessing = 0; 504 | }; 505 | /* End PBXSourcesBuildPhase section */ 506 | 507 | /* Begin PBXTargetDependency section */ 508 | 27BF5A69FE2A48424BE35FC00C45A33E /* PBXTargetDependency */ = { 509 | isa = PBXTargetDependency; 510 | name = "AyLoading-macOS"; 511 | target = 5464E22B2BBB60BF1141551F579599E1 /* AyLoading-macOS */; 512 | targetProxy = 48C1A8B758711FECC3E94CDAEAE34D2D /* PBXContainerItemProxy */; 513 | }; 514 | 4DA783B3129C540310A9C09059CAE111 /* PBXTargetDependency */ = { 515 | isa = PBXTargetDependency; 516 | name = "AyLoading-iOS"; 517 | target = AEA3254743B63F6E16B9FF6BAFBD3067 /* AyLoading-iOS */; 518 | targetProxy = DA038DA3BA9212BF67FF0130EB054871 /* PBXContainerItemProxy */; 519 | }; 520 | /* End PBXTargetDependency section */ 521 | 522 | /* Begin XCBuildConfiguration section */ 523 | 1AC2878CB4259726A087E05B2489EB59 /* Release */ = { 524 | isa = XCBuildConfiguration; 525 | buildSettings = { 526 | ALWAYS_SEARCH_USER_PATHS = NO; 527 | CLANG_ANALYZER_NONNULL = YES; 528 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 529 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 530 | CLANG_CXX_LIBRARY = "libc++"; 531 | CLANG_ENABLE_MODULES = YES; 532 | CLANG_ENABLE_OBJC_ARC = YES; 533 | CLANG_ENABLE_OBJC_WEAK = YES; 534 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 535 | CLANG_WARN_BOOL_CONVERSION = YES; 536 | CLANG_WARN_COMMA = YES; 537 | CLANG_WARN_CONSTANT_CONVERSION = YES; 538 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 539 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 540 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 541 | CLANG_WARN_EMPTY_BODY = YES; 542 | CLANG_WARN_ENUM_CONVERSION = YES; 543 | CLANG_WARN_INFINITE_RECURSION = YES; 544 | CLANG_WARN_INT_CONVERSION = YES; 545 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 546 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 547 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 548 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 549 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 550 | CLANG_WARN_STRICT_PROTOTYPES = YES; 551 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 552 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 553 | CLANG_WARN_UNREACHABLE_CODE = YES; 554 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 555 | COPY_PHASE_STRIP = NO; 556 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 557 | ENABLE_NS_ASSERTIONS = NO; 558 | ENABLE_STRICT_OBJC_MSGSEND = YES; 559 | GCC_C_LANGUAGE_STANDARD = gnu11; 560 | GCC_NO_COMMON_BLOCKS = YES; 561 | GCC_PREPROCESSOR_DEFINITIONS = ( 562 | "POD_CONFIGURATION_RELEASE=1", 563 | "$(inherited)", 564 | ); 565 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 566 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 567 | GCC_WARN_UNDECLARED_SELECTOR = YES; 568 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 569 | GCC_WARN_UNUSED_FUNCTION = YES; 570 | GCC_WARN_UNUSED_VARIABLE = YES; 571 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 572 | MACOSX_DEPLOYMENT_TARGET = 10.10; 573 | MTL_ENABLE_DEBUG_INFO = NO; 574 | MTL_FAST_MATH = YES; 575 | PRODUCT_NAME = "$(TARGET_NAME)"; 576 | STRIP_INSTALLED_PRODUCT = NO; 577 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 578 | SWIFT_VERSION = 4.2; 579 | SYMROOT = "${SRCROOT}/../build"; 580 | }; 581 | name = Release; 582 | }; 583 | 36EDA849679EB9AA948087D2258BA2A1 /* Release */ = { 584 | isa = XCBuildConfiguration; 585 | baseConfigurationReference = 4AF159D4635A78F840DDEB050BF53042 /* Pods-macOS.release.xcconfig */; 586 | buildSettings = { 587 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 588 | CLANG_ENABLE_OBJC_WEAK = NO; 589 | CODE_SIGN_IDENTITY = ""; 590 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 591 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 592 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 593 | COMBINE_HIDPI_IMAGES = YES; 594 | CURRENT_PROJECT_VERSION = 1; 595 | DEFINES_MODULE = YES; 596 | DYLIB_COMPATIBILITY_VERSION = 1; 597 | DYLIB_CURRENT_VERSION = 1; 598 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 599 | FRAMEWORK_VERSION = A; 600 | INFOPLIST_FILE = "Target Support Files/Pods-macOS/Pods-macOS-Info.plist"; 601 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 603 | MACH_O_TYPE = staticlib; 604 | MACOSX_DEPLOYMENT_TARGET = 10.10; 605 | MODULEMAP_FILE = "Target Support Files/Pods-macOS/Pods-macOS.modulemap"; 606 | OTHER_LDFLAGS = ""; 607 | OTHER_LIBTOOLFLAGS = ""; 608 | PODS_ROOT = "$(SRCROOT)"; 609 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 610 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 611 | SDKROOT = macosx; 612 | SKIP_INSTALL = YES; 613 | VERSIONING_SYSTEM = "apple-generic"; 614 | VERSION_INFO_PREFIX = ""; 615 | }; 616 | name = Release; 617 | }; 618 | 37AC02181EBD9CC0951C93E9A6E78484 /* Debug */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = 0A22C5A98C4654B869A153D84C0210BA /* AyLoading-macOS.xcconfig */; 621 | buildSettings = { 622 | CLANG_ENABLE_OBJC_WEAK = NO; 623 | CODE_SIGN_IDENTITY = ""; 624 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 625 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 626 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 627 | COMBINE_HIDPI_IMAGES = YES; 628 | CURRENT_PROJECT_VERSION = 1; 629 | DEFINES_MODULE = YES; 630 | DYLIB_COMPATIBILITY_VERSION = 1; 631 | DYLIB_CURRENT_VERSION = 1; 632 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 633 | FRAMEWORK_VERSION = A; 634 | GCC_PREFIX_HEADER = "Target Support Files/AyLoading-macOS/AyLoading-macOS-prefix.pch"; 635 | INFOPLIST_FILE = "Target Support Files/AyLoading-macOS/AyLoading-macOS-Info.plist"; 636 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 637 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 638 | MACOSX_DEPLOYMENT_TARGET = 10.10; 639 | MODULEMAP_FILE = "Target Support Files/AyLoading-macOS/AyLoading-macOS.modulemap"; 640 | PRODUCT_MODULE_NAME = AyLoading; 641 | PRODUCT_NAME = AyLoading; 642 | SDKROOT = macosx; 643 | SKIP_INSTALL = YES; 644 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 645 | SWIFT_VERSION = 4.2; 646 | VERSIONING_SYSTEM = "apple-generic"; 647 | VERSION_INFO_PREFIX = ""; 648 | }; 649 | name = Debug; 650 | }; 651 | 4D167B36050AB1B64F970EAA2C5422F1 /* Debug */ = { 652 | isa = XCBuildConfiguration; 653 | buildSettings = { 654 | ALWAYS_SEARCH_USER_PATHS = NO; 655 | CLANG_ANALYZER_NONNULL = YES; 656 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 657 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 658 | CLANG_CXX_LIBRARY = "libc++"; 659 | CLANG_ENABLE_MODULES = YES; 660 | CLANG_ENABLE_OBJC_ARC = YES; 661 | CLANG_ENABLE_OBJC_WEAK = YES; 662 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 663 | CLANG_WARN_BOOL_CONVERSION = YES; 664 | CLANG_WARN_COMMA = YES; 665 | CLANG_WARN_CONSTANT_CONVERSION = YES; 666 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 667 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 668 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 669 | CLANG_WARN_EMPTY_BODY = YES; 670 | CLANG_WARN_ENUM_CONVERSION = YES; 671 | CLANG_WARN_INFINITE_RECURSION = YES; 672 | CLANG_WARN_INT_CONVERSION = YES; 673 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 674 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 675 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 676 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 677 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 678 | CLANG_WARN_STRICT_PROTOTYPES = YES; 679 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 680 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 681 | CLANG_WARN_UNREACHABLE_CODE = YES; 682 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 683 | COPY_PHASE_STRIP = NO; 684 | DEBUG_INFORMATION_FORMAT = dwarf; 685 | ENABLE_STRICT_OBJC_MSGSEND = YES; 686 | ENABLE_TESTABILITY = YES; 687 | GCC_C_LANGUAGE_STANDARD = gnu11; 688 | GCC_DYNAMIC_NO_PIC = NO; 689 | GCC_NO_COMMON_BLOCKS = YES; 690 | GCC_OPTIMIZATION_LEVEL = 0; 691 | GCC_PREPROCESSOR_DEFINITIONS = ( 692 | "POD_CONFIGURATION_DEBUG=1", 693 | "DEBUG=1", 694 | "$(inherited)", 695 | ); 696 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 697 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 698 | GCC_WARN_UNDECLARED_SELECTOR = YES; 699 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 700 | GCC_WARN_UNUSED_FUNCTION = YES; 701 | GCC_WARN_UNUSED_VARIABLE = YES; 702 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 703 | MACOSX_DEPLOYMENT_TARGET = 10.10; 704 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 705 | MTL_FAST_MATH = YES; 706 | ONLY_ACTIVE_ARCH = YES; 707 | PRODUCT_NAME = "$(TARGET_NAME)"; 708 | STRIP_INSTALLED_PRODUCT = NO; 709 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 710 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 711 | SWIFT_VERSION = 4.2; 712 | SYMROOT = "${SRCROOT}/../build"; 713 | }; 714 | name = Debug; 715 | }; 716 | 64AE37B751A8C996FC1090964C1F485E /* Release */ = { 717 | isa = XCBuildConfiguration; 718 | baseConfigurationReference = CBC3C87DF2016A451844769539B2EE9C /* AyLoading-iOS.xcconfig */; 719 | buildSettings = { 720 | CODE_SIGN_IDENTITY = ""; 721 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 722 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 723 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 724 | CURRENT_PROJECT_VERSION = 1; 725 | DEFINES_MODULE = YES; 726 | DYLIB_COMPATIBILITY_VERSION = 1; 727 | DYLIB_CURRENT_VERSION = 1; 728 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 729 | GCC_PREFIX_HEADER = "Target Support Files/AyLoading-iOS/AyLoading-iOS-prefix.pch"; 730 | INFOPLIST_FILE = "Target Support Files/AyLoading-iOS/AyLoading-iOS-Info.plist"; 731 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 732 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 733 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 734 | MODULEMAP_FILE = "Target Support Files/AyLoading-iOS/AyLoading-iOS.modulemap"; 735 | PRODUCT_MODULE_NAME = AyLoading; 736 | PRODUCT_NAME = AyLoading; 737 | SDKROOT = iphoneos; 738 | SKIP_INSTALL = YES; 739 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 740 | SWIFT_VERSION = 4.2; 741 | TARGETED_DEVICE_FAMILY = "1,2"; 742 | VALIDATE_PRODUCT = YES; 743 | VERSIONING_SYSTEM = "apple-generic"; 744 | VERSION_INFO_PREFIX = ""; 745 | }; 746 | name = Release; 747 | }; 748 | 75EE042400FA32901E836CFEC6BF4F85 /* Debug */ = { 749 | isa = XCBuildConfiguration; 750 | baseConfigurationReference = 1744ECAED75EA911FC696D46B7FF7E48 /* Pods-macOS.debug.xcconfig */; 751 | buildSettings = { 752 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 753 | CLANG_ENABLE_OBJC_WEAK = NO; 754 | CODE_SIGN_IDENTITY = ""; 755 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 756 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 757 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 758 | COMBINE_HIDPI_IMAGES = YES; 759 | CURRENT_PROJECT_VERSION = 1; 760 | DEFINES_MODULE = YES; 761 | DYLIB_COMPATIBILITY_VERSION = 1; 762 | DYLIB_CURRENT_VERSION = 1; 763 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 764 | FRAMEWORK_VERSION = A; 765 | INFOPLIST_FILE = "Target Support Files/Pods-macOS/Pods-macOS-Info.plist"; 766 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 767 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 768 | MACH_O_TYPE = staticlib; 769 | MACOSX_DEPLOYMENT_TARGET = 10.10; 770 | MODULEMAP_FILE = "Target Support Files/Pods-macOS/Pods-macOS.modulemap"; 771 | OTHER_LDFLAGS = ""; 772 | OTHER_LIBTOOLFLAGS = ""; 773 | PODS_ROOT = "$(SRCROOT)"; 774 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 775 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 776 | SDKROOT = macosx; 777 | SKIP_INSTALL = YES; 778 | VERSIONING_SYSTEM = "apple-generic"; 779 | VERSION_INFO_PREFIX = ""; 780 | }; 781 | name = Debug; 782 | }; 783 | 8BED61EF4BB93F8016888A086362DF8B /* Release */ = { 784 | isa = XCBuildConfiguration; 785 | baseConfigurationReference = 9393F8CCC974DB8EC3D522E4B4678D20 /* Pods-iOS.release.xcconfig */; 786 | buildSettings = { 787 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 788 | CODE_SIGN_IDENTITY = ""; 789 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 790 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 791 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 792 | CURRENT_PROJECT_VERSION = 1; 793 | DEFINES_MODULE = YES; 794 | DYLIB_COMPATIBILITY_VERSION = 1; 795 | DYLIB_CURRENT_VERSION = 1; 796 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 797 | INFOPLIST_FILE = "Target Support Files/Pods-iOS/Pods-iOS-Info.plist"; 798 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 799 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 800 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 801 | MACH_O_TYPE = staticlib; 802 | MODULEMAP_FILE = "Target Support Files/Pods-iOS/Pods-iOS.modulemap"; 803 | OTHER_LDFLAGS = ""; 804 | OTHER_LIBTOOLFLAGS = ""; 805 | PODS_ROOT = "$(SRCROOT)"; 806 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 807 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 808 | SDKROOT = iphoneos; 809 | SKIP_INSTALL = YES; 810 | TARGETED_DEVICE_FAMILY = "1,2"; 811 | VALIDATE_PRODUCT = YES; 812 | VERSIONING_SYSTEM = "apple-generic"; 813 | VERSION_INFO_PREFIX = ""; 814 | }; 815 | name = Release; 816 | }; 817 | A0F12FEF135DBF66DA17694326EB89FD /* Release */ = { 818 | isa = XCBuildConfiguration; 819 | baseConfigurationReference = 0A22C5A98C4654B869A153D84C0210BA /* AyLoading-macOS.xcconfig */; 820 | buildSettings = { 821 | CLANG_ENABLE_OBJC_WEAK = NO; 822 | CODE_SIGN_IDENTITY = ""; 823 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 824 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 825 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 826 | COMBINE_HIDPI_IMAGES = YES; 827 | CURRENT_PROJECT_VERSION = 1; 828 | DEFINES_MODULE = YES; 829 | DYLIB_COMPATIBILITY_VERSION = 1; 830 | DYLIB_CURRENT_VERSION = 1; 831 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 832 | FRAMEWORK_VERSION = A; 833 | GCC_PREFIX_HEADER = "Target Support Files/AyLoading-macOS/AyLoading-macOS-prefix.pch"; 834 | INFOPLIST_FILE = "Target Support Files/AyLoading-macOS/AyLoading-macOS-Info.plist"; 835 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 836 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 837 | MACOSX_DEPLOYMENT_TARGET = 10.10; 838 | MODULEMAP_FILE = "Target Support Files/AyLoading-macOS/AyLoading-macOS.modulemap"; 839 | PRODUCT_MODULE_NAME = AyLoading; 840 | PRODUCT_NAME = AyLoading; 841 | SDKROOT = macosx; 842 | SKIP_INSTALL = YES; 843 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 844 | SWIFT_VERSION = 4.2; 845 | VERSIONING_SYSTEM = "apple-generic"; 846 | VERSION_INFO_PREFIX = ""; 847 | }; 848 | name = Release; 849 | }; 850 | A8F1D41681E4218BF1C35E704001456D /* Debug */ = { 851 | isa = XCBuildConfiguration; 852 | baseConfigurationReference = CBC3C87DF2016A451844769539B2EE9C /* AyLoading-iOS.xcconfig */; 853 | buildSettings = { 854 | CODE_SIGN_IDENTITY = ""; 855 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 856 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 857 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 858 | CURRENT_PROJECT_VERSION = 1; 859 | DEFINES_MODULE = YES; 860 | DYLIB_COMPATIBILITY_VERSION = 1; 861 | DYLIB_CURRENT_VERSION = 1; 862 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 863 | GCC_PREFIX_HEADER = "Target Support Files/AyLoading-iOS/AyLoading-iOS-prefix.pch"; 864 | INFOPLIST_FILE = "Target Support Files/AyLoading-iOS/AyLoading-iOS-Info.plist"; 865 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 866 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 867 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 868 | MODULEMAP_FILE = "Target Support Files/AyLoading-iOS/AyLoading-iOS.modulemap"; 869 | PRODUCT_MODULE_NAME = AyLoading; 870 | PRODUCT_NAME = AyLoading; 871 | SDKROOT = iphoneos; 872 | SKIP_INSTALL = YES; 873 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 874 | SWIFT_VERSION = 4.2; 875 | TARGETED_DEVICE_FAMILY = "1,2"; 876 | VERSIONING_SYSTEM = "apple-generic"; 877 | VERSION_INFO_PREFIX = ""; 878 | }; 879 | name = Debug; 880 | }; 881 | FA1FC240B1B1A706641E41090D58BE7E /* Debug */ = { 882 | isa = XCBuildConfiguration; 883 | baseConfigurationReference = 21D0266626EC6B355E082F64358CEA22 /* Pods-iOS.debug.xcconfig */; 884 | buildSettings = { 885 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 886 | CODE_SIGN_IDENTITY = ""; 887 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 888 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 889 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 890 | CURRENT_PROJECT_VERSION = 1; 891 | DEFINES_MODULE = YES; 892 | DYLIB_COMPATIBILITY_VERSION = 1; 893 | DYLIB_CURRENT_VERSION = 1; 894 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 895 | INFOPLIST_FILE = "Target Support Files/Pods-iOS/Pods-iOS-Info.plist"; 896 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 897 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 898 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 899 | MACH_O_TYPE = staticlib; 900 | MODULEMAP_FILE = "Target Support Files/Pods-iOS/Pods-iOS.modulemap"; 901 | OTHER_LDFLAGS = ""; 902 | OTHER_LIBTOOLFLAGS = ""; 903 | PODS_ROOT = "$(SRCROOT)"; 904 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 905 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 906 | SDKROOT = iphoneos; 907 | SKIP_INSTALL = YES; 908 | TARGETED_DEVICE_FAMILY = "1,2"; 909 | VERSIONING_SYSTEM = "apple-generic"; 910 | VERSION_INFO_PREFIX = ""; 911 | }; 912 | name = Debug; 913 | }; 914 | /* End XCBuildConfiguration section */ 915 | 916 | /* Begin XCConfigurationList section */ 917 | 23C1FDB78354D49DD4B6C62897C6A77A /* Build configuration list for PBXNativeTarget "Pods-iOS" */ = { 918 | isa = XCConfigurationList; 919 | buildConfigurations = ( 920 | FA1FC240B1B1A706641E41090D58BE7E /* Debug */, 921 | 8BED61EF4BB93F8016888A086362DF8B /* Release */, 922 | ); 923 | defaultConfigurationIsVisible = 0; 924 | defaultConfigurationName = Release; 925 | }; 926 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 927 | isa = XCConfigurationList; 928 | buildConfigurations = ( 929 | 4D167B36050AB1B64F970EAA2C5422F1 /* Debug */, 930 | 1AC2878CB4259726A087E05B2489EB59 /* Release */, 931 | ); 932 | defaultConfigurationIsVisible = 0; 933 | defaultConfigurationName = Release; 934 | }; 935 | 8ECC09DBB8609C2411C79456A0AD91F3 /* Build configuration list for PBXNativeTarget "Pods-macOS" */ = { 936 | isa = XCConfigurationList; 937 | buildConfigurations = ( 938 | 75EE042400FA32901E836CFEC6BF4F85 /* Debug */, 939 | 36EDA849679EB9AA948087D2258BA2A1 /* Release */, 940 | ); 941 | defaultConfigurationIsVisible = 0; 942 | defaultConfigurationName = Release; 943 | }; 944 | CCF552D95FFA2E3C3BABD157807102E2 /* Build configuration list for PBXNativeTarget "AyLoading-iOS" */ = { 945 | isa = XCConfigurationList; 946 | buildConfigurations = ( 947 | A8F1D41681E4218BF1C35E704001456D /* Debug */, 948 | 64AE37B751A8C996FC1090964C1F485E /* Release */, 949 | ); 950 | defaultConfigurationIsVisible = 0; 951 | defaultConfigurationName = Release; 952 | }; 953 | E02E98809882BE305FDC4DDC9CE0788A /* Build configuration list for PBXNativeTarget "AyLoading-macOS" */ = { 954 | isa = XCConfigurationList; 955 | buildConfigurations = ( 956 | 37AC02181EBD9CC0951C93E9A6E78484 /* Debug */, 957 | A0F12FEF135DBF66DA17694326EB89FD /* Release */, 958 | ); 959 | defaultConfigurationIsVisible = 0; 960 | defaultConfigurationName = Release; 961 | }; 962 | /* End XCConfigurationList section */ 963 | }; 964 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 965 | } 966 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-iOS/AyLoading-iOS-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 | 4.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-iOS/AyLoading-iOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AyLoading_iOS : NSObject 3 | @end 4 | @implementation PodsDummy_AyLoading_iOS 5 | @end 6 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-iOS/AyLoading-iOS-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/AyLoading-iOS/AyLoading-iOS-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 AyLoadingVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AyLoadingVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-iOS/AyLoading-iOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module AyLoading { 2 | umbrella header "AyLoading-iOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-iOS/AyLoading-iOS.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-iOS 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-macOS/AyLoading-macOS-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 | 4.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-macOS/AyLoading-macOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AyLoading_macOS : NSObject 3 | @end 4 | @implementation PodsDummy_AyLoading_macOS 5 | @end 6 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-macOS/AyLoading-macOS-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/AyLoading-macOS/AyLoading-macOS-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 AyLoadingVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AyLoadingVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-macOS/AyLoading-macOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module AyLoading { 2 | umbrella header "AyLoading-macOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/AyLoading-macOS/AyLoading-macOS.xcconfig: -------------------------------------------------------------------------------- 1 | CODE_SIGN_IDENTITY = 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-macOS 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS-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-iOS/Pods-iOS-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AyLoading 5 | 6 | MIT License 7 | 8 | Copyright (c) 2017 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS-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 | MIT License 18 | 19 | Copyright (c) 2017 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | AyLoading 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_iOS : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_iOS 5 | @end 6 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/AyLoading-iOS/AyLoading.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/AyLoading-iOS/AyLoading.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS-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_iOSVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_iOSVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-iOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-iOS/AyLoading.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AyLoading" 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-iOS/Pods-iOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_iOS { 2 | umbrella header "Pods-iOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-iOS/Pods-iOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-iOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-iOS/AyLoading.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AyLoading" 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-macOS/Pods-macOS-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-macOS/Pods-macOS-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AyLoading 5 | 6 | MIT License 7 | 8 | Copyright (c) 2017 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS-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 | MIT License 18 | 19 | Copyright (c) 2017 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | AyLoading 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_macOS : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_macOS 5 | @end 6 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/AyLoading-macOS/AyLoading.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/AyLoading-macOS/AyLoading.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS-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_macOSVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_macOSVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CODE_SIGN_IDENTITY = 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-macOS" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-macOS/AyLoading.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "AyLoading" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_macOS { 2 | umbrella header "Pods-macOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /example/Pods/Target Support Files/Pods-macOS/Pods-macOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CODE_SIGN_IDENTITY = 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-macOS" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AyLoading-macOS/AyLoading.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "AyLoading" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | -------------------------------------------------------------------------------- /example/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 48603E607274E0BDE5F257BD /* Pods_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F966E6FD2E918AC9B732040 /* Pods_iOS.framework */; }; 11 | 83A1AEF821B27EBC00FEDC22 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83A1AEF721B27EBC00FEDC22 /* AppDelegate.swift */; }; 12 | 83A1AEFA21B27EBC00FEDC22 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83A1AEF921B27EBC00FEDC22 /* ViewController.swift */; }; 13 | 83A1AEFD21B27EBC00FEDC22 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 83A1AEFB21B27EBC00FEDC22 /* Main.storyboard */; }; 14 | 83A1AEFF21B27EBE00FEDC22 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 83A1AEFE21B27EBE00FEDC22 /* Assets.xcassets */; }; 15 | 83A1AF0221B27EBE00FEDC22 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 83A1AF0021B27EBE00FEDC22 /* LaunchScreen.storyboard */; }; 16 | 83A1AF0E21B27ED100FEDC22 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83A1AF0D21B27ED100FEDC22 /* AppDelegate.swift */; }; 17 | 83A1AF1021B27ED100FEDC22 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83A1AF0F21B27ED100FEDC22 /* ViewController.swift */; }; 18 | 83A1AF1221B27ED200FEDC22 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 83A1AF1121B27ED200FEDC22 /* Assets.xcassets */; }; 19 | 83A1AF1521B27ED200FEDC22 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 83A1AF1321B27ED200FEDC22 /* Main.storyboard */; }; 20 | DBD42D6A27BB9A74A82278A1 /* Pods_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1683F5CFE70C97F4180CCFD1 /* Pods_macOS.framework */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXFileReference section */ 24 | 1683F5CFE70C97F4180CCFD1 /* Pods_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 25 | 5609E884B5D6EBC09F860016 /* Pods-macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-macOS.release.xcconfig"; path = "Target Support Files/Pods-macOS/Pods-macOS.release.xcconfig"; sourceTree = ""; }; 26 | 6F966E6FD2E918AC9B732040 /* Pods_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | 809456DD9E6F66351B449706 /* Pods-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.debug.xcconfig"; path = "Target Support Files/Pods-iOS/Pods-iOS.debug.xcconfig"; sourceTree = ""; }; 28 | 83A1AEF421B27EBC00FEDC22 /* iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 83A1AEF721B27EBC00FEDC22 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 30 | 83A1AEF921B27EBC00FEDC22 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 31 | 83A1AEFC21B27EBC00FEDC22 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 32 | 83A1AEFE21B27EBE00FEDC22 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 33 | 83A1AF0121B27EBE00FEDC22 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 34 | 83A1AF0321B27EBE00FEDC22 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 83A1AF0B21B27ED100FEDC22 /* macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = macOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 83A1AF0D21B27ED100FEDC22 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 83A1AF0F21B27ED100FEDC22 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 38 | 83A1AF1121B27ED200FEDC22 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 39 | 83A1AF1421B27ED200FEDC22 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 40 | 83A1AF1621B27ED200FEDC22 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 83A1AF1721B27ED200FEDC22 /* macOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = macOS.entitlements; sourceTree = ""; }; 42 | 9146511B6F42FC0B08626A55 /* Pods-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-macOS.debug.xcconfig"; path = "Target Support Files/Pods-macOS/Pods-macOS.debug.xcconfig"; sourceTree = ""; }; 43 | B24E1F4AAED879C4595ADBFC /* Pods-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.release.xcconfig"; path = "Target Support Files/Pods-iOS/Pods-iOS.release.xcconfig"; sourceTree = ""; }; 44 | /* End PBXFileReference section */ 45 | 46 | /* Begin PBXFrameworksBuildPhase section */ 47 | 83A1AEF121B27EBC00FEDC22 /* Frameworks */ = { 48 | isa = PBXFrameworksBuildPhase; 49 | buildActionMask = 2147483647; 50 | files = ( 51 | 48603E607274E0BDE5F257BD /* Pods_iOS.framework in Frameworks */, 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | 83A1AF0821B27ED100FEDC22 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | DBD42D6A27BB9A74A82278A1 /* Pods_macOS.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | /* End PBXFrameworksBuildPhase section */ 64 | 65 | /* Begin PBXGroup section */ 66 | 4EC9B9E89D0A0CE2138AC603 /* Frameworks */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 6F966E6FD2E918AC9B732040 /* Pods_iOS.framework */, 70 | 1683F5CFE70C97F4180CCFD1 /* Pods_macOS.framework */, 71 | ); 72 | name = Frameworks; 73 | sourceTree = ""; 74 | }; 75 | 62EC118EC19D35448E820CD6 /* Pods */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | 809456DD9E6F66351B449706 /* Pods-iOS.debug.xcconfig */, 79 | B24E1F4AAED879C4595ADBFC /* Pods-iOS.release.xcconfig */, 80 | 9146511B6F42FC0B08626A55 /* Pods-macOS.debug.xcconfig */, 81 | 5609E884B5D6EBC09F860016 /* Pods-macOS.release.xcconfig */, 82 | ); 83 | path = Pods; 84 | sourceTree = ""; 85 | }; 86 | 83A1AEE921B27E9A00FEDC22 = { 87 | isa = PBXGroup; 88 | children = ( 89 | 83A1AEF621B27EBC00FEDC22 /* iOS */, 90 | 83A1AF0C21B27ED100FEDC22 /* macOS */, 91 | 83A1AEF521B27EBC00FEDC22 /* Products */, 92 | 62EC118EC19D35448E820CD6 /* Pods */, 93 | 4EC9B9E89D0A0CE2138AC603 /* Frameworks */, 94 | ); 95 | sourceTree = ""; 96 | }; 97 | 83A1AEF521B27EBC00FEDC22 /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 83A1AEF421B27EBC00FEDC22 /* iOS.app */, 101 | 83A1AF0B21B27ED100FEDC22 /* macOS.app */, 102 | ); 103 | name = Products; 104 | sourceTree = ""; 105 | }; 106 | 83A1AEF621B27EBC00FEDC22 /* iOS */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 83A1AEF721B27EBC00FEDC22 /* AppDelegate.swift */, 110 | 83A1AEF921B27EBC00FEDC22 /* ViewController.swift */, 111 | 83A1AEFB21B27EBC00FEDC22 /* Main.storyboard */, 112 | 83A1AEFE21B27EBE00FEDC22 /* Assets.xcassets */, 113 | 83A1AF0021B27EBE00FEDC22 /* LaunchScreen.storyboard */, 114 | 83A1AF0321B27EBE00FEDC22 /* Info.plist */, 115 | ); 116 | path = iOS; 117 | sourceTree = ""; 118 | }; 119 | 83A1AF0C21B27ED100FEDC22 /* macOS */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 83A1AF0D21B27ED100FEDC22 /* AppDelegate.swift */, 123 | 83A1AF0F21B27ED100FEDC22 /* ViewController.swift */, 124 | 83A1AF1121B27ED200FEDC22 /* Assets.xcassets */, 125 | 83A1AF1321B27ED200FEDC22 /* Main.storyboard */, 126 | 83A1AF1621B27ED200FEDC22 /* Info.plist */, 127 | 83A1AF1721B27ED200FEDC22 /* macOS.entitlements */, 128 | ); 129 | path = macOS; 130 | sourceTree = ""; 131 | }; 132 | /* End PBXGroup section */ 133 | 134 | /* Begin PBXNativeTarget section */ 135 | 83A1AEF321B27EBC00FEDC22 /* iOS */ = { 136 | isa = PBXNativeTarget; 137 | buildConfigurationList = 83A1AF0421B27EBE00FEDC22 /* Build configuration list for PBXNativeTarget "iOS" */; 138 | buildPhases = ( 139 | 2F0BE82F46C847764D4ED038 /* [CP] Check Pods Manifest.lock */, 140 | 83A1AEF021B27EBC00FEDC22 /* Sources */, 141 | 83A1AEF121B27EBC00FEDC22 /* Frameworks */, 142 | 83A1AEF221B27EBC00FEDC22 /* Resources */, 143 | AF41D161C9DA2B0C3A4D2400 /* [CP] Embed Pods Frameworks */, 144 | ); 145 | buildRules = ( 146 | ); 147 | dependencies = ( 148 | ); 149 | name = iOS; 150 | productName = iOS; 151 | productReference = 83A1AEF421B27EBC00FEDC22 /* iOS.app */; 152 | productType = "com.apple.product-type.application"; 153 | }; 154 | 83A1AF0A21B27ED100FEDC22 /* macOS */ = { 155 | isa = PBXNativeTarget; 156 | buildConfigurationList = 83A1AF1821B27ED200FEDC22 /* Build configuration list for PBXNativeTarget "macOS" */; 157 | buildPhases = ( 158 | 810802284CB892E251998EB0 /* [CP] Check Pods Manifest.lock */, 159 | 83A1AF0721B27ED100FEDC22 /* Sources */, 160 | 83A1AF0821B27ED100FEDC22 /* Frameworks */, 161 | 83A1AF0921B27ED100FEDC22 /* Resources */, 162 | 906CE2AA4B943F57A560AB7F /* [CP] Embed Pods Frameworks */, 163 | ); 164 | buildRules = ( 165 | ); 166 | dependencies = ( 167 | ); 168 | name = macOS; 169 | productName = macOS; 170 | productReference = 83A1AF0B21B27ED100FEDC22 /* macOS.app */; 171 | productType = "com.apple.product-type.application"; 172 | }; 173 | /* End PBXNativeTarget section */ 174 | 175 | /* Begin PBXProject section */ 176 | 83A1AEEA21B27E9A00FEDC22 /* Project object */ = { 177 | isa = PBXProject; 178 | attributes = { 179 | LastSwiftUpdateCheck = 1010; 180 | LastUpgradeCheck = 1010; 181 | TargetAttributes = { 182 | 83A1AEF321B27EBC00FEDC22 = { 183 | CreatedOnToolsVersion = 10.1; 184 | }; 185 | 83A1AF0A21B27ED100FEDC22 = { 186 | CreatedOnToolsVersion = 10.1; 187 | }; 188 | }; 189 | }; 190 | buildConfigurationList = 83A1AEED21B27E9A00FEDC22 /* Build configuration list for PBXProject "example" */; 191 | compatibilityVersion = "Xcode 9.3"; 192 | developmentRegion = en; 193 | hasScannedForEncodings = 0; 194 | knownRegions = ( 195 | en, 196 | Base, 197 | ); 198 | mainGroup = 83A1AEE921B27E9A00FEDC22; 199 | productRefGroup = 83A1AEF521B27EBC00FEDC22 /* Products */; 200 | projectDirPath = ""; 201 | projectRoot = ""; 202 | targets = ( 203 | 83A1AEF321B27EBC00FEDC22 /* iOS */, 204 | 83A1AF0A21B27ED100FEDC22 /* macOS */, 205 | ); 206 | }; 207 | /* End PBXProject section */ 208 | 209 | /* Begin PBXResourcesBuildPhase section */ 210 | 83A1AEF221B27EBC00FEDC22 /* Resources */ = { 211 | isa = PBXResourcesBuildPhase; 212 | buildActionMask = 2147483647; 213 | files = ( 214 | 83A1AF0221B27EBE00FEDC22 /* LaunchScreen.storyboard in Resources */, 215 | 83A1AEFF21B27EBE00FEDC22 /* Assets.xcassets in Resources */, 216 | 83A1AEFD21B27EBC00FEDC22 /* Main.storyboard in Resources */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | 83A1AF0921B27ED100FEDC22 /* Resources */ = { 221 | isa = PBXResourcesBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | 83A1AF1221B27ED200FEDC22 /* Assets.xcassets in Resources */, 225 | 83A1AF1521B27ED200FEDC22 /* Main.storyboard in Resources */, 226 | ); 227 | runOnlyForDeploymentPostprocessing = 0; 228 | }; 229 | /* End PBXResourcesBuildPhase section */ 230 | 231 | /* Begin PBXShellScriptBuildPhase section */ 232 | 2F0BE82F46C847764D4ED038 /* [CP] Check Pods Manifest.lock */ = { 233 | isa = PBXShellScriptBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | ); 237 | inputFileListPaths = ( 238 | ); 239 | inputPaths = ( 240 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 241 | "${PODS_ROOT}/Manifest.lock", 242 | ); 243 | name = "[CP] Check Pods Manifest.lock"; 244 | outputFileListPaths = ( 245 | ); 246 | outputPaths = ( 247 | "$(DERIVED_FILE_DIR)/Pods-iOS-checkManifestLockResult.txt", 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | shellPath = /bin/sh; 251 | 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"; 252 | showEnvVarsInLog = 0; 253 | }; 254 | 810802284CB892E251998EB0 /* [CP] Check Pods Manifest.lock */ = { 255 | isa = PBXShellScriptBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | inputFileListPaths = ( 260 | ); 261 | inputPaths = ( 262 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 263 | "${PODS_ROOT}/Manifest.lock", 264 | ); 265 | name = "[CP] Check Pods Manifest.lock"; 266 | outputFileListPaths = ( 267 | ); 268 | outputPaths = ( 269 | "$(DERIVED_FILE_DIR)/Pods-macOS-checkManifestLockResult.txt", 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | shellPath = /bin/sh; 273 | 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"; 274 | showEnvVarsInLog = 0; 275 | }; 276 | 906CE2AA4B943F57A560AB7F /* [CP] Embed Pods Frameworks */ = { 277 | isa = PBXShellScriptBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | ); 281 | inputFileListPaths = ( 282 | ); 283 | inputPaths = ( 284 | "${PODS_ROOT}/Target Support Files/Pods-macOS/Pods-macOS-frameworks.sh", 285 | "${BUILT_PRODUCTS_DIR}/AyLoading-macOS/AyLoading.framework", 286 | ); 287 | name = "[CP] Embed Pods Frameworks"; 288 | outputFileListPaths = ( 289 | ); 290 | outputPaths = ( 291 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AyLoading.framework", 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | shellPath = /bin/sh; 295 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-macOS/Pods-macOS-frameworks.sh\"\n"; 296 | showEnvVarsInLog = 0; 297 | }; 298 | AF41D161C9DA2B0C3A4D2400 /* [CP] Embed Pods Frameworks */ = { 299 | isa = PBXShellScriptBuildPhase; 300 | buildActionMask = 2147483647; 301 | files = ( 302 | ); 303 | inputFileListPaths = ( 304 | ); 305 | inputPaths = ( 306 | "${PODS_ROOT}/Target Support Files/Pods-iOS/Pods-iOS-frameworks.sh", 307 | "${BUILT_PRODUCTS_DIR}/AyLoading-iOS/AyLoading.framework", 308 | ); 309 | name = "[CP] Embed Pods Frameworks"; 310 | outputFileListPaths = ( 311 | ); 312 | outputPaths = ( 313 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AyLoading.framework", 314 | ); 315 | runOnlyForDeploymentPostprocessing = 0; 316 | shellPath = /bin/sh; 317 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-iOS/Pods-iOS-frameworks.sh\"\n"; 318 | showEnvVarsInLog = 0; 319 | }; 320 | /* End PBXShellScriptBuildPhase section */ 321 | 322 | /* Begin PBXSourcesBuildPhase section */ 323 | 83A1AEF021B27EBC00FEDC22 /* Sources */ = { 324 | isa = PBXSourcesBuildPhase; 325 | buildActionMask = 2147483647; 326 | files = ( 327 | 83A1AEFA21B27EBC00FEDC22 /* ViewController.swift in Sources */, 328 | 83A1AEF821B27EBC00FEDC22 /* AppDelegate.swift in Sources */, 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | }; 332 | 83A1AF0721B27ED100FEDC22 /* Sources */ = { 333 | isa = PBXSourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 83A1AF1021B27ED100FEDC22 /* ViewController.swift in Sources */, 337 | 83A1AF0E21B27ED100FEDC22 /* AppDelegate.swift in Sources */, 338 | ); 339 | runOnlyForDeploymentPostprocessing = 0; 340 | }; 341 | /* End PBXSourcesBuildPhase section */ 342 | 343 | /* Begin PBXVariantGroup section */ 344 | 83A1AEFB21B27EBC00FEDC22 /* Main.storyboard */ = { 345 | isa = PBXVariantGroup; 346 | children = ( 347 | 83A1AEFC21B27EBC00FEDC22 /* Base */, 348 | ); 349 | name = Main.storyboard; 350 | sourceTree = ""; 351 | }; 352 | 83A1AF0021B27EBE00FEDC22 /* LaunchScreen.storyboard */ = { 353 | isa = PBXVariantGroup; 354 | children = ( 355 | 83A1AF0121B27EBE00FEDC22 /* Base */, 356 | ); 357 | name = LaunchScreen.storyboard; 358 | sourceTree = ""; 359 | }; 360 | 83A1AF1321B27ED200FEDC22 /* Main.storyboard */ = { 361 | isa = PBXVariantGroup; 362 | children = ( 363 | 83A1AF1421B27ED200FEDC22 /* Base */, 364 | ); 365 | name = Main.storyboard; 366 | sourceTree = ""; 367 | }; 368 | /* End PBXVariantGroup section */ 369 | 370 | /* Begin XCBuildConfiguration section */ 371 | 83A1AEEE21B27E9A00FEDC22 /* Debug */ = { 372 | isa = XCBuildConfiguration; 373 | buildSettings = { 374 | }; 375 | name = Debug; 376 | }; 377 | 83A1AEEF21B27E9A00FEDC22 /* Release */ = { 378 | isa = XCBuildConfiguration; 379 | buildSettings = { 380 | }; 381 | name = Release; 382 | }; 383 | 83A1AF0521B27EBE00FEDC22 /* Debug */ = { 384 | isa = XCBuildConfiguration; 385 | baseConfigurationReference = 809456DD9E6F66351B449706 /* Pods-iOS.debug.xcconfig */; 386 | buildSettings = { 387 | ALWAYS_SEARCH_USER_PATHS = NO; 388 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 389 | CLANG_ANALYZER_NONNULL = YES; 390 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 392 | CLANG_CXX_LIBRARY = "libc++"; 393 | CLANG_ENABLE_MODULES = YES; 394 | CLANG_ENABLE_OBJC_ARC = YES; 395 | CLANG_ENABLE_OBJC_WEAK = YES; 396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 397 | CLANG_WARN_BOOL_CONVERSION = YES; 398 | CLANG_WARN_COMMA = YES; 399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 400 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 401 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 402 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 403 | CLANG_WARN_EMPTY_BODY = YES; 404 | CLANG_WARN_ENUM_CONVERSION = YES; 405 | CLANG_WARN_INFINITE_RECURSION = YES; 406 | CLANG_WARN_INT_CONVERSION = YES; 407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 408 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 409 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 411 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 412 | CLANG_WARN_STRICT_PROTOTYPES = YES; 413 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 414 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 415 | CLANG_WARN_UNREACHABLE_CODE = YES; 416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 417 | CODE_SIGN_IDENTITY = "iPhone Developer"; 418 | CODE_SIGN_STYLE = Automatic; 419 | COPY_PHASE_STRIP = NO; 420 | DEBUG_INFORMATION_FORMAT = dwarf; 421 | DEVELOPMENT_TEAM = 476N92MP39; 422 | ENABLE_STRICT_OBJC_MSGSEND = YES; 423 | ENABLE_TESTABILITY = YES; 424 | GCC_C_LANGUAGE_STANDARD = gnu11; 425 | GCC_DYNAMIC_NO_PIC = NO; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | GCC_OPTIMIZATION_LEVEL = 0; 428 | GCC_PREPROCESSOR_DEFINITIONS = ( 429 | "DEBUG=1", 430 | "$(inherited)", 431 | ); 432 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 433 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 434 | GCC_WARN_UNDECLARED_SELECTOR = YES; 435 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 436 | GCC_WARN_UNUSED_FUNCTION = YES; 437 | GCC_WARN_UNUSED_VARIABLE = YES; 438 | INFOPLIST_FILE = iOS/Info.plist; 439 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 440 | LD_RUNPATH_SEARCH_PATHS = ( 441 | "$(inherited)", 442 | "@executable_path/Frameworks", 443 | ); 444 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 445 | MTL_FAST_MATH = YES; 446 | ONLY_ACTIVE_ARCH = YES; 447 | PRODUCT_BUNDLE_IDENTIFIER = cc.chakery.iOS; 448 | PRODUCT_NAME = "$(TARGET_NAME)"; 449 | SDKROOT = iphoneos; 450 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 451 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 452 | SWIFT_VERSION = 4.2; 453 | TARGETED_DEVICE_FAMILY = "1,2"; 454 | }; 455 | name = Debug; 456 | }; 457 | 83A1AF0621B27EBE00FEDC22 /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = B24E1F4AAED879C4595ADBFC /* Pods-iOS.release.xcconfig */; 460 | buildSettings = { 461 | ALWAYS_SEARCH_USER_PATHS = NO; 462 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 463 | CLANG_ANALYZER_NONNULL = YES; 464 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 465 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 466 | CLANG_CXX_LIBRARY = "libc++"; 467 | CLANG_ENABLE_MODULES = YES; 468 | CLANG_ENABLE_OBJC_ARC = YES; 469 | CLANG_ENABLE_OBJC_WEAK = YES; 470 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 471 | CLANG_WARN_BOOL_CONVERSION = YES; 472 | CLANG_WARN_COMMA = YES; 473 | CLANG_WARN_CONSTANT_CONVERSION = YES; 474 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 475 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 476 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 477 | CLANG_WARN_EMPTY_BODY = YES; 478 | CLANG_WARN_ENUM_CONVERSION = YES; 479 | CLANG_WARN_INFINITE_RECURSION = YES; 480 | CLANG_WARN_INT_CONVERSION = YES; 481 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 482 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 483 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 484 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 485 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 486 | CLANG_WARN_STRICT_PROTOTYPES = YES; 487 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 488 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 489 | CLANG_WARN_UNREACHABLE_CODE = YES; 490 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 491 | CODE_SIGN_IDENTITY = "iPhone Developer"; 492 | CODE_SIGN_STYLE = Automatic; 493 | COPY_PHASE_STRIP = NO; 494 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 495 | DEVELOPMENT_TEAM = 476N92MP39; 496 | ENABLE_NS_ASSERTIONS = NO; 497 | ENABLE_STRICT_OBJC_MSGSEND = YES; 498 | GCC_C_LANGUAGE_STANDARD = gnu11; 499 | GCC_NO_COMMON_BLOCKS = YES; 500 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 501 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 502 | GCC_WARN_UNDECLARED_SELECTOR = YES; 503 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 504 | GCC_WARN_UNUSED_FUNCTION = YES; 505 | GCC_WARN_UNUSED_VARIABLE = YES; 506 | INFOPLIST_FILE = iOS/Info.plist; 507 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 508 | LD_RUNPATH_SEARCH_PATHS = ( 509 | "$(inherited)", 510 | "@executable_path/Frameworks", 511 | ); 512 | MTL_ENABLE_DEBUG_INFO = NO; 513 | MTL_FAST_MATH = YES; 514 | PRODUCT_BUNDLE_IDENTIFIER = cc.chakery.iOS; 515 | PRODUCT_NAME = "$(TARGET_NAME)"; 516 | SDKROOT = iphoneos; 517 | SWIFT_COMPILATION_MODE = wholemodule; 518 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 519 | SWIFT_VERSION = 4.2; 520 | TARGETED_DEVICE_FAMILY = "1,2"; 521 | VALIDATE_PRODUCT = YES; 522 | }; 523 | name = Release; 524 | }; 525 | 83A1AF1921B27ED200FEDC22 /* Debug */ = { 526 | isa = XCBuildConfiguration; 527 | baseConfigurationReference = 9146511B6F42FC0B08626A55 /* Pods-macOS.debug.xcconfig */; 528 | buildSettings = { 529 | ALWAYS_SEARCH_USER_PATHS = NO; 530 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 531 | CLANG_ANALYZER_NONNULL = YES; 532 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 533 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 534 | CLANG_CXX_LIBRARY = "libc++"; 535 | CLANG_ENABLE_MODULES = YES; 536 | CLANG_ENABLE_OBJC_ARC = YES; 537 | CLANG_ENABLE_OBJC_WEAK = YES; 538 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 539 | CLANG_WARN_BOOL_CONVERSION = YES; 540 | CLANG_WARN_COMMA = YES; 541 | CLANG_WARN_CONSTANT_CONVERSION = YES; 542 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 543 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 544 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 545 | CLANG_WARN_EMPTY_BODY = YES; 546 | CLANG_WARN_ENUM_CONVERSION = YES; 547 | CLANG_WARN_INFINITE_RECURSION = YES; 548 | CLANG_WARN_INT_CONVERSION = YES; 549 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 550 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 551 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 552 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 553 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 554 | CLANG_WARN_STRICT_PROTOTYPES = YES; 555 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 556 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 557 | CLANG_WARN_UNREACHABLE_CODE = YES; 558 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 559 | CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements; 560 | CODE_SIGN_IDENTITY = "Mac Developer"; 561 | CODE_SIGN_STYLE = Automatic; 562 | COMBINE_HIDPI_IMAGES = YES; 563 | COPY_PHASE_STRIP = NO; 564 | DEBUG_INFORMATION_FORMAT = dwarf; 565 | DEVELOPMENT_TEAM = 476N92MP39; 566 | ENABLE_STRICT_OBJC_MSGSEND = YES; 567 | ENABLE_TESTABILITY = YES; 568 | GCC_C_LANGUAGE_STANDARD = gnu11; 569 | GCC_DYNAMIC_NO_PIC = NO; 570 | GCC_NO_COMMON_BLOCKS = YES; 571 | GCC_OPTIMIZATION_LEVEL = 0; 572 | GCC_PREPROCESSOR_DEFINITIONS = ( 573 | "DEBUG=1", 574 | "$(inherited)", 575 | ); 576 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 577 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 578 | GCC_WARN_UNDECLARED_SELECTOR = YES; 579 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 580 | GCC_WARN_UNUSED_FUNCTION = YES; 581 | GCC_WARN_UNUSED_VARIABLE = YES; 582 | INFOPLIST_FILE = macOS/Info.plist; 583 | LD_RUNPATH_SEARCH_PATHS = ( 584 | "$(inherited)", 585 | "@executable_path/../Frameworks", 586 | ); 587 | MACOSX_DEPLOYMENT_TARGET = 10.12; 588 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 589 | MTL_FAST_MATH = YES; 590 | ONLY_ACTIVE_ARCH = YES; 591 | PRODUCT_BUNDLE_IDENTIFIER = cc.chakery.macOS; 592 | PRODUCT_NAME = "$(TARGET_NAME)"; 593 | SDKROOT = macosx; 594 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 595 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 596 | SWIFT_VERSION = 4.2; 597 | }; 598 | name = Debug; 599 | }; 600 | 83A1AF1A21B27ED200FEDC22 /* Release */ = { 601 | isa = XCBuildConfiguration; 602 | baseConfigurationReference = 5609E884B5D6EBC09F860016 /* Pods-macOS.release.xcconfig */; 603 | buildSettings = { 604 | ALWAYS_SEARCH_USER_PATHS = NO; 605 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 606 | CLANG_ANALYZER_NONNULL = YES; 607 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 608 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 609 | CLANG_CXX_LIBRARY = "libc++"; 610 | CLANG_ENABLE_MODULES = YES; 611 | CLANG_ENABLE_OBJC_ARC = YES; 612 | CLANG_ENABLE_OBJC_WEAK = YES; 613 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 614 | CLANG_WARN_BOOL_CONVERSION = YES; 615 | CLANG_WARN_COMMA = YES; 616 | CLANG_WARN_CONSTANT_CONVERSION = YES; 617 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 618 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 619 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 620 | CLANG_WARN_EMPTY_BODY = YES; 621 | CLANG_WARN_ENUM_CONVERSION = YES; 622 | CLANG_WARN_INFINITE_RECURSION = YES; 623 | CLANG_WARN_INT_CONVERSION = YES; 624 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 625 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 626 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 627 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 628 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 629 | CLANG_WARN_STRICT_PROTOTYPES = YES; 630 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 631 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 632 | CLANG_WARN_UNREACHABLE_CODE = YES; 633 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 634 | CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements; 635 | CODE_SIGN_IDENTITY = "Mac Developer"; 636 | CODE_SIGN_STYLE = Automatic; 637 | COMBINE_HIDPI_IMAGES = YES; 638 | COPY_PHASE_STRIP = NO; 639 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 640 | DEVELOPMENT_TEAM = 476N92MP39; 641 | ENABLE_NS_ASSERTIONS = NO; 642 | ENABLE_STRICT_OBJC_MSGSEND = YES; 643 | GCC_C_LANGUAGE_STANDARD = gnu11; 644 | GCC_NO_COMMON_BLOCKS = YES; 645 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 646 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 647 | GCC_WARN_UNDECLARED_SELECTOR = YES; 648 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 649 | GCC_WARN_UNUSED_FUNCTION = YES; 650 | GCC_WARN_UNUSED_VARIABLE = YES; 651 | INFOPLIST_FILE = macOS/Info.plist; 652 | LD_RUNPATH_SEARCH_PATHS = ( 653 | "$(inherited)", 654 | "@executable_path/../Frameworks", 655 | ); 656 | MACOSX_DEPLOYMENT_TARGET = 10.12; 657 | MTL_ENABLE_DEBUG_INFO = NO; 658 | MTL_FAST_MATH = YES; 659 | PRODUCT_BUNDLE_IDENTIFIER = cc.chakery.macOS; 660 | PRODUCT_NAME = "$(TARGET_NAME)"; 661 | SDKROOT = macosx; 662 | SWIFT_COMPILATION_MODE = wholemodule; 663 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 664 | SWIFT_VERSION = 4.2; 665 | }; 666 | name = Release; 667 | }; 668 | /* End XCBuildConfiguration section */ 669 | 670 | /* Begin XCConfigurationList section */ 671 | 83A1AEED21B27E9A00FEDC22 /* Build configuration list for PBXProject "example" */ = { 672 | isa = XCConfigurationList; 673 | buildConfigurations = ( 674 | 83A1AEEE21B27E9A00FEDC22 /* Debug */, 675 | 83A1AEEF21B27E9A00FEDC22 /* Release */, 676 | ); 677 | defaultConfigurationIsVisible = 0; 678 | defaultConfigurationName = Release; 679 | }; 680 | 83A1AF0421B27EBE00FEDC22 /* Build configuration list for PBXNativeTarget "iOS" */ = { 681 | isa = XCConfigurationList; 682 | buildConfigurations = ( 683 | 83A1AF0521B27EBE00FEDC22 /* Debug */, 684 | 83A1AF0621B27EBE00FEDC22 /* Release */, 685 | ); 686 | defaultConfigurationIsVisible = 0; 687 | defaultConfigurationName = Release; 688 | }; 689 | 83A1AF1821B27ED200FEDC22 /* Build configuration list for PBXNativeTarget "macOS" */ = { 690 | isa = XCConfigurationList; 691 | buildConfigurations = ( 692 | 83A1AF1921B27ED200FEDC22 /* Debug */, 693 | 83A1AF1A21B27ED200FEDC22 /* Release */, 694 | ); 695 | defaultConfigurationIsVisible = 0; 696 | defaultConfigurationName = Release; 697 | }; 698 | /* End XCConfigurationList section */ 699 | }; 700 | rootObject = 83A1AEEA21B27E9A00FEDC22 /* Project object */; 701 | } 702 | -------------------------------------------------------------------------------- /example/example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/iOS/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // iOS 4 | // 5 | // Created by Chakery on 2018/12/1. 6 | // 7 | 8 | import UIKit 9 | 10 | @UIApplicationMain 11 | class AppDelegate: UIResponder, UIApplicationDelegate { 12 | 13 | var window: UIWindow? 14 | 15 | 16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 17 | // Override point for customization after application launch. 18 | return true 19 | } 20 | 21 | func applicationWillResignActive(_ application: UIApplication) { 22 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 23 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 24 | } 25 | 26 | func applicationDidEnterBackground(_ application: UIApplication) { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | func applicationWillEnterForeground(_ application: UIApplication) { 32 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 33 | } 34 | 35 | func applicationDidBecomeActive(_ application: UIApplication) { 36 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 37 | } 38 | 39 | func applicationWillTerminate(_ application: UIApplication) { 40 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 41 | } 42 | 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /example/iOS/Assets.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" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /example/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /example/iOS/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /example/iOS/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 29 | 43 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /example/iOS/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 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /example/iOS/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // iOS 4 | // 5 | // Created by Chakery on 2018/12/1. 6 | // 7 | 8 | import UIKit 9 | import AyLoading 10 | 11 | class ViewController: UIViewController { 12 | let sysBlue = UIColor(displayP3Red: 22 / 255.0, green: 118 / 255.0, blue: 255 / 255.0, alpha: 1) 13 | 14 | func delay(_ duration: TimeInterval = 3, action: @escaping () -> Void) { 15 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) { 16 | action() 17 | } 18 | } 19 | 20 | @IBAction func refreshAction(_ sender: UIBarButtonItem) { 21 | sender.ay.indicatorView?.activityIndicator.color = sysBlue 22 | sender.ay.startLoading() 23 | delay { 24 | sender.ay.stopLoading() 25 | } 26 | } 27 | 28 | @IBAction func sendAction(_ sender: UIButton) { 29 | sender.ay.indicatorView.messageLabel.font = UIFont.systemFont(ofSize: 11) 30 | sender.ay.indicatorView.activityIndicator.transform = CGAffineTransform(scaleX: 0.7, y: 0.7) 31 | sender.ay.startLoading(message: "Sending...") 32 | delay { 33 | sender.ay.stopLoading() 34 | } 35 | } 36 | 37 | @IBAction func loadAction(_ sender: UIButton) { 38 | sender.ay.indicatorView.messageLabel.textColor = .white 39 | sender.ay.indicatorView.activityIndicator.style = .white 40 | sender.ay.startLoading(message: "loading...") 41 | delay { 42 | sender.ay.stopLoading() 43 | } 44 | } 45 | 46 | @IBAction func loginAction(_ sender: UIButton) { 47 | sender.ay.indicatorView.messageLabel.textColor = .white 48 | sender.ay.indicatorView.activityIndicator.style = .whiteLarge 49 | sender.ay.indicatorView.messageLabel.font = UIFont.systemFont(ofSize: 30) 50 | sender.ay.startLoading(message: "Logining...") 51 | delay { 52 | sender.ay.stopLoading() 53 | } 54 | } 55 | 56 | override func touchesBegan(_ touches: Set, with event: UIEvent?) { 57 | view.ay.startLoading(message: "Loading...") 58 | delay { 59 | self.view.ay.stopLoading() 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /example/macOS/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // macOS 4 | // 5 | // Created by Chakery on 2018/12/1. 6 | // 7 | 8 | import Cocoa 9 | 10 | @NSApplicationMain 11 | class AppDelegate: NSObject, NSApplicationDelegate { 12 | 13 | 14 | 15 | func applicationDidFinishLaunching(_ aNotification: Notification) { 16 | // Insert code here to initialize your application 17 | } 18 | 19 | func applicationWillTerminate(_ aNotification: Notification) { 20 | // Insert code here to tear down your application 21 | } 22 | 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /example/macOS/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "mac", 5 | "size" : "16x16", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "mac", 10 | "size" : "16x16", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "mac", 15 | "size" : "32x32", 16 | "scale" : "1x" 17 | }, 18 | { 19 | "idiom" : "mac", 20 | "size" : "32x32", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "idiom" : "mac", 25 | "size" : "128x128", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "mac", 30 | "size" : "128x128", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "mac", 35 | "size" : "256x256", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "mac", 40 | "size" : "256x256", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "mac", 45 | "size" : "512x512", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "mac", 50 | "size" : "512x512", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /example/macOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /example/macOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 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 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSMainStoryboardFile 26 | Main 27 | NSPrincipalClass 28 | NSApplication 29 | 30 | 31 | -------------------------------------------------------------------------------- /example/macOS/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // macOS 4 | // 5 | // Created by Chakery on 2018/12/1. 6 | // 7 | 8 | import Cocoa 9 | import AyLoading 10 | 11 | class ViewController: NSViewController { 12 | 13 | func delay(_ duration: TimeInterval = 3, action: @escaping () -> Void) { 14 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) { 15 | action() 16 | } 17 | } 18 | 19 | @IBAction func pushAction(_ sender: NSButton) { 20 | sender.ay.startLoading() 21 | delay { 22 | sender.ay.stopLoading() 23 | } 24 | } 25 | 26 | @IBAction func texturedAction(_ sender: NSButton) { 27 | sender.ay.startLoading(message: "loading...") 28 | delay { 29 | sender.ay.stopLoading() 30 | } 31 | } 32 | 33 | @IBAction func roundAction(_ sender: NSButton) { 34 | sender.ay.startLoading() 35 | delay { 36 | sender.ay.stopLoading() 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /example/macOS/macOS.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.files.user-selected.read-only 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/screenshot/ios.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakery/AyLoading/5772eac0aba5091336be2ddbcac546c0d54e7de8/example/screenshot/ios.gif -------------------------------------------------------------------------------- /example/screenshot/macos.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakery/AyLoading/5772eac0aba5091336be2ddbcac546c0d54e7de8/example/screenshot/macos.gif --------------------------------------------------------------------------------