├── .gitignore ├── .swift-version ├── .travis.yml ├── AVFonts.gif ├── AVFonts.podspec ├── AVFonts ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AVButtonExtension.swift │ ├── AVFonts.swift │ ├── AVLabelExtension.swift │ ├── AVTextViewExtension.swift │ ├── AVTextfieldExtension.swift │ └── MethodSwizzler.swift ├── AVFonts2.gif ├── Example ├── AVFonts.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── AVFonts-Example.xcscheme ├── AVFonts.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── AVFonts │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Local Podspecs │ └── AVFonts.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── Target Support Files │ ├── AVFonts │ ├── AVFonts-dummy.m │ ├── AVFonts-prefix.pch │ ├── AVFonts-umbrella.h │ ├── AVFonts.modulemap │ ├── AVFonts.xcconfig │ └── Info.plist │ ├── Pods-AVFonts_Example │ ├── Info.plist │ ├── Pods-AVFonts_Example-acknowledgements.markdown │ ├── Pods-AVFonts_Example-acknowledgements.plist │ ├── Pods-AVFonts_Example-dummy.m │ ├── Pods-AVFonts_Example-frameworks.sh │ ├── Pods-AVFonts_Example-resources.sh │ ├── Pods-AVFonts_Example-umbrella.h │ ├── Pods-AVFonts_Example.debug.xcconfig │ ├── Pods-AVFonts_Example.modulemap │ └── Pods-AVFonts_Example.release.xcconfig │ └── Pods-AVFonts_Tests │ ├── Info.plist │ ├── Pods-AVFonts_Tests-acknowledgements.markdown │ ├── Pods-AVFonts_Tests-acknowledgements.plist │ ├── Pods-AVFonts_Tests-dummy.m │ ├── Pods-AVFonts_Tests-frameworks.sh │ ├── Pods-AVFonts_Tests-resources.sh │ ├── Pods-AVFonts_Tests-umbrella.h │ ├── Pods-AVFonts_Tests.debug.xcconfig │ ├── Pods-AVFonts_Tests.modulemap │ └── Pods-AVFonts_Tests.release.xcconfig ├── LICENSE ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AVFonts.xcworkspace -scheme AVFonts-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AVFonts.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arnavgupta180/AVFonts/8fff311b88dff6822dd6755d3153bdbe89269e1e/AVFonts.gif -------------------------------------------------------------------------------- /AVFonts.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint AVFonts.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'AVFonts' 11 | s.version = '0.1.0' 12 | s.summary = 'AVFonts is for doing anything you want to do with fonts throuhout app.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | AVFonts is for swaping the font you are using with the new font throughout the app.You can increment or decrement your fontsize as per your reqiurements otherwise it will take the fontsize you are using for your old font 22 | DESC 23 | 24 | s.homepage = 'https://github.com/codegeeker180/AVFonts' 25 | s.version = '0.1.0' 26 | s.name = 'AVFonts' 27 | 28 | s.license = { :type => 'MIT', :file => 'LICENSE' } 29 | s.author = { 'Arnav' => 'arnavgupta180@gmail.com' } 30 | s.source = { :git => 'https://github.com/codegeeker180/AVFonts.git', :tag => s.version.to_s } 31 | 32 | s.ios.deployment_target = '10.0' 33 | 34 | s.source_files = 'Classes/*.{swift}' 35 | 36 | # s.resource_bundles = { 37 | # 'AVFonts' => ['AVFonts/Assets/*.png'] 38 | # } 39 | 40 | # s.public_header_files = 'Pod/Classes/**/*.h' 41 | # s.frameworks = 'UIKit', 'MapKit' 42 | # s.dependency 'AFNetworking', '~> 2.3' 43 | end 44 | -------------------------------------------------------------------------------- /AVFonts/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arnavgupta180/AVFonts/8fff311b88dff6822dd6755d3153bdbe89269e1e/AVFonts/Assets/.gitkeep -------------------------------------------------------------------------------- /AVFonts/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arnavgupta180/AVFonts/8fff311b88dff6822dd6755d3153bdbe89269e1e/AVFonts/Classes/.gitkeep -------------------------------------------------------------------------------- /AVFonts/Classes/AVButtonExtension.swift: -------------------------------------------------------------------------------- 1 | // * AVButtonExtension.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | extension UIButton { 10 | @objc public func customFontLayoutSubviews() { 11 | self.customFontLayoutSubviews() 12 | if AVFonts.changeFontThroughOut.count > 1 { 13 | if self.titleLabel!.font.fontName != AVFonts.changeFontThroughOut { 14 | if AVFonts.changeFontThroughOutTypes.contains(.button) { 15 | self.titleLabel?.font = UIFont(name: AVFonts.changeFontThroughOut, size: (self.titleLabel?.font.pointSize)! + AVFonts.changeFontThroughOutIncremnt) ?? self.titleLabel?.font 16 | } 17 | } 18 | } else if AVFonts.attributeFontbtn[self.titleLabel!.font.fontName] != nil { 19 | if AVFonts.attributeFontSizeBtn[self.titleLabel!.font.fontName] != nil { 20 | 21 | let fontSize = self.titleLabel!.font.pointSize + AVFonts.attributeFontSizeBtn[self.titleLabel!.font.fontName]! 22 | self.titleLabel?.font = UIFont(name: AVFonts.attributeFontbtn[self.titleLabel!.font.fontName]!, size: fontSize)! 23 | } else { 24 | let font = UIFont(name: AVFonts.attributeFontbtn[self.titleLabel!.font.fontName]!, size: (self.titleLabel?.font.pointSize)!) ?? self.titleLabel?.font 25 | self.titleLabel?.font = font 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /AVFonts/Classes/AVFonts.swift: -------------------------------------------------------------------------------- 1 | // * AVFonts.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | public enum AVFontsView: Int { 10 | case label = 1 11 | case button = 2 12 | case textfield = 3 13 | case textview = 4 14 | } 15 | 16 | public class AVFonts: NSObject { 17 | static var attributeFontLbl = [String: String]() 18 | static var attributeFontbtn = [String: String]() 19 | static var attributeFonttf = [String: String]() 20 | static var attributeFonttv = [String: String]() 21 | static var attributeFontSizeLabel = [String: CGFloat]() 22 | static var attributeFontSizeBtn = [String: CGFloat]() 23 | static var attributeFontSizetf = [String: CGFloat]() 24 | static var attributeFontSizetv = [String: CGFloat]() 25 | static var changeFontThroughOut: String = "" 26 | static var changeFontThroughOutIncremnt: CGFloat = 0.0 27 | static var changeFontThroughOutTypes: [AVFontsView] = [] 28 | static var checkFont: Bool = false 29 | } 30 | 31 | // MARK: - 32 | // MARK: - Change Fonts 33 | extension AVFonts { 34 | public class func changeFont(toFont: String) { 35 | changeFontThroughOut = toFont 36 | changeFontThroughOutTypes = [.button, 37 | .label, 38 | .textfield, 39 | .textview] 40 | } 41 | 42 | public class func changeFont(toFont: String, _ types: [AVFontsView]) { 43 | changeFontThroughOut = toFont 44 | changeFontThroughOutTypes = types 45 | } 46 | 47 | public class func changeFont(toFont: String, increment: CGFloat) { 48 | changeFontThroughOut = toFont 49 | changeFontThroughOutTypes = [.button, 50 | .label, 51 | .textfield, 52 | .textview] 53 | changeFontThroughOutIncremnt = increment 54 | } 55 | 56 | public class func changeFont(toFont: String, _ types: [AVFontsView], increment: CGFloat) { 57 | 58 | changeFontThroughOut = toFont 59 | changeFontThroughOutIncremnt = increment 60 | changeFontThroughOutTypes = types 61 | } 62 | } 63 | 64 | // MARK: - 65 | // MARK: - Swap Fonts 66 | extension AVFonts { 67 | public class func swapFont(currentFont: String, toFont: String) { 68 | if currentFont == toFont { 69 | return 70 | } 71 | AVFonts.swapFont(currentFont: currentFont, 72 | toFont: toFont, 73 | [.button, .label, .textfield, .textview]) 74 | } 75 | 76 | public class func swapFont(currentFont: String, toFont: String, _ types: [AVFontsView]) { 77 | if currentFont == toFont { 78 | return 79 | } 80 | for type in types { 81 | switch type { 82 | case .label: 83 | self.attributeFontLbl[currentFont] = toFont 84 | break 85 | case .button: 86 | self.attributeFontbtn[currentFont] = toFont 87 | break 88 | case .textfield: 89 | self.attributeFonttf[currentFont] = toFont 90 | break 91 | case .textview: 92 | self.attributeFonttv[currentFont] = toFont 93 | break 94 | } 95 | } 96 | } 97 | 98 | public class func swapFont(currentFont: String, toFont: String, increment: CGFloat) { 99 | if currentFont == toFont { 100 | return 101 | } 102 | attributeFontSizeLabel[currentFont] = increment 103 | attributeFontSizetf[currentFont] = increment 104 | attributeFontSizeBtn[currentFont] = increment 105 | attributeFontSizetv[currentFont] = increment 106 | AVFonts.swapFont(currentFont: currentFont, 107 | toFont: toFont, 108 | [.button, .label, .textfield, .textview]) 109 | } 110 | 111 | public class func swapFont(currentFont: String, toFont: String, _ types: [AVFontsView], increment: CGFloat) { 112 | if currentFont == toFont { 113 | return 114 | } 115 | for type in types { 116 | switch type { 117 | case .label: attributeFontSizeLabel[currentFont] = increment 118 | case .button:attributeFontSizeBtn[currentFont] = increment 119 | case .textfield:attributeFontSizetf[currentFont] = increment 120 | case .textview:attributeFontSizetv[currentFont] = increment 121 | } 122 | } 123 | AVFonts.swapFont(currentFont: currentFont, toFont: toFont, types) 124 | } 125 | } 126 | 127 | // MARK: - 128 | // MARK: - Apply Fonts 129 | extension AVFonts { 130 | public class func applyAVFonts() { 131 | MethodSwizzleGivenClassName(cls: UILabel.self, originalSelector: #selector(UILabel.layoutSubviews), overrideSelector: #selector(UILabel.customFontLayoutSubviews)) 132 | MethodSwizzleGivenClassName(cls: UITextView.self, originalSelector: #selector(UITextView.layoutSubviews), overrideSelector: #selector(UITextView.customFontLayoutSubviews)) 133 | MethodSwizzleGivenClassName(cls: UITextField.self, originalSelector: #selector(UITextField.layoutSubviews), overrideSelector: #selector(UITextField.customFontLayoutSubviews)) 134 | MethodSwizzleGivenClassName(cls: UIButton.self, originalSelector: #selector(UIButton.layoutSubviews), overrideSelector: #selector(UIButton.customFontLayoutSubviews)) 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /AVFonts/Classes/AVLabelExtension.swift: -------------------------------------------------------------------------------- 1 | // * AVLabelExtension.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | extension UILabel { 10 | @objc public func customFontLayoutSubviews() { 11 | self.customFontLayoutSubviews() 12 | if AVFonts.checkFont == false { 13 | if AVFonts.changeFontThroughOut.count > 1 { 14 | if self.font.fontName != AVFonts.changeFontThroughOut { 15 | if AVFonts.changeFontThroughOutTypes.contains(.label) { 16 | let font = self.font.fontName 17 | self.font = UIFont(name: AVFonts.changeFontThroughOut, size: self.font.pointSize + AVFonts.changeFontThroughOutIncremnt) 18 | if font == self.font.fontName { 19 | AVFonts.checkFont = true 20 | } 21 | } 22 | } 23 | } else 24 | if AVFonts.attributeFontLbl[self.font.fontName] != nil { 25 | if AVFonts.attributeFontSizeLabel[self.font.fontName] != nil { 26 | let fontSize = self.font.pointSize + AVFonts.attributeFontSizeLabel[self.font.fontName]! 27 | self.font = UIFont(name: AVFonts.attributeFontLbl[self.font.fontName]!, size: fontSize) 28 | } else { 29 | self.font = UIFont(name: AVFonts.attributeFontLbl[self.font.fontName]!, size: self.font.pointSize) 30 | } 31 | } 32 | } else { 33 | print("You entered an invalid Font Name .Please check your font name") 34 | } 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /AVFonts/Classes/AVTextViewExtension.swift: -------------------------------------------------------------------------------- 1 | // * AVTextViewExtension.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | extension UITextView { 10 | @objc public func customFontLayoutSubviews() { 11 | self.customFontLayoutSubviews() 12 | if AVFonts.changeFontThroughOut.count > 1 { 13 | if self.font?.fontName != AVFonts.changeFontThroughOut { 14 | if AVFonts.changeFontThroughOutTypes.contains(.textview) { 15 | self.font = UIFont(name: AVFonts.changeFontThroughOut, size: (self.font?.pointSize)! + AVFonts.changeFontThroughOutIncremnt) 16 | } 17 | } 18 | } else if AVFonts.attributeFonttv[self.font?.fontName ?? ""] != nil { 19 | if AVFonts.attributeFontSizetv[self.font?.fontName ?? ""] != nil { 20 | let fontSize = (self.font?.pointSize ?? 0) + AVFonts.attributeFontSizetv[self.font?.fontName ?? ""]! 21 | self.font = UIFont(name: AVFonts.attributeFonttv[self.font?.fontName ?? ""]!, size: fontSize) 22 | } else { 23 | self.font = UIFont(name: AVFonts.attributeFonttv[self.font?.fontName ?? ""]!, size: (self.font?.pointSize ?? 0)) 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /AVFonts/Classes/AVTextfieldExtension.swift: -------------------------------------------------------------------------------- 1 | // * AVTextFieldExtension.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | extension UITextField { 10 | 11 | @objc public func customFontLayoutSubviews() { 12 | self.customFontLayoutSubviews() 13 | if AVFonts.changeFontThroughOut.count > 1 { 14 | if self.font?.fontName != AVFonts.changeFontThroughOut { 15 | if AVFonts.changeFontThroughOutTypes.contains(.textfield) { 16 | self.font = UIFont(name: AVFonts.changeFontThroughOut, size: (self.font?.pointSize)! + AVFonts.changeFontThroughOutIncremnt) 17 | } 18 | } 19 | } else if AVFonts.attributeFonttf[(self.font?.fontName) ?? ""] != nil { 20 | if AVFonts.attributeFontSizetf[(self.font?.fontName) ?? ""] != nil { 21 | 22 | let fontSize = ((self.font?.pointSize) ?? 0) + AVFonts.attributeFontSizetf[(self.font?.fontName) ?? ""]! 23 | self.font = UIFont(name: AVFonts.attributeFonttf[(self.font?.fontName) ?? ""]!, size: fontSize) 24 | } else { 25 | self.font = UIFont(name: AVFonts.attributeFonttf[(self.font?.fontName) ?? ""]!, size: (self.font?.pointSize) ?? 0) 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /AVFonts/Classes/MethodSwizzler.swift: -------------------------------------------------------------------------------- 1 | // * AVSwizzler.swift 2 | // * AVFonts 3 | // * Created by Arnav Gupta on 7/31/17. 4 | // *Copyright © 2017 Arnav. All rights reserved. 5 | 6 | import Foundation 7 | import UIKit 8 | 9 | func MethodSwizzleGivenClassName(cls: AnyClass, originalSelector: Selector, overrideSelector: Selector) { 10 | guard let origMethod = class_getInstanceMethod(cls, originalSelector), let overrideMethod = class_getInstanceMethod(cls, overrideSelector) else { return } 11 | if class_addMethod(cls, originalSelector, method_getImplementation(overrideMethod), method_getTypeEncoding(overrideMethod)) { 12 | class_replaceMethod(cls, overrideSelector, method_getImplementation(origMethod), method_getTypeEncoding(origMethod)) 13 | } else { 14 | method_exchangeImplementations(origMethod, overrideMethod) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /AVFonts2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arnavgupta180/AVFonts/8fff311b88dff6822dd6755d3153bdbe89269e1e/AVFonts2.gif -------------------------------------------------------------------------------- /Example/AVFonts.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 482F1E252E9914468F54FE98 /* Pods_AVFonts_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9FCA4E84FB835D2C49CDBDF /* Pods_AVFonts_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 1934AAD1854ED4C9A610CB65 /* Pods_AVFonts_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AVFonts_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 314337E22A21F7C8C7A0A0BB /* Pods-AVFonts_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AVFonts_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests.release.xcconfig"; sourceTree = ""; }; 21 | 531B6CB6F1853917693A9C2F /* Pods-AVFonts_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AVFonts_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.release.xcconfig"; sourceTree = ""; }; 22 | 607FACD01AFB9204008FA782 /* AVFonts_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AVFonts_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 24 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 25 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 26 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 28 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 29 | 9E2CCD38F2FB1E6F831035C7 /* Pods-AVFonts_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AVFonts_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests.debug.xcconfig"; sourceTree = ""; }; 30 | A529AF3B13B2E5B10F3952B8 /* Pods-AVFonts_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AVFonts_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.debug.xcconfig"; sourceTree = ""; }; 31 | B08B2186AF8D1EE385FBB54E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 32 | B631C142CE4ACC6FD1D5E9FB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 33 | D6EA5C8531FB8B95919751BC /* AVFonts.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AVFonts.podspec; path = ../AVFonts.podspec; sourceTree = ""; }; 34 | E9FCA4E84FB835D2C49CDBDF /* Pods_AVFonts_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AVFonts_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | 482F1E252E9914468F54FE98 /* Pods_AVFonts_Example.framework in Frameworks */, 43 | ); 44 | runOnlyForDeploymentPostprocessing = 0; 45 | }; 46 | /* End PBXFrameworksBuildPhase section */ 47 | 48 | /* Begin PBXGroup section */ 49 | 607FACC71AFB9204008FA782 = { 50 | isa = PBXGroup; 51 | children = ( 52 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 53 | 607FACD21AFB9204008FA782 /* Example for AVFonts */, 54 | 607FACD11AFB9204008FA782 /* Products */, 55 | 8FF1E12514A17F440674530A /* Pods */, 56 | 8DB790A83E125A2C41D4D752 /* Frameworks */, 57 | ); 58 | sourceTree = ""; 59 | }; 60 | 607FACD11AFB9204008FA782 /* Products */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 607FACD01AFB9204008FA782 /* AVFonts_Example.app */, 64 | ); 65 | name = Products; 66 | sourceTree = ""; 67 | }; 68 | 607FACD21AFB9204008FA782 /* Example for AVFonts */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 72 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 73 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 74 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 75 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 76 | 607FACD31AFB9204008FA782 /* Supporting Files */, 77 | ); 78 | name = "Example for AVFonts"; 79 | path = AVFonts; 80 | sourceTree = ""; 81 | }; 82 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 607FACD41AFB9204008FA782 /* Info.plist */, 86 | ); 87 | name = "Supporting Files"; 88 | sourceTree = ""; 89 | }; 90 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | D6EA5C8531FB8B95919751BC /* AVFonts.podspec */, 94 | B631C142CE4ACC6FD1D5E9FB /* README.md */, 95 | B08B2186AF8D1EE385FBB54E /* LICENSE */, 96 | ); 97 | name = "Podspec Metadata"; 98 | sourceTree = ""; 99 | }; 100 | 8DB790A83E125A2C41D4D752 /* Frameworks */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | E9FCA4E84FB835D2C49CDBDF /* Pods_AVFonts_Example.framework */, 104 | 1934AAD1854ED4C9A610CB65 /* Pods_AVFonts_Tests.framework */, 105 | ); 106 | name = Frameworks; 107 | sourceTree = ""; 108 | }; 109 | 8FF1E12514A17F440674530A /* Pods */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | A529AF3B13B2E5B10F3952B8 /* Pods-AVFonts_Example.debug.xcconfig */, 113 | 531B6CB6F1853917693A9C2F /* Pods-AVFonts_Example.release.xcconfig */, 114 | 9E2CCD38F2FB1E6F831035C7 /* Pods-AVFonts_Tests.debug.xcconfig */, 115 | 314337E22A21F7C8C7A0A0BB /* Pods-AVFonts_Tests.release.xcconfig */, 116 | ); 117 | name = Pods; 118 | sourceTree = ""; 119 | }; 120 | /* End PBXGroup section */ 121 | 122 | /* Begin PBXNativeTarget section */ 123 | 607FACCF1AFB9204008FA782 /* AVFonts_Example */ = { 124 | isa = PBXNativeTarget; 125 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AVFonts_Example" */; 126 | buildPhases = ( 127 | A0CC18E5A1D57240CE49FB98 /* [CP] Check Pods Manifest.lock */, 128 | 607FACCC1AFB9204008FA782 /* Sources */, 129 | 607FACCD1AFB9204008FA782 /* Frameworks */, 130 | 607FACCE1AFB9204008FA782 /* Resources */, 131 | B244657A9E753BF03C68BA82 /* [CP] Embed Pods Frameworks */, 132 | CB8A86AAEB0E0845B066CDE5 /* [CP] Copy Pods Resources */, 133 | ); 134 | buildRules = ( 135 | ); 136 | dependencies = ( 137 | ); 138 | name = AVFonts_Example; 139 | productName = AVFonts; 140 | productReference = 607FACD01AFB9204008FA782 /* AVFonts_Example.app */; 141 | productType = "com.apple.product-type.application"; 142 | }; 143 | /* End PBXNativeTarget section */ 144 | 145 | /* Begin PBXProject section */ 146 | 607FACC81AFB9204008FA782 /* Project object */ = { 147 | isa = PBXProject; 148 | attributes = { 149 | LastSwiftUpdateCheck = 0720; 150 | LastUpgradeCheck = 1020; 151 | ORGANIZATIONNAME = CocoaPods; 152 | TargetAttributes = { 153 | 607FACCF1AFB9204008FA782 = { 154 | CreatedOnToolsVersion = 6.3.1; 155 | LastSwiftMigration = 0820; 156 | }; 157 | }; 158 | }; 159 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AVFonts" */; 160 | compatibilityVersion = "Xcode 3.2"; 161 | developmentRegion = en; 162 | hasScannedForEncodings = 0; 163 | knownRegions = ( 164 | en, 165 | Base, 166 | ); 167 | mainGroup = 607FACC71AFB9204008FA782; 168 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 169 | projectDirPath = ""; 170 | projectRoot = ""; 171 | targets = ( 172 | 607FACCF1AFB9204008FA782 /* AVFonts_Example */, 173 | ); 174 | }; 175 | /* End PBXProject section */ 176 | 177 | /* Begin PBXResourcesBuildPhase section */ 178 | 607FACCE1AFB9204008FA782 /* Resources */ = { 179 | isa = PBXResourcesBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 183 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 184 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 185 | ); 186 | runOnlyForDeploymentPostprocessing = 0; 187 | }; 188 | /* End PBXResourcesBuildPhase section */ 189 | 190 | /* Begin PBXShellScriptBuildPhase section */ 191 | A0CC18E5A1D57240CE49FB98 /* [CP] Check Pods Manifest.lock */ = { 192 | isa = PBXShellScriptBuildPhase; 193 | buildActionMask = 2147483647; 194 | files = ( 195 | ); 196 | inputPaths = ( 197 | ); 198 | name = "[CP] Check Pods Manifest.lock"; 199 | outputPaths = ( 200 | ); 201 | runOnlyForDeploymentPostprocessing = 0; 202 | shellPath = /bin/sh; 203 | 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"; 204 | showEnvVarsInLog = 0; 205 | }; 206 | B244657A9E753BF03C68BA82 /* [CP] Embed Pods Frameworks */ = { 207 | isa = PBXShellScriptBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | ); 211 | inputPaths = ( 212 | ); 213 | name = "[CP] Embed Pods Frameworks"; 214 | outputPaths = ( 215 | ); 216 | runOnlyForDeploymentPostprocessing = 0; 217 | shellPath = /bin/sh; 218 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-frameworks.sh\"\n"; 219 | showEnvVarsInLog = 0; 220 | }; 221 | CB8A86AAEB0E0845B066CDE5 /* [CP] Copy Pods Resources */ = { 222 | isa = PBXShellScriptBuildPhase; 223 | buildActionMask = 2147483647; 224 | files = ( 225 | ); 226 | inputPaths = ( 227 | ); 228 | name = "[CP] Copy Pods Resources"; 229 | outputPaths = ( 230 | ); 231 | runOnlyForDeploymentPostprocessing = 0; 232 | shellPath = /bin/sh; 233 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-resources.sh\"\n"; 234 | showEnvVarsInLog = 0; 235 | }; 236 | /* End PBXShellScriptBuildPhase section */ 237 | 238 | /* Begin PBXSourcesBuildPhase section */ 239 | 607FACCC1AFB9204008FA782 /* Sources */ = { 240 | isa = PBXSourcesBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 244 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 607FACDA1AFB9204008FA782 /* Base */, 255 | ); 256 | name = Main.storyboard; 257 | sourceTree = ""; 258 | }; 259 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 260 | isa = PBXVariantGroup; 261 | children = ( 262 | 607FACDF1AFB9204008FA782 /* Base */, 263 | ); 264 | name = LaunchScreen.xib; 265 | sourceTree = ""; 266 | }; 267 | /* End PBXVariantGroup section */ 268 | 269 | /* Begin XCBuildConfiguration section */ 270 | 607FACED1AFB9204008FA782 /* Debug */ = { 271 | isa = XCBuildConfiguration; 272 | buildSettings = { 273 | ALWAYS_SEARCH_USER_PATHS = NO; 274 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 275 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 276 | CLANG_CXX_LIBRARY = "libc++"; 277 | CLANG_ENABLE_MODULES = YES; 278 | CLANG_ENABLE_OBJC_ARC = YES; 279 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 280 | CLANG_WARN_BOOL_CONVERSION = YES; 281 | CLANG_WARN_COMMA = YES; 282 | CLANG_WARN_CONSTANT_CONVERSION = YES; 283 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 284 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 285 | CLANG_WARN_EMPTY_BODY = YES; 286 | CLANG_WARN_ENUM_CONVERSION = YES; 287 | CLANG_WARN_INFINITE_RECURSION = YES; 288 | CLANG_WARN_INT_CONVERSION = YES; 289 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 290 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 291 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 292 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 293 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 294 | CLANG_WARN_STRICT_PROTOTYPES = YES; 295 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 296 | CLANG_WARN_UNREACHABLE_CODE = YES; 297 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 298 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 299 | COPY_PHASE_STRIP = NO; 300 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 301 | ENABLE_STRICT_OBJC_MSGSEND = YES; 302 | ENABLE_TESTABILITY = YES; 303 | GCC_C_LANGUAGE_STANDARD = gnu99; 304 | GCC_DYNAMIC_NO_PIC = NO; 305 | GCC_NO_COMMON_BLOCKS = YES; 306 | GCC_OPTIMIZATION_LEVEL = 0; 307 | GCC_PREPROCESSOR_DEFINITIONS = ( 308 | "DEBUG=1", 309 | "$(inherited)", 310 | ); 311 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 312 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 313 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 314 | GCC_WARN_UNDECLARED_SELECTOR = YES; 315 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 316 | GCC_WARN_UNUSED_FUNCTION = YES; 317 | GCC_WARN_UNUSED_VARIABLE = YES; 318 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 319 | MTL_ENABLE_DEBUG_INFO = YES; 320 | ONLY_ACTIVE_ARCH = YES; 321 | SDKROOT = iphoneos; 322 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 323 | }; 324 | name = Debug; 325 | }; 326 | 607FACEE1AFB9204008FA782 /* Release */ = { 327 | isa = XCBuildConfiguration; 328 | buildSettings = { 329 | ALWAYS_SEARCH_USER_PATHS = NO; 330 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 331 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 332 | CLANG_CXX_LIBRARY = "libc++"; 333 | CLANG_ENABLE_MODULES = YES; 334 | CLANG_ENABLE_OBJC_ARC = YES; 335 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 336 | CLANG_WARN_BOOL_CONVERSION = YES; 337 | CLANG_WARN_COMMA = YES; 338 | CLANG_WARN_CONSTANT_CONVERSION = YES; 339 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 340 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 341 | CLANG_WARN_EMPTY_BODY = YES; 342 | CLANG_WARN_ENUM_CONVERSION = YES; 343 | CLANG_WARN_INFINITE_RECURSION = YES; 344 | CLANG_WARN_INT_CONVERSION = YES; 345 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 346 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 347 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 348 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 349 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 350 | CLANG_WARN_STRICT_PROTOTYPES = YES; 351 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 352 | CLANG_WARN_UNREACHABLE_CODE = YES; 353 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 354 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 355 | COPY_PHASE_STRIP = NO; 356 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 357 | ENABLE_NS_ASSERTIONS = NO; 358 | ENABLE_STRICT_OBJC_MSGSEND = YES; 359 | GCC_C_LANGUAGE_STANDARD = gnu99; 360 | GCC_NO_COMMON_BLOCKS = YES; 361 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 362 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 363 | GCC_WARN_UNDECLARED_SELECTOR = YES; 364 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 365 | GCC_WARN_UNUSED_FUNCTION = YES; 366 | GCC_WARN_UNUSED_VARIABLE = YES; 367 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 368 | MTL_ENABLE_DEBUG_INFO = NO; 369 | SDKROOT = iphoneos; 370 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 371 | VALIDATE_PRODUCT = YES; 372 | }; 373 | name = Release; 374 | }; 375 | 607FACF01AFB9204008FA782 /* Debug */ = { 376 | isa = XCBuildConfiguration; 377 | baseConfigurationReference = A529AF3B13B2E5B10F3952B8 /* Pods-AVFonts_Example.debug.xcconfig */; 378 | buildSettings = { 379 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 380 | INFOPLIST_FILE = AVFonts/Info.plist; 381 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 382 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 383 | MODULE_NAME = ExampleApp; 384 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 385 | PRODUCT_NAME = "$(TARGET_NAME)"; 386 | SWIFT_VERSION = 5.0; 387 | }; 388 | name = Debug; 389 | }; 390 | 607FACF11AFB9204008FA782 /* Release */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = 531B6CB6F1853917693A9C2F /* Pods-AVFonts_Example.release.xcconfig */; 393 | buildSettings = { 394 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 395 | INFOPLIST_FILE = AVFonts/Info.plist; 396 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 398 | MODULE_NAME = ExampleApp; 399 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 400 | PRODUCT_NAME = "$(TARGET_NAME)"; 401 | SWIFT_VERSION = 5.0; 402 | }; 403 | name = Release; 404 | }; 405 | /* End XCBuildConfiguration section */ 406 | 407 | /* Begin XCConfigurationList section */ 408 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AVFonts" */ = { 409 | isa = XCConfigurationList; 410 | buildConfigurations = ( 411 | 607FACED1AFB9204008FA782 /* Debug */, 412 | 607FACEE1AFB9204008FA782 /* Release */, 413 | ); 414 | defaultConfigurationIsVisible = 0; 415 | defaultConfigurationName = Release; 416 | }; 417 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AVFonts_Example" */ = { 418 | isa = XCConfigurationList; 419 | buildConfigurations = ( 420 | 607FACF01AFB9204008FA782 /* Debug */, 421 | 607FACF11AFB9204008FA782 /* Release */, 422 | ); 423 | defaultConfigurationIsVisible = 0; 424 | defaultConfigurationName = Release; 425 | }; 426 | /* End XCConfigurationList section */ 427 | }; 428 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 429 | } 430 | -------------------------------------------------------------------------------- /Example/AVFonts.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AVFonts.xcodeproj/xcshareddata/xcschemes/AVFonts-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/AVFonts.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AVFonts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/AVFonts/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AVFonts 4 | // 5 | // Created by Arnav on 08/06/2017. 6 | // Copyright (c) 2017 Arnav. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AVFonts 11 | 12 | @UIApplicationMain 13 | class AppDelegate: UIResponder, UIApplicationDelegate { 14 | var window: UIWindow? 15 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 16 | // Override point for customization after application launch. 17 | AVFonts.changeFont(toFont: "Avenir-Heavy") 18 | AVFonts.applyAVFonts() 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // 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. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // 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. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // 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. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Example/AVFonts/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/AVFonts/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 31 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 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 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /Example/AVFonts/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/AVFonts/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/AVFonts/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AVFonts 4 | // 5 | // Created by Arnav on 08/06/2017. 6 | // Copyright (c) 2017 Arnav. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | // MARK: - IBOutlets 13 | @IBOutlet weak var tfName: UITextField! 14 | @IBOutlet weak var tfEmail: UITextField! 15 | @IBOutlet weak var tfPassword: UITextField! 16 | @IBOutlet weak var btnLogin: UIButton! 17 | } 18 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AVFonts_Example' do 4 | pod 'AVFonts', :path => '../' 5 | 6 | target 'AVFonts_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AVFonts (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AVFonts (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AVFonts: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | AVFonts: ea46bbda4d6ac2e7c7cd6799bbb6173c10778874 13 | 14 | PODFILE CHECKSUM: 959317817d8b45df181b1ef7c684ed501891677c 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AVFonts.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AVFonts", 3 | "version": "0.1.0", 4 | "summary": "AVFonts is for doing anything you want to do with fonts throuhout app.", 5 | "description": "AVFonts is for swaping the font you are using with the new font throughout the app.You can increment or decrement your fontsize as per your reqiurements otherwise it will take the fontsize you are using for your old font", 6 | "homepage": "https://github.com/codegeeker180/AVFonts", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Arnav": "arnavgupta180@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/codegeeker180/AVFonts.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "AVFonts/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AVFonts (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AVFonts (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AVFonts: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | AVFonts: ea46bbda4d6ac2e7c7cd6799bbb6173c10778874 13 | 14 | PODFILE CHECKSUM: 959317817d8b45df181b1ef7c684ed501891677c 15 | 16 | COCOAPODS: 1.2.1 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 | 03956F8284F6265A54E82A257A91B444 /* Pods-AVFonts_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AF612CDE4A1D1083FB009423222F33D9 /* Pods-AVFonts_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 4A54471BB05963E8FDE16D2B6A1080E3 /* AVFonts-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 93BCAED155475654732F91BEEC727A43 /* AVFonts-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 7CC42A3DB434FBCAE112F0A5ECE14E80 /* AVFonts-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 18A4F53D5B4830E86A77E609F641DEB8 /* AVFonts-dummy.m */; }; 13 | 84F12C9AAD1FBC077A4704A24387DD4E /* Pods-AVFonts_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBBA3EBCDD057D246A3A6ECDEBC7B9 /* Pods-AVFonts_Example-dummy.m */; }; 14 | 87A121DAA9DA5F95E1631883D496EC4B /* AVTextViewExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 826AA0BD6B1ABE7AAB7D8DC2C51F55DB /* AVTextViewExtension.swift */; }; 15 | 8E4AC92B3481DF19C7B2C918E22AE1E6 /* AVLabelExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F43516C40DA0C909803EB1DB18E5623 /* AVLabelExtension.swift */; }; 16 | 9A2DEEDE6BB0FD0A45E7103947AC86EF /* AVFonts.swift in Sources */ = {isa = PBXBuildFile; fileRef = D60DA04171DBE1C7BF4C769B21BD421C /* AVFonts.swift */; }; 17 | A78D3337FF5200087371EFC6FA5FE41D /* MethodSwizzler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6A755EC9B1E0F1031BEE15719598741 /* MethodSwizzler.swift */; }; 18 | BF525A23F6D00A46B5708BF703E1BEAC /* AVButtonExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DCD07533F5CF6C3CCB71546E5260B9C /* AVButtonExtension.swift */; }; 19 | CA7C1B71AF61801FB84A09E0AA4094E2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 20 | E597076E6CF38C05449DE059665CFC0D /* AVTextfieldExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E56B11344F4A0554056EB33C9D980A1 /* AVTextfieldExtension.swift */; }; 21 | EFF715C7A11EA48E332C13EA959D1FA6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | EEEDC9E5804E1482CCBF6810F024B4DD /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = AC0D59A600097D36D5E7564EBB0106E9; 30 | remoteInfo = AVFonts; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 18A4F53D5B4830E86A77E609F641DEB8 /* AVFonts-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AVFonts-dummy.m"; sourceTree = ""; }; 36 | 197FF9ADD27489E3685F54F91BDA4518 /* Pods-AVFonts_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AVFonts_Example-resources.sh"; sourceTree = ""; }; 37 | 1E56B11344F4A0554056EB33C9D980A1 /* AVTextfieldExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AVTextfieldExtension.swift; sourceTree = ""; }; 38 | 29949A78FF633CAA97E2F7890BA3B956 /* AVFonts.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AVFonts.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 4DCD07533F5CF6C3CCB71546E5260B9C /* AVButtonExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AVButtonExtension.swift; sourceTree = ""; }; 40 | 51B9E8C01C5F3B7A1473F39B0DAA9163 /* Pods-AVFonts_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-AVFonts_Example.modulemap"; sourceTree = ""; }; 41 | 5C3B3B8E1D378894DD0562EEABA45445 /* Pods-AVFonts_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AVFonts_Example.debug.xcconfig"; sourceTree = ""; }; 42 | 5F3F2E61D25A82EF854CE326236A2CC6 /* Pods-AVFonts_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-AVFonts_Tests.modulemap"; sourceTree = ""; }; 43 | 630677D4A3197B152DAD4BBD543C8649 /* Pods-AVFonts_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AVFonts_Example.release.xcconfig"; sourceTree = ""; }; 44 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 45 | 68DE8DCCD115D8CABAA0666948E6C911 /* Pods-AVFonts_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AVFonts_Tests-resources.sh"; sourceTree = ""; }; 46 | 826AA0BD6B1ABE7AAB7D8DC2C51F55DB /* AVTextViewExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AVTextViewExtension.swift; sourceTree = ""; }; 47 | 90BBBA3EBCDD057D246A3A6ECDEBC7B9 /* Pods-AVFonts_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AVFonts_Example-dummy.m"; sourceTree = ""; }; 48 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | 93BCAED155475654732F91BEEC727A43 /* AVFonts-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AVFonts-umbrella.h"; sourceTree = ""; }; 50 | 9A44EC41B49007313EC76CBB627B907F /* Pods-AVFonts_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AVFonts_Example-frameworks.sh"; sourceTree = ""; }; 51 | 9B2D21B181961991CFCD56EA7F79FE8D /* Pods-AVFonts_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AVFonts_Tests.debug.xcconfig"; sourceTree = ""; }; 52 | 9C5E618E9C9820B135827932E9BEBD53 /* Pods-AVFonts_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AVFonts_Tests-dummy.m"; sourceTree = ""; }; 53 | 9EA18A39CEEF3E36F011ECEBF887960C /* AVFonts-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AVFonts-prefix.pch"; sourceTree = ""; }; 54 | 9F43516C40DA0C909803EB1DB18E5623 /* AVLabelExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AVLabelExtension.swift; sourceTree = ""; }; 55 | A6A755EC9B1E0F1031BEE15719598741 /* MethodSwizzler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MethodSwizzler.swift; sourceTree = ""; }; 56 | ABDB1F0CEE15D50ACA3140BBFB81F46B /* Pods-AVFonts_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AVFonts_Tests-acknowledgements.markdown"; sourceTree = ""; }; 57 | AF612CDE4A1D1083FB009423222F33D9 /* Pods-AVFonts_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AVFonts_Example-umbrella.h"; sourceTree = ""; }; 58 | B087092C4B9A5C20AB51290CF8FA68DF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | B38DDAD3CCEA906E91BA5A757155BDF9 /* AVFonts.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AVFonts.xcconfig; sourceTree = ""; }; 60 | B69D4428065FD2DE9CF06FB6ACB2BA16 /* Pods-AVFonts_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AVFonts_Tests-acknowledgements.plist"; sourceTree = ""; }; 61 | BB4B4BC4F5165FBA70632C4F60DFCFBD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | C509960024C428C8D84D7BAC67C9ED75 /* Pods-AVFonts_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AVFonts_Example-acknowledgements.plist"; sourceTree = ""; }; 63 | D361383F55C514A006D2733DA07C7535 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 64 | D60DA04171DBE1C7BF4C769B21BD421C /* AVFonts.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AVFonts.swift; sourceTree = ""; }; 65 | D7E91E877FF1B261F95CECF324010925 /* Pods-AVFonts_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AVFonts_Tests.release.xcconfig"; sourceTree = ""; }; 66 | D8E919288302A976E360A6A1D46DCB2F /* Pods_AVFonts_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AVFonts_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | E0A8E47BF49CFE7B587C3AC59A37563C /* AVFonts.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = AVFonts.modulemap; sourceTree = ""; }; 68 | E77061658ED847B04943CFDE5A8EEBF5 /* Pods-AVFonts_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AVFonts_Example-acknowledgements.markdown"; sourceTree = ""; }; 69 | F285FA6C87A937F6A213B8E2716F67B1 /* Pods-AVFonts_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AVFonts_Tests-umbrella.h"; sourceTree = ""; }; 70 | FF6D05ECA798557E3AF3929062606693 /* Pods-AVFonts_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AVFonts_Tests-frameworks.sh"; sourceTree = ""; }; 71 | /* End PBXFileReference section */ 72 | 73 | /* Begin PBXFrameworksBuildPhase section */ 74 | 4B53EB7518E20A0BA8638CEB2F7E25F7 /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | EFF715C7A11EA48E332C13EA959D1FA6 /* Foundation.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 96D27070CC2F972679E4D1AB1DFBCD2A /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | CA7C1B71AF61801FB84A09E0AA4094E2 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | /* End PBXFrameworksBuildPhase section */ 91 | 92 | /* Begin PBXGroup section */ 93 | 1377050670DE2B74188BA3A68750D273 /* AVFonts */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 983F2FB4BC72751EFC8C1D686C8812E7 /* Classes */, 97 | ); 98 | path = AVFonts; 99 | sourceTree = ""; 100 | }; 101 | 1FAF50E9A422F8931ECB1BEA3A44188A /* Development Pods */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 7E1A5C90AC1B41360335047509C55D15 /* AVFonts */, 105 | ); 106 | name = "Development Pods"; 107 | sourceTree = ""; 108 | }; 109 | 2AB7A8DCC88ED9CB28C49B65587DBC33 /* Pods-AVFonts_Example */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | D361383F55C514A006D2733DA07C7535 /* Info.plist */, 113 | 51B9E8C01C5F3B7A1473F39B0DAA9163 /* Pods-AVFonts_Example.modulemap */, 114 | E77061658ED847B04943CFDE5A8EEBF5 /* Pods-AVFonts_Example-acknowledgements.markdown */, 115 | C509960024C428C8D84D7BAC67C9ED75 /* Pods-AVFonts_Example-acknowledgements.plist */, 116 | 90BBBA3EBCDD057D246A3A6ECDEBC7B9 /* Pods-AVFonts_Example-dummy.m */, 117 | 9A44EC41B49007313EC76CBB627B907F /* Pods-AVFonts_Example-frameworks.sh */, 118 | 197FF9ADD27489E3685F54F91BDA4518 /* Pods-AVFonts_Example-resources.sh */, 119 | AF612CDE4A1D1083FB009423222F33D9 /* Pods-AVFonts_Example-umbrella.h */, 120 | 5C3B3B8E1D378894DD0562EEABA45445 /* Pods-AVFonts_Example.debug.xcconfig */, 121 | 630677D4A3197B152DAD4BBD543C8649 /* Pods-AVFonts_Example.release.xcconfig */, 122 | ); 123 | name = "Pods-AVFonts_Example"; 124 | path = "Target Support Files/Pods-AVFonts_Example"; 125 | sourceTree = ""; 126 | }; 127 | 6FF6F8868CC9F77A3052FBDA38198DC0 /* Products */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 29949A78FF633CAA97E2F7890BA3B956 /* AVFonts.framework */, 131 | D8E919288302A976E360A6A1D46DCB2F /* Pods_AVFonts_Example.framework */, 132 | ); 133 | name = Products; 134 | sourceTree = ""; 135 | }; 136 | 7DB346D0F39D3F0E887471402A8071AB = { 137 | isa = PBXGroup; 138 | children = ( 139 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 140 | 1FAF50E9A422F8931ECB1BEA3A44188A /* Development Pods */, 141 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 142 | 6FF6F8868CC9F77A3052FBDA38198DC0 /* Products */, 143 | DD2D1FD1F8757EAAAA7F719BCB1A2384 /* Targets Support Files */, 144 | ); 145 | sourceTree = ""; 146 | }; 147 | 7E1A5C90AC1B41360335047509C55D15 /* AVFonts */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 1377050670DE2B74188BA3A68750D273 /* AVFonts */, 151 | D27BD992375A5148753EE06D059B52A8 /* Support Files */, 152 | ); 153 | name = AVFonts; 154 | path = ../..; 155 | sourceTree = ""; 156 | }; 157 | 983F2FB4BC72751EFC8C1D686C8812E7 /* Classes */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | D60DA04171DBE1C7BF4C769B21BD421C /* AVFonts.swift */, 161 | 4DCD07533F5CF6C3CCB71546E5260B9C /* AVButtonExtension.swift */, 162 | 9F43516C40DA0C909803EB1DB18E5623 /* AVLabelExtension.swift */, 163 | 1E56B11344F4A0554056EB33C9D980A1 /* AVTextfieldExtension.swift */, 164 | 826AA0BD6B1ABE7AAB7D8DC2C51F55DB /* AVTextViewExtension.swift */, 165 | A6A755EC9B1E0F1031BEE15719598741 /* MethodSwizzler.swift */, 166 | ); 167 | path = Classes; 168 | sourceTree = ""; 169 | }; 170 | B9F18138E39D45AFB7A01111726FB842 /* Pods-AVFonts_Tests */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | B087092C4B9A5C20AB51290CF8FA68DF /* Info.plist */, 174 | 5F3F2E61D25A82EF854CE326236A2CC6 /* Pods-AVFonts_Tests.modulemap */, 175 | ABDB1F0CEE15D50ACA3140BBFB81F46B /* Pods-AVFonts_Tests-acknowledgements.markdown */, 176 | B69D4428065FD2DE9CF06FB6ACB2BA16 /* Pods-AVFonts_Tests-acknowledgements.plist */, 177 | 9C5E618E9C9820B135827932E9BEBD53 /* Pods-AVFonts_Tests-dummy.m */, 178 | FF6D05ECA798557E3AF3929062606693 /* Pods-AVFonts_Tests-frameworks.sh */, 179 | 68DE8DCCD115D8CABAA0666948E6C911 /* Pods-AVFonts_Tests-resources.sh */, 180 | F285FA6C87A937F6A213B8E2716F67B1 /* Pods-AVFonts_Tests-umbrella.h */, 181 | 9B2D21B181961991CFCD56EA7F79FE8D /* Pods-AVFonts_Tests.debug.xcconfig */, 182 | D7E91E877FF1B261F95CECF324010925 /* Pods-AVFonts_Tests.release.xcconfig */, 183 | ); 184 | name = "Pods-AVFonts_Tests"; 185 | path = "Target Support Files/Pods-AVFonts_Tests"; 186 | sourceTree = ""; 187 | }; 188 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 192 | ); 193 | name = Frameworks; 194 | sourceTree = ""; 195 | }; 196 | D27BD992375A5148753EE06D059B52A8 /* Support Files */ = { 197 | isa = PBXGroup; 198 | children = ( 199 | E0A8E47BF49CFE7B587C3AC59A37563C /* AVFonts.modulemap */, 200 | B38DDAD3CCEA906E91BA5A757155BDF9 /* AVFonts.xcconfig */, 201 | 18A4F53D5B4830E86A77E609F641DEB8 /* AVFonts-dummy.m */, 202 | 9EA18A39CEEF3E36F011ECEBF887960C /* AVFonts-prefix.pch */, 203 | 93BCAED155475654732F91BEEC727A43 /* AVFonts-umbrella.h */, 204 | BB4B4BC4F5165FBA70632C4F60DFCFBD /* Info.plist */, 205 | ); 206 | name = "Support Files"; 207 | path = "Example/Pods/Target Support Files/AVFonts"; 208 | sourceTree = ""; 209 | }; 210 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 214 | ); 215 | name = iOS; 216 | sourceTree = ""; 217 | }; 218 | DD2D1FD1F8757EAAAA7F719BCB1A2384 /* Targets Support Files */ = { 219 | isa = PBXGroup; 220 | children = ( 221 | 2AB7A8DCC88ED9CB28C49B65587DBC33 /* Pods-AVFonts_Example */, 222 | B9F18138E39D45AFB7A01111726FB842 /* Pods-AVFonts_Tests */, 223 | ); 224 | name = "Targets Support Files"; 225 | sourceTree = ""; 226 | }; 227 | /* End PBXGroup section */ 228 | 229 | /* Begin PBXHeadersBuildPhase section */ 230 | 79F9BD4A463B1D1E69815C9EFEB5714D /* Headers */ = { 231 | isa = PBXHeadersBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | 03956F8284F6265A54E82A257A91B444 /* Pods-AVFonts_Example-umbrella.h in Headers */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | A476CB3A1BF4D685EA0A5991FCB84062 /* Headers */ = { 239 | isa = PBXHeadersBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 4A54471BB05963E8FDE16D2B6A1080E3 /* AVFonts-umbrella.h in Headers */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXHeadersBuildPhase section */ 247 | 248 | /* Begin PBXNativeTarget section */ 249 | 1D22B26382BEFC61257BC7226D579C8F /* Pods-AVFonts_Example */ = { 250 | isa = PBXNativeTarget; 251 | buildConfigurationList = 6C74F5156B4872E67EC45EBBA612A57B /* Build configuration list for PBXNativeTarget "Pods-AVFonts_Example" */; 252 | buildPhases = ( 253 | 4A561B42B3C028A8E2931FD2082F9390 /* Sources */, 254 | 4B53EB7518E20A0BA8638CEB2F7E25F7 /* Frameworks */, 255 | 79F9BD4A463B1D1E69815C9EFEB5714D /* Headers */, 256 | ); 257 | buildRules = ( 258 | ); 259 | dependencies = ( 260 | 0172743D99D6DAAE0168B54689623A6D /* PBXTargetDependency */, 261 | ); 262 | name = "Pods-AVFonts_Example"; 263 | productName = "Pods-AVFonts_Example"; 264 | productReference = D8E919288302A976E360A6A1D46DCB2F /* Pods_AVFonts_Example.framework */; 265 | productType = "com.apple.product-type.framework"; 266 | }; 267 | AC0D59A600097D36D5E7564EBB0106E9 /* AVFonts */ = { 268 | isa = PBXNativeTarget; 269 | buildConfigurationList = CFFF863677005F7D995234C75108A057 /* Build configuration list for PBXNativeTarget "AVFonts" */; 270 | buildPhases = ( 271 | 9EEE8BAF8D79292EA917BDAA8E0B49D4 /* Sources */, 272 | 96D27070CC2F972679E4D1AB1DFBCD2A /* Frameworks */, 273 | A476CB3A1BF4D685EA0A5991FCB84062 /* Headers */, 274 | ); 275 | buildRules = ( 276 | ); 277 | dependencies = ( 278 | ); 279 | name = AVFonts; 280 | productName = AVFonts; 281 | productReference = 29949A78FF633CAA97E2F7890BA3B956 /* AVFonts.framework */; 282 | productType = "com.apple.product-type.framework"; 283 | }; 284 | /* End PBXNativeTarget section */ 285 | 286 | /* Begin PBXProject section */ 287 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 288 | isa = PBXProject; 289 | attributes = { 290 | LastSwiftUpdateCheck = 0830; 291 | LastUpgradeCheck = 1020; 292 | }; 293 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 294 | compatibilityVersion = "Xcode 3.2"; 295 | developmentRegion = en; 296 | hasScannedForEncodings = 0; 297 | knownRegions = ( 298 | en, 299 | Base, 300 | ); 301 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 302 | productRefGroup = 6FF6F8868CC9F77A3052FBDA38198DC0 /* Products */; 303 | projectDirPath = ""; 304 | projectRoot = ""; 305 | targets = ( 306 | AC0D59A600097D36D5E7564EBB0106E9 /* AVFonts */, 307 | 1D22B26382BEFC61257BC7226D579C8F /* Pods-AVFonts_Example */, 308 | ); 309 | }; 310 | /* End PBXProject section */ 311 | 312 | /* Begin PBXSourcesBuildPhase section */ 313 | 4A561B42B3C028A8E2931FD2082F9390 /* Sources */ = { 314 | isa = PBXSourcesBuildPhase; 315 | buildActionMask = 2147483647; 316 | files = ( 317 | 84F12C9AAD1FBC077A4704A24387DD4E /* Pods-AVFonts_Example-dummy.m in Sources */, 318 | ); 319 | runOnlyForDeploymentPostprocessing = 0; 320 | }; 321 | 9EEE8BAF8D79292EA917BDAA8E0B49D4 /* Sources */ = { 322 | isa = PBXSourcesBuildPhase; 323 | buildActionMask = 2147483647; 324 | files = ( 325 | BF525A23F6D00A46B5708BF703E1BEAC /* AVButtonExtension.swift in Sources */, 326 | 7CC42A3DB434FBCAE112F0A5ECE14E80 /* AVFonts-dummy.m in Sources */, 327 | 9A2DEEDE6BB0FD0A45E7103947AC86EF /* AVFonts.swift in Sources */, 328 | 8E4AC92B3481DF19C7B2C918E22AE1E6 /* AVLabelExtension.swift in Sources */, 329 | E597076E6CF38C05449DE059665CFC0D /* AVTextfieldExtension.swift in Sources */, 330 | 87A121DAA9DA5F95E1631883D496EC4B /* AVTextViewExtension.swift in Sources */, 331 | A78D3337FF5200087371EFC6FA5FE41D /* MethodSwizzler.swift in Sources */, 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | }; 335 | /* End PBXSourcesBuildPhase section */ 336 | 337 | /* Begin PBXTargetDependency section */ 338 | 0172743D99D6DAAE0168B54689623A6D /* PBXTargetDependency */ = { 339 | isa = PBXTargetDependency; 340 | name = AVFonts; 341 | target = AC0D59A600097D36D5E7564EBB0106E9 /* AVFonts */; 342 | targetProxy = EEEDC9E5804E1482CCBF6810F024B4DD /* PBXContainerItemProxy */; 343 | }; 344 | /* End PBXTargetDependency section */ 345 | 346 | /* Begin XCBuildConfiguration section */ 347 | 0F3F85B46548E813F5FE9AAE606D5757 /* Release */ = { 348 | isa = XCBuildConfiguration; 349 | baseConfigurationReference = B38DDAD3CCEA906E91BA5A757155BDF9 /* AVFonts.xcconfig */; 350 | buildSettings = { 351 | CODE_SIGN_IDENTITY = ""; 352 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 353 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 354 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 355 | CURRENT_PROJECT_VERSION = 1; 356 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 357 | DEFINES_MODULE = YES; 358 | DYLIB_COMPATIBILITY_VERSION = 1; 359 | DYLIB_CURRENT_VERSION = 1; 360 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 361 | ENABLE_STRICT_OBJC_MSGSEND = YES; 362 | GCC_NO_COMMON_BLOCKS = YES; 363 | GCC_PREFIX_HEADER = "Target Support Files/AVFonts/AVFonts-prefix.pch"; 364 | INFOPLIST_FILE = "Target Support Files/AVFonts/Info.plist"; 365 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 366 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 368 | MODULEMAP_FILE = "Target Support Files/AVFonts/AVFonts.modulemap"; 369 | MTL_ENABLE_DEBUG_INFO = NO; 370 | PRODUCT_NAME = AVFonts; 371 | SDKROOT = iphoneos; 372 | SKIP_INSTALL = YES; 373 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 374 | SWIFT_VERSION = 5.0; 375 | TARGETED_DEVICE_FAMILY = "1,2"; 376 | VERSIONING_SYSTEM = "apple-generic"; 377 | VERSION_INFO_PREFIX = ""; 378 | }; 379 | name = Release; 380 | }; 381 | 3C5D810566EA720C16710738FBCB5EC0 /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | baseConfigurationReference = 630677D4A3197B152DAD4BBD543C8649 /* Pods-AVFonts_Example.release.xcconfig */; 384 | buildSettings = { 385 | CODE_SIGN_IDENTITY = ""; 386 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 387 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 388 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 389 | CURRENT_PROJECT_VERSION = 1; 390 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 391 | DEFINES_MODULE = YES; 392 | DYLIB_COMPATIBILITY_VERSION = 1; 393 | DYLIB_CURRENT_VERSION = 1; 394 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 395 | ENABLE_STRICT_OBJC_MSGSEND = YES; 396 | GCC_NO_COMMON_BLOCKS = YES; 397 | INFOPLIST_FILE = "Target Support Files/Pods-AVFonts_Example/Info.plist"; 398 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 399 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 400 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 401 | MACH_O_TYPE = staticlib; 402 | MODULEMAP_FILE = "Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.modulemap"; 403 | MTL_ENABLE_DEBUG_INFO = NO; 404 | OTHER_LDFLAGS = ""; 405 | OTHER_LIBTOOLFLAGS = ""; 406 | PODS_ROOT = "$(SRCROOT)"; 407 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 408 | PRODUCT_NAME = Pods_AVFonts_Example; 409 | SDKROOT = iphoneos; 410 | SKIP_INSTALL = YES; 411 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 412 | SWIFT_VERSION = 3.0; 413 | TARGETED_DEVICE_FAMILY = "1,2"; 414 | VERSIONING_SYSTEM = "apple-generic"; 415 | VERSION_INFO_PREFIX = ""; 416 | }; 417 | name = Release; 418 | }; 419 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ALWAYS_SEARCH_USER_PATHS = NO; 423 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 424 | CLANG_ANALYZER_NONNULL = YES; 425 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 426 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 427 | CLANG_CXX_LIBRARY = "libc++"; 428 | CLANG_ENABLE_MODULES = YES; 429 | CLANG_ENABLE_OBJC_ARC = YES; 430 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 431 | CLANG_WARN_BOOL_CONVERSION = YES; 432 | CLANG_WARN_COMMA = YES; 433 | CLANG_WARN_CONSTANT_CONVERSION = YES; 434 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 435 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 436 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 437 | CLANG_WARN_EMPTY_BODY = YES; 438 | CLANG_WARN_ENUM_CONVERSION = YES; 439 | CLANG_WARN_INFINITE_RECURSION = YES; 440 | CLANG_WARN_INT_CONVERSION = YES; 441 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 442 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 443 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 444 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 445 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 446 | CLANG_WARN_STRICT_PROTOTYPES = YES; 447 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 448 | CLANG_WARN_UNREACHABLE_CODE = YES; 449 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 450 | CODE_SIGNING_REQUIRED = NO; 451 | COPY_PHASE_STRIP = NO; 452 | ENABLE_STRICT_OBJC_MSGSEND = YES; 453 | ENABLE_TESTABILITY = YES; 454 | GCC_C_LANGUAGE_STANDARD = gnu99; 455 | GCC_DYNAMIC_NO_PIC = NO; 456 | GCC_NO_COMMON_BLOCKS = YES; 457 | GCC_OPTIMIZATION_LEVEL = 0; 458 | GCC_PREPROCESSOR_DEFINITIONS = ( 459 | "POD_CONFIGURATION_DEBUG=1", 460 | "DEBUG=1", 461 | "$(inherited)", 462 | ); 463 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 464 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 465 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 466 | GCC_WARN_UNDECLARED_SELECTOR = YES; 467 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 468 | GCC_WARN_UNUSED_FUNCTION = YES; 469 | GCC_WARN_UNUSED_VARIABLE = YES; 470 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 471 | ONLY_ACTIVE_ARCH = YES; 472 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 473 | STRIP_INSTALLED_PRODUCT = NO; 474 | SYMROOT = "${SRCROOT}/../build"; 475 | }; 476 | name = Debug; 477 | }; 478 | 88C6428809CC29250BFA8150ACFB7029 /* Debug */ = { 479 | isa = XCBuildConfiguration; 480 | baseConfigurationReference = B38DDAD3CCEA906E91BA5A757155BDF9 /* AVFonts.xcconfig */; 481 | buildSettings = { 482 | CODE_SIGN_IDENTITY = ""; 483 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 484 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 485 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 486 | CURRENT_PROJECT_VERSION = 1; 487 | DEBUG_INFORMATION_FORMAT = dwarf; 488 | DEFINES_MODULE = YES; 489 | DYLIB_COMPATIBILITY_VERSION = 1; 490 | DYLIB_CURRENT_VERSION = 1; 491 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 492 | ENABLE_STRICT_OBJC_MSGSEND = YES; 493 | GCC_NO_COMMON_BLOCKS = YES; 494 | GCC_PREFIX_HEADER = "Target Support Files/AVFonts/AVFonts-prefix.pch"; 495 | INFOPLIST_FILE = "Target Support Files/AVFonts/Info.plist"; 496 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 497 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 498 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 499 | MODULEMAP_FILE = "Target Support Files/AVFonts/AVFonts.modulemap"; 500 | MTL_ENABLE_DEBUG_INFO = YES; 501 | PRODUCT_NAME = AVFonts; 502 | SDKROOT = iphoneos; 503 | SKIP_INSTALL = YES; 504 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 505 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 506 | SWIFT_VERSION = 5.0; 507 | TARGETED_DEVICE_FAMILY = "1,2"; 508 | VERSIONING_SYSTEM = "apple-generic"; 509 | VERSION_INFO_PREFIX = ""; 510 | }; 511 | name = Debug; 512 | }; 513 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */ = { 514 | isa = XCBuildConfiguration; 515 | buildSettings = { 516 | ALWAYS_SEARCH_USER_PATHS = NO; 517 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 518 | CLANG_ANALYZER_NONNULL = YES; 519 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 520 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 521 | CLANG_CXX_LIBRARY = "libc++"; 522 | CLANG_ENABLE_MODULES = YES; 523 | CLANG_ENABLE_OBJC_ARC = YES; 524 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 525 | CLANG_WARN_BOOL_CONVERSION = YES; 526 | CLANG_WARN_COMMA = YES; 527 | CLANG_WARN_CONSTANT_CONVERSION = YES; 528 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 529 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 530 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 531 | CLANG_WARN_EMPTY_BODY = YES; 532 | CLANG_WARN_ENUM_CONVERSION = YES; 533 | CLANG_WARN_INFINITE_RECURSION = YES; 534 | CLANG_WARN_INT_CONVERSION = YES; 535 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 536 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 537 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 538 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 539 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 540 | CLANG_WARN_STRICT_PROTOTYPES = YES; 541 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 542 | CLANG_WARN_UNREACHABLE_CODE = YES; 543 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 544 | CODE_SIGNING_REQUIRED = NO; 545 | COPY_PHASE_STRIP = YES; 546 | ENABLE_NS_ASSERTIONS = NO; 547 | ENABLE_STRICT_OBJC_MSGSEND = YES; 548 | GCC_C_LANGUAGE_STANDARD = gnu99; 549 | GCC_NO_COMMON_BLOCKS = YES; 550 | GCC_PREPROCESSOR_DEFINITIONS = ( 551 | "POD_CONFIGURATION_RELEASE=1", 552 | "$(inherited)", 553 | ); 554 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 555 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 556 | GCC_WARN_UNDECLARED_SELECTOR = YES; 557 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 558 | GCC_WARN_UNUSED_FUNCTION = YES; 559 | GCC_WARN_UNUSED_VARIABLE = YES; 560 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 561 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 562 | STRIP_INSTALLED_PRODUCT = NO; 563 | SYMROOT = "${SRCROOT}/../build"; 564 | VALIDATE_PRODUCT = YES; 565 | }; 566 | name = Release; 567 | }; 568 | E3F15FBA9F4B220B9A5D24468739FF34 /* Debug */ = { 569 | isa = XCBuildConfiguration; 570 | baseConfigurationReference = 5C3B3B8E1D378894DD0562EEABA45445 /* Pods-AVFonts_Example.debug.xcconfig */; 571 | buildSettings = { 572 | CODE_SIGN_IDENTITY = ""; 573 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 574 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 575 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 576 | CURRENT_PROJECT_VERSION = 1; 577 | DEBUG_INFORMATION_FORMAT = dwarf; 578 | DEFINES_MODULE = YES; 579 | DYLIB_COMPATIBILITY_VERSION = 1; 580 | DYLIB_CURRENT_VERSION = 1; 581 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 582 | ENABLE_STRICT_OBJC_MSGSEND = YES; 583 | GCC_NO_COMMON_BLOCKS = YES; 584 | INFOPLIST_FILE = "Target Support Files/Pods-AVFonts_Example/Info.plist"; 585 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 586 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 587 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 588 | MACH_O_TYPE = staticlib; 589 | MODULEMAP_FILE = "Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.modulemap"; 590 | MTL_ENABLE_DEBUG_INFO = YES; 591 | OTHER_LDFLAGS = ""; 592 | OTHER_LIBTOOLFLAGS = ""; 593 | PODS_ROOT = "$(SRCROOT)"; 594 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 595 | PRODUCT_NAME = Pods_AVFonts_Example; 596 | SDKROOT = iphoneos; 597 | SKIP_INSTALL = YES; 598 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 599 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 600 | SWIFT_VERSION = 3.0; 601 | TARGETED_DEVICE_FAMILY = "1,2"; 602 | VERSIONING_SYSTEM = "apple-generic"; 603 | VERSION_INFO_PREFIX = ""; 604 | }; 605 | name = Debug; 606 | }; 607 | /* End XCBuildConfiguration section */ 608 | 609 | /* Begin XCConfigurationList section */ 610 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 611 | isa = XCConfigurationList; 612 | buildConfigurations = ( 613 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */, 614 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */, 615 | ); 616 | defaultConfigurationIsVisible = 0; 617 | defaultConfigurationName = Release; 618 | }; 619 | 6C74F5156B4872E67EC45EBBA612A57B /* Build configuration list for PBXNativeTarget "Pods-AVFonts_Example" */ = { 620 | isa = XCConfigurationList; 621 | buildConfigurations = ( 622 | E3F15FBA9F4B220B9A5D24468739FF34 /* Debug */, 623 | 3C5D810566EA720C16710738FBCB5EC0 /* Release */, 624 | ); 625 | defaultConfigurationIsVisible = 0; 626 | defaultConfigurationName = Release; 627 | }; 628 | CFFF863677005F7D995234C75108A057 /* Build configuration list for PBXNativeTarget "AVFonts" */ = { 629 | isa = XCConfigurationList; 630 | buildConfigurations = ( 631 | 88C6428809CC29250BFA8150ACFB7029 /* Debug */, 632 | 0F3F85B46548E813F5FE9AAE606D5757 /* Release */, 633 | ); 634 | defaultConfigurationIsVisible = 0; 635 | defaultConfigurationName = Release; 636 | }; 637 | /* End XCConfigurationList section */ 638 | }; 639 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 640 | } 641 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AVFonts/AVFonts-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AVFonts : NSObject 3 | @end 4 | @implementation PodsDummy_AVFonts 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AVFonts/AVFonts-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/AVFonts/AVFonts-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 AVFontsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AVFontsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AVFonts/AVFonts.modulemap: -------------------------------------------------------------------------------- 1 | framework module AVFonts { 2 | umbrella header "AVFonts-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AVFonts/AVFonts.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AVFonts 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 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/AVFonts/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AVFonts 5 | 6 | Copyright (c) 2017 Arnav 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Arnav <arnavgupta180@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | AVFonts 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AVFonts_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AVFonts_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/AVFonts/AVFonts.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/AVFonts/AVFonts.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AVFonts_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AVFonts_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AVFonts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AVFonts/AVFonts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AVFonts" 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-AVFonts_Example/Pods-AVFonts_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AVFonts_Example { 2 | umbrella header "Pods-AVFonts_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Example/Pods-AVFonts_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AVFonts" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AVFonts/AVFonts.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AVFonts" 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-AVFonts_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AVFonts_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AVFonts_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AVFonts_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AVFonts_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AVFonts" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AVFonts/AVFonts.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AVFonts_Tests { 2 | umbrella header "Pods-AVFonts_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AVFonts_Tests/Pods-AVFonts_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AVFonts" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AVFonts/AVFonts.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Arnav 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AVFonts 2 | 3 | [![CI Status](http://img.shields.io/travis/Arnav/AVFonts.svg?style=flat)](https://travis-ci.org/Arnav/AVFonts) 4 | [![Version](https://img.shields.io/cocoapods/v/AVFonts.svg?style=flat)](http://cocoapods.org/pods/AVFonts) 5 | [![License](https://img.shields.io/cocoapods/l/AVFonts.svg?style=flat)](http://cocoapods.org/pods/AVFonts) 6 | [![Platform](https://img.shields.io/cocoapods/p/AVFonts.svg?style=flat)](http://cocoapods.org/pods/AVFonts) 7 | 8 | 9 | ### What's that for 10 | 11 | AVFonts allows you to do anything you want to do with the fonts anywhere and everywhere in the app. 12 | 13 | ### Why should you use this? 14 | 15 | AVFonts can easily swap the system font or specific font you are using with the new font throughout the app. You can increment or decrement font size if needed, too. Now there's no need to select custom fonts in the Interface Builder. Save time by simply configuring its size and style, and then change "system font" to your "new font" everywhere with a single line of code. It's that easy. 16 | 17 | ![](AVFonts.gif?raw=true "AVFonts screenshot") ![](AVFonts2.gif?raw=true "AVFonts italic screenshot") 18 | 19 | ### Usage 20 | 21 | **1.** import `AVFonts` to `AppDelegate`. 22 | 23 | **2.** In `didFinishLaunchingwithOptions` change the font : 24 | 25 | **a)** This will swap/change font from system or **currentFontName** to **newFontName** everywhere in the app. 26 | ```bash 27 | AVFonts.changeFont(toFont: "Avenir-Heavy") 28 | AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy") 29 | ``` 30 | **b)** Font swap/change for **types provided** i.e. [ .button, .label, .textField, .textView] throughout the app. 31 | 32 | ```bash 33 | AVFonts.changeFont(toFont: "Avenir-Heavy", [.button, .label]) 34 | AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label]) 35 | ``` 36 | **c)** **increment/decrement** your orignal font size. 37 | 38 | ```bash 39 | AVFonts.changeFont(toFont: "Avenir-Heavy", [.button,.label,.textfield], increment: 2) 40 | AVFonts.changeFont(toFont: "Avenir-Heavy", [.button,.label,.textfield], increment: -2) 41 | 42 | AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label, .textfield], increment: 2) 43 | AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label, .textfield, .textview], increment: -2) 44 | 45 | ``` 46 | **3.** Call **AVFonts.applyAVFonts()** to apply all the changes. 47 | 48 | ### Example 49 | 50 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 51 | 52 | ## Requirements 53 | 54 | - iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+ 55 | - Xcode 10.2 56 | - Swift 5.0 57 | 58 | 59 | ## Installation 60 | 61 | ### CocoaPods 62 | 63 | [CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command: 64 | 65 | ```bash 66 | $ gem install cocoapods 67 | ``` 68 | 69 | > CocoaPods 1.1.0+ is required to build AVFonts. 70 | 71 | To integrate AVFonts into your Xcode project using CocoaPods, specify it in your `Podfile`: 72 | 73 | ```ruby 74 | source 'https://github.com/CocoaPods/Specs.git' 75 | platform :ios, '10.0' 76 | use_frameworks! 77 | 78 | target '' do 79 | pod "AVFonts" 80 | end 81 | ``` 82 | 83 | Then run the following command: 84 | 85 | ```bash 86 | $ pod install 87 | ``` 88 | 89 | 90 | ## Author 91 | 92 | Arnav Gupta, arnavgupta180@gmail.com 93 | 94 | ## License 95 | 96 | AVFonts is available under the MIT license. See the LICENSE file for more info. 97 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------