├── .github └── FUNDING.yml ├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── ViaBus.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-ViaBus_Example │ │ ├── Pods-ViaBus_Example-Info.plist │ │ ├── Pods-ViaBus_Example-acknowledgements.markdown │ │ ├── Pods-ViaBus_Example-acknowledgements.plist │ │ ├── Pods-ViaBus_Example-dummy.m │ │ ├── Pods-ViaBus_Example-frameworks.sh │ │ ├── Pods-ViaBus_Example-umbrella.h │ │ ├── Pods-ViaBus_Example.debug.xcconfig │ │ ├── Pods-ViaBus_Example.modulemap │ │ └── Pods-ViaBus_Example.release.xcconfig │ │ ├── Pods-ViaBus_Tests │ │ ├── Pods-ViaBus_Tests-Info.plist │ │ ├── Pods-ViaBus_Tests-acknowledgements.markdown │ │ ├── Pods-ViaBus_Tests-acknowledgements.plist │ │ ├── Pods-ViaBus_Tests-dummy.m │ │ ├── Pods-ViaBus_Tests-umbrella.h │ │ ├── Pods-ViaBus_Tests.debug.xcconfig │ │ ├── Pods-ViaBus_Tests.modulemap │ │ └── Pods-ViaBus_Tests.release.xcconfig │ │ └── ViaBus │ │ ├── ViaBus-Info.plist │ │ ├── ViaBus-dummy.m │ │ ├── ViaBus-prefix.pch │ │ ├── ViaBus-umbrella.h │ │ ├── ViaBus.debug.xcconfig │ │ ├── ViaBus.modulemap │ │ └── ViaBus.release.xcconfig ├── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ │ └── InfoPlist.strings ├── ViaBus.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── ViaBus.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── ViaBus │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── VBAppDelegate.h │ ├── VBAppDelegate.m │ ├── VBViewController.h │ ├── VBViewController.m │ ├── ViaBus-Info.plist │ ├── ViaBus-Prefix.pch │ ├── en.lproj │ └── InfoPlist.strings │ └── main.m ├── LICENSE ├── README.md ├── ViaBus.podspec ├── ViaBus ├── Assets │ └── .gitkeep └── Classes │ ├── Bus │ ├── ViaBus.h │ └── ViaBus.m │ └── Category │ ├── NSObject+RFDestoryNotify.h │ └── NSObject+RFDestoryNotify.m ├── _Pods.xcodeproj ├── arch.png └── logo.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | # CocoaPods 32 | # 33 | # We recommend against adding the Pods directory to your .gitignore. However 34 | # you should judge for yourself, the pros and cons are mentioned at: 35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 36 | # 37 | # Pods/ 38 | 39 | # Carthage 40 | # 41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 42 | # Carthage/Checkouts 43 | 44 | Carthage/Build 45 | 46 | # fastlane 47 | # 48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 49 | # screenshots whenever they are needed. 50 | # For more information about the recommended setup visit: 51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 52 | 53 | fastlane/report.xml 54 | fastlane/Preview.html 55 | fastlane/screenshots/**/*.png 56 | fastlane/test_output 57 | 58 | # Code Injection 59 | # 60 | # After new code Injection tools there's a generated folder /iOSInjectionProject 61 | # https://github.com/johnno1962/injectionforxcode 62 | 63 | iOSInjectionProject/ 64 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ViaBus.xcworkspace -scheme ViaBus-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | platform :ios, '9.0' 4 | 5 | target 'ViaBus_Example' do 6 | pod 'ViaBus', :path => '../' 7 | 8 | target 'ViaBus_Tests' do 9 | inherit! :search_paths 10 | 11 | 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ViaBus (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ViaBus (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ViaBus: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ViaBus: c408ac554fd165b52b027a043b80de92cfb75472 13 | 14 | PODFILE CHECKSUM: 085acc26b79d89ccc6b6321afe531ed94961bc07 15 | 16 | COCOAPODS: 1.10.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ViaBus.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ViaBus", 3 | "version": "0.1.0", 4 | "summary": "A short description of ViaBus.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/bbc6bae9/ViaBus", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "bbc6bae9": "ihenryhuang@tencent.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/bbc6bae9/ViaBus.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "ViaBus/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ViaBus (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ViaBus (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ViaBus: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ViaBus: c408ac554fd165b52b027a043b80de92cfb75472 13 | 14 | PODFILE CHECKSUM: 085acc26b79d89ccc6b6321afe531ed94961bc07 15 | 16 | COCOAPODS: 1.10.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 | 1F5721087C5106A2CDF79649B0C726B9 /* ViaBus-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B56B321D03E747D7372FA9E4F113594B /* ViaBus-dummy.m */; }; 11 | 4EBA22CFD95110536BB2CDFAF56C50F0 /* Pods-ViaBus_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 31305C37E29BAB9EF7307C49133BDF0A /* Pods-ViaBus_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 5E5F2935E00E4D797935A104CA82831F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 13 | 8D963C3E6A38A32D8DA2F1C353619B3D /* Pods-ViaBus_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 62C4F71CD6B1F28E3066FA6B28E43D10 /* Pods-ViaBus_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 923A9AF5FB97B814A609C9E1A6F0F9A4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 15 | 96C28E63075966A678BD723DB1A34AE7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 16 | C101A2EAEB445F75C0916E12AC2DF672 /* Pods-ViaBus_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 56930FEB244F83BB64928BA76729B49B /* Pods-ViaBus_Tests-dummy.m */; }; 17 | C8ECC58E1086582463F164E1316BC43E /* ViaBus-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B75B43DF49112E8B016E0E1717A4DBE /* ViaBus-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | FDAA6808BBE3C9AB71655C8627B34271 /* Pods-ViaBus_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A1FB4C83448EB021EF572EFBB2B57D9D /* Pods-ViaBus_Example-dummy.m */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | A04683DD5EE58B4F348F9F2C0D052375 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = DA0EBED303B968E65DB795FFC0CEC58E; 27 | remoteInfo = ViaBus; 28 | }; 29 | AC0DD4792D6E03CD31BEE6B536494326 /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = FF515117539CE2A5CE4AB17555D2D772; 34 | remoteInfo = "Pods-ViaBus_Example"; 35 | }; 36 | /* End PBXContainerItemProxy section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 0B9E36D66DAADC0F9A8170BC5F9C986E /* Pods-ViaBus_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ViaBus_Example-Info.plist"; sourceTree = ""; }; 40 | 1AE1CAA9B83D013EDD9BC9F7B9C7B2B5 /* ViaBus.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ViaBus.release.xcconfig; sourceTree = ""; }; 41 | 1D6113DCE3E456420EDD83981CD3F5EE /* Pods-ViaBus_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ViaBus_Example-acknowledgements.markdown"; sourceTree = ""; }; 42 | 1E7108DE22A5F015038B97DF074B827A /* ViaBus-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ViaBus-Info.plist"; sourceTree = ""; }; 43 | 1F3DD94DB0270EAB3966D425793B79DF /* Pods-ViaBus_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ViaBus_Example-acknowledgements.plist"; sourceTree = ""; }; 44 | 23F1183BEE2715F5B85BCB055D762D8F /* Pods-ViaBus_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ViaBus_Tests.release.xcconfig"; sourceTree = ""; }; 45 | 31305C37E29BAB9EF7307C49133BDF0A /* Pods-ViaBus_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ViaBus_Example-umbrella.h"; sourceTree = ""; }; 46 | 4360A737BC2E34E4B749EF72BD9F9F28 /* Pods-ViaBus_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ViaBus_Tests-acknowledgements.plist"; sourceTree = ""; }; 47 | 4400A3BDDDE8351566331D56874345DC /* Pods-ViaBus_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ViaBus_Tests-acknowledgements.markdown"; sourceTree = ""; }; 48 | 4660FF4E5500F6C16A41A9AF0C7993FE /* Pods_ViaBus_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ViaBus_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 505C30F7B9D7358602C8A70CA99223B5 /* Pods-ViaBus_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ViaBus_Tests.modulemap"; sourceTree = ""; }; 50 | 56930FEB244F83BB64928BA76729B49B /* Pods-ViaBus_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ViaBus_Tests-dummy.m"; sourceTree = ""; }; 51 | 5B75B43DF49112E8B016E0E1717A4DBE /* ViaBus-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ViaBus-umbrella.h"; sourceTree = ""; }; 52 | 62C4F71CD6B1F28E3066FA6B28E43D10 /* Pods-ViaBus_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ViaBus_Tests-umbrella.h"; sourceTree = ""; }; 53 | 674D78E35D4CA6B7B851B26F916848A5 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 54 | 6B1CB15F74AA03975B5D5220DF2D6051 /* ViaBus.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ViaBus.modulemap; sourceTree = ""; }; 55 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 56 | 80BCCBE73591CF1CA589704A53A6A960 /* Pods-ViaBus_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ViaBus_Example.debug.xcconfig"; sourceTree = ""; }; 57 | 85B4C467202AB03BD0763D49FA57EEC1 /* Pods-ViaBus_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ViaBus_Example.release.xcconfig"; sourceTree = ""; }; 58 | 97D462070D53233E88412E56D1B99703 /* ViaBus-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ViaBus-prefix.pch"; sourceTree = ""; }; 59 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 60 | A1FB4C83448EB021EF572EFBB2B57D9D /* Pods-ViaBus_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ViaBus_Example-dummy.m"; sourceTree = ""; }; 61 | A4EB246A4B12977982B8B0AF7A548B81 /* ViaBus.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ViaBus.debug.xcconfig; sourceTree = ""; }; 62 | AC1D914EB1DA50623159F19760263471 /* ViaBus.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ViaBus.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | B56B321D03E747D7372FA9E4F113594B /* ViaBus-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ViaBus-dummy.m"; sourceTree = ""; }; 64 | C47D5D1A1A74F3A21EF40FB100BE36FC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 65 | D5B0ACFE81582659AB660EA6B9D8299E /* Pods-ViaBus_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ViaBus_Example-frameworks.sh"; sourceTree = ""; }; 66 | D8F612AF09DCA0C6317C9167FECBCB0E /* Pods-ViaBus_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ViaBus_Tests-Info.plist"; sourceTree = ""; }; 67 | E1916BEBB6F7F1F6BF8E97E21F59154A /* Pods_ViaBus_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ViaBus_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | ECB761902F0E6903E32AD7B14E6D5F7E /* ViaBus.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = ViaBus.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 69 | F04BAEE131B4D6ADBBFFDCCD83C4650F /* Pods-ViaBus_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ViaBus_Tests.debug.xcconfig"; sourceTree = ""; }; 70 | FDE88C3B467857FB28C28542351B9633 /* Pods-ViaBus_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ViaBus_Example.modulemap"; sourceTree = ""; }; 71 | /* End PBXFileReference section */ 72 | 73 | /* Begin PBXFrameworksBuildPhase section */ 74 | 7A99C188D528B09D12EB4FF0A3C7ED6E /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | 96C28E63075966A678BD723DB1A34AE7 /* Foundation.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 957F79AF808438E29C251B60A14C1B66 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 923A9AF5FB97B814A609C9E1A6F0F9A4 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | 9786A1B5964ED4E7CCB37E799CA236A0 /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | 5E5F2935E00E4D797935A104CA82831F /* Foundation.framework in Frameworks */, 95 | ); 96 | runOnlyForDeploymentPostprocessing = 0; 97 | }; 98 | /* End PBXFrameworksBuildPhase section */ 99 | 100 | /* Begin PBXGroup section */ 101 | 3548C64DE77A3E418E6B62574A46F1BF /* Pods-ViaBus_Example */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | FDE88C3B467857FB28C28542351B9633 /* Pods-ViaBus_Example.modulemap */, 105 | 1D6113DCE3E456420EDD83981CD3F5EE /* Pods-ViaBus_Example-acknowledgements.markdown */, 106 | 1F3DD94DB0270EAB3966D425793B79DF /* Pods-ViaBus_Example-acknowledgements.plist */, 107 | A1FB4C83448EB021EF572EFBB2B57D9D /* Pods-ViaBus_Example-dummy.m */, 108 | D5B0ACFE81582659AB660EA6B9D8299E /* Pods-ViaBus_Example-frameworks.sh */, 109 | 0B9E36D66DAADC0F9A8170BC5F9C986E /* Pods-ViaBus_Example-Info.plist */, 110 | 31305C37E29BAB9EF7307C49133BDF0A /* Pods-ViaBus_Example-umbrella.h */, 111 | 80BCCBE73591CF1CA589704A53A6A960 /* Pods-ViaBus_Example.debug.xcconfig */, 112 | 85B4C467202AB03BD0763D49FA57EEC1 /* Pods-ViaBus_Example.release.xcconfig */, 113 | ); 114 | name = "Pods-ViaBus_Example"; 115 | path = "Target Support Files/Pods-ViaBus_Example"; 116 | sourceTree = ""; 117 | }; 118 | 400268A2EF1EA1BFFA7EC4D73F391555 /* Development Pods */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 41449187351896D8CCEC82D2ED380D6C /* ViaBus */, 122 | ); 123 | name = "Development Pods"; 124 | sourceTree = ""; 125 | }; 126 | 41449187351896D8CCEC82D2ED380D6C /* ViaBus */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 83188A2C22AC6E768E03CB3507B0812D /* Pod */, 130 | B301C6B7204991EFFD495EE1180A2DC0 /* Support Files */, 131 | ); 132 | name = ViaBus; 133 | path = ../..; 134 | sourceTree = ""; 135 | }; 136 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 140 | ); 141 | name = iOS; 142 | sourceTree = ""; 143 | }; 144 | 60564EA91F8E3446A584BDE93D198AE8 /* Products */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 4660FF4E5500F6C16A41A9AF0C7993FE /* Pods_ViaBus_Example.framework */, 148 | E1916BEBB6F7F1F6BF8E97E21F59154A /* Pods_ViaBus_Tests.framework */, 149 | AC1D914EB1DA50623159F19760263471 /* ViaBus.framework */, 150 | ); 151 | name = Products; 152 | sourceTree = ""; 153 | }; 154 | 83188A2C22AC6E768E03CB3507B0812D /* Pod */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 674D78E35D4CA6B7B851B26F916848A5 /* LICENSE */, 158 | C47D5D1A1A74F3A21EF40FB100BE36FC /* README.md */, 159 | ECB761902F0E6903E32AD7B14E6D5F7E /* ViaBus.podspec */, 160 | ); 161 | name = Pod; 162 | sourceTree = ""; 163 | }; 164 | AA2DF7641B01479C52A17C430480ED53 /* Pods-ViaBus_Tests */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | 505C30F7B9D7358602C8A70CA99223B5 /* Pods-ViaBus_Tests.modulemap */, 168 | 4400A3BDDDE8351566331D56874345DC /* Pods-ViaBus_Tests-acknowledgements.markdown */, 169 | 4360A737BC2E34E4B749EF72BD9F9F28 /* Pods-ViaBus_Tests-acknowledgements.plist */, 170 | 56930FEB244F83BB64928BA76729B49B /* Pods-ViaBus_Tests-dummy.m */, 171 | D8F612AF09DCA0C6317C9167FECBCB0E /* Pods-ViaBus_Tests-Info.plist */, 172 | 62C4F71CD6B1F28E3066FA6B28E43D10 /* Pods-ViaBus_Tests-umbrella.h */, 173 | F04BAEE131B4D6ADBBFFDCCD83C4650F /* Pods-ViaBus_Tests.debug.xcconfig */, 174 | 23F1183BEE2715F5B85BCB055D762D8F /* Pods-ViaBus_Tests.release.xcconfig */, 175 | ); 176 | name = "Pods-ViaBus_Tests"; 177 | path = "Target Support Files/Pods-ViaBus_Tests"; 178 | sourceTree = ""; 179 | }; 180 | B301C6B7204991EFFD495EE1180A2DC0 /* Support Files */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | 6B1CB15F74AA03975B5D5220DF2D6051 /* ViaBus.modulemap */, 184 | B56B321D03E747D7372FA9E4F113594B /* ViaBus-dummy.m */, 185 | 1E7108DE22A5F015038B97DF074B827A /* ViaBus-Info.plist */, 186 | 97D462070D53233E88412E56D1B99703 /* ViaBus-prefix.pch */, 187 | 5B75B43DF49112E8B016E0E1717A4DBE /* ViaBus-umbrella.h */, 188 | A4EB246A4B12977982B8B0AF7A548B81 /* ViaBus.debug.xcconfig */, 189 | 1AE1CAA9B83D013EDD9BC9F7B9C7B2B5 /* ViaBus.release.xcconfig */, 190 | ); 191 | name = "Support Files"; 192 | path = "Example/Pods/Target Support Files/ViaBus"; 193 | sourceTree = ""; 194 | }; 195 | CF1408CF629C7361332E53B88F7BD30C = { 196 | isa = PBXGroup; 197 | children = ( 198 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 199 | 400268A2EF1EA1BFFA7EC4D73F391555 /* Development Pods */, 200 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 201 | 60564EA91F8E3446A584BDE93D198AE8 /* Products */, 202 | D8F5E269887A0697048F978A52BB644A /* Targets Support Files */, 203 | ); 204 | sourceTree = ""; 205 | }; 206 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 210 | ); 211 | name = Frameworks; 212 | sourceTree = ""; 213 | }; 214 | D8F5E269887A0697048F978A52BB644A /* Targets Support Files */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | 3548C64DE77A3E418E6B62574A46F1BF /* Pods-ViaBus_Example */, 218 | AA2DF7641B01479C52A17C430480ED53 /* Pods-ViaBus_Tests */, 219 | ); 220 | name = "Targets Support Files"; 221 | sourceTree = ""; 222 | }; 223 | /* End PBXGroup section */ 224 | 225 | /* Begin PBXHeadersBuildPhase section */ 226 | 36492861D16A1CB1361C95FBA288E0E1 /* Headers */ = { 227 | isa = PBXHeadersBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | C8ECC58E1086582463F164E1316BC43E /* ViaBus-umbrella.h in Headers */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | 47A8B6AECD8F44E832D501401E62B68B /* Headers */ = { 235 | isa = PBXHeadersBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 8D963C3E6A38A32D8DA2F1C353619B3D /* Pods-ViaBus_Tests-umbrella.h in Headers */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | AFC6D83A1905235B27B43114092E1A55 /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 4EBA22CFD95110536BB2CDFAF56C50F0 /* Pods-ViaBus_Example-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | /* End PBXHeadersBuildPhase section */ 251 | 252 | /* Begin PBXNativeTarget section */ 253 | DA0EBED303B968E65DB795FFC0CEC58E /* ViaBus */ = { 254 | isa = PBXNativeTarget; 255 | buildConfigurationList = 92E685C1153D63374664361C1507A657 /* Build configuration list for PBXNativeTarget "ViaBus" */; 256 | buildPhases = ( 257 | 36492861D16A1CB1361C95FBA288E0E1 /* Headers */, 258 | 67BD7E273AED38F63F18E5EA75D86A10 /* Sources */, 259 | 957F79AF808438E29C251B60A14C1B66 /* Frameworks */, 260 | D5CA4ED5A06F5634DD8BB693387D9E94 /* Resources */, 261 | ); 262 | buildRules = ( 263 | ); 264 | dependencies = ( 265 | ); 266 | name = ViaBus; 267 | productName = ViaBus; 268 | productReference = AC1D914EB1DA50623159F19760263471 /* ViaBus.framework */; 269 | productType = "com.apple.product-type.framework"; 270 | }; 271 | DC2EBD03F98DF0691C65D8FD18A884D8 /* Pods-ViaBus_Tests */ = { 272 | isa = PBXNativeTarget; 273 | buildConfigurationList = 61944A42723D209664ECBDEAB9DF68E2 /* Build configuration list for PBXNativeTarget "Pods-ViaBus_Tests" */; 274 | buildPhases = ( 275 | 47A8B6AECD8F44E832D501401E62B68B /* Headers */, 276 | 6F04D7AC62423D372632E6A3E82E4687 /* Sources */, 277 | 7A99C188D528B09D12EB4FF0A3C7ED6E /* Frameworks */, 278 | 188455F981D3AB2DD77361EB4DBAD555 /* Resources */, 279 | ); 280 | buildRules = ( 281 | ); 282 | dependencies = ( 283 | 7655DA6C70F70D992B2C533B5261FCFD /* PBXTargetDependency */, 284 | ); 285 | name = "Pods-ViaBus_Tests"; 286 | productName = "Pods-ViaBus_Tests"; 287 | productReference = E1916BEBB6F7F1F6BF8E97E21F59154A /* Pods_ViaBus_Tests.framework */; 288 | productType = "com.apple.product-type.framework"; 289 | }; 290 | FF515117539CE2A5CE4AB17555D2D772 /* Pods-ViaBus_Example */ = { 291 | isa = PBXNativeTarget; 292 | buildConfigurationList = F323A0A74B0608A31DC2CB20E8AEF2B5 /* Build configuration list for PBXNativeTarget "Pods-ViaBus_Example" */; 293 | buildPhases = ( 294 | AFC6D83A1905235B27B43114092E1A55 /* Headers */, 295 | C1A78F58F0156E279A0BA8A57CA592B0 /* Sources */, 296 | 9786A1B5964ED4E7CCB37E799CA236A0 /* Frameworks */, 297 | AF95177F4CF3A44D56CD3A8E83B05CC2 /* Resources */, 298 | ); 299 | buildRules = ( 300 | ); 301 | dependencies = ( 302 | 7FCF0C0BCBDDB6FEAB410979A900C03D /* PBXTargetDependency */, 303 | ); 304 | name = "Pods-ViaBus_Example"; 305 | productName = "Pods-ViaBus_Example"; 306 | productReference = 4660FF4E5500F6C16A41A9AF0C7993FE /* Pods_ViaBus_Example.framework */; 307 | productType = "com.apple.product-type.framework"; 308 | }; 309 | /* End PBXNativeTarget section */ 310 | 311 | /* Begin PBXProject section */ 312 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 313 | isa = PBXProject; 314 | attributes = { 315 | LastSwiftUpdateCheck = 1100; 316 | LastUpgradeCheck = 1100; 317 | }; 318 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 319 | compatibilityVersion = "Xcode 3.2"; 320 | developmentRegion = en; 321 | hasScannedForEncodings = 0; 322 | knownRegions = ( 323 | en, 324 | Base, 325 | ); 326 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 327 | productRefGroup = 60564EA91F8E3446A584BDE93D198AE8 /* Products */; 328 | projectDirPath = ""; 329 | projectRoot = ""; 330 | targets = ( 331 | FF515117539CE2A5CE4AB17555D2D772 /* Pods-ViaBus_Example */, 332 | DC2EBD03F98DF0691C65D8FD18A884D8 /* Pods-ViaBus_Tests */, 333 | DA0EBED303B968E65DB795FFC0CEC58E /* ViaBus */, 334 | ); 335 | }; 336 | /* End PBXProject section */ 337 | 338 | /* Begin PBXResourcesBuildPhase section */ 339 | 188455F981D3AB2DD77361EB4DBAD555 /* Resources */ = { 340 | isa = PBXResourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | }; 346 | AF95177F4CF3A44D56CD3A8E83B05CC2 /* Resources */ = { 347 | isa = PBXResourcesBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | D5CA4ED5A06F5634DD8BB693387D9E94 /* Resources */ = { 354 | isa = PBXResourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | /* End PBXResourcesBuildPhase section */ 361 | 362 | /* Begin PBXSourcesBuildPhase section */ 363 | 67BD7E273AED38F63F18E5EA75D86A10 /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 1F5721087C5106A2CDF79649B0C726B9 /* ViaBus-dummy.m in Sources */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | 6F04D7AC62423D372632E6A3E82E4687 /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | C101A2EAEB445F75C0916E12AC2DF672 /* Pods-ViaBus_Tests-dummy.m in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | C1A78F58F0156E279A0BA8A57CA592B0 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | FDAA6808BBE3C9AB71655C8627B34271 /* Pods-ViaBus_Example-dummy.m in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | /* End PBXSourcesBuildPhase section */ 388 | 389 | /* Begin PBXTargetDependency section */ 390 | 7655DA6C70F70D992B2C533B5261FCFD /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | name = "Pods-ViaBus_Example"; 393 | target = FF515117539CE2A5CE4AB17555D2D772 /* Pods-ViaBus_Example */; 394 | targetProxy = AC0DD4792D6E03CD31BEE6B536494326 /* PBXContainerItemProxy */; 395 | }; 396 | 7FCF0C0BCBDDB6FEAB410979A900C03D /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | name = ViaBus; 399 | target = DA0EBED303B968E65DB795FFC0CEC58E /* ViaBus */; 400 | targetProxy = A04683DD5EE58B4F348F9F2C0D052375 /* PBXContainerItemProxy */; 401 | }; 402 | /* End PBXTargetDependency section */ 403 | 404 | /* Begin XCBuildConfiguration section */ 405 | 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = { 406 | isa = XCBuildConfiguration; 407 | buildSettings = { 408 | ALWAYS_SEARCH_USER_PATHS = NO; 409 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 410 | CLANG_ANALYZER_NONNULL = YES; 411 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 412 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 413 | CLANG_CXX_LIBRARY = "libc++"; 414 | CLANG_ENABLE_MODULES = YES; 415 | CLANG_ENABLE_OBJC_ARC = YES; 416 | CLANG_ENABLE_OBJC_WEAK = YES; 417 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 418 | CLANG_WARN_BOOL_CONVERSION = YES; 419 | CLANG_WARN_COMMA = YES; 420 | CLANG_WARN_CONSTANT_CONVERSION = YES; 421 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 422 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 423 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 424 | CLANG_WARN_EMPTY_BODY = YES; 425 | CLANG_WARN_ENUM_CONVERSION = YES; 426 | CLANG_WARN_INFINITE_RECURSION = YES; 427 | CLANG_WARN_INT_CONVERSION = YES; 428 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 429 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 430 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 431 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 432 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 433 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 434 | CLANG_WARN_STRICT_PROTOTYPES = YES; 435 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 436 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 437 | CLANG_WARN_UNREACHABLE_CODE = YES; 438 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 439 | COPY_PHASE_STRIP = NO; 440 | DEBUG_INFORMATION_FORMAT = dwarf; 441 | ENABLE_STRICT_OBJC_MSGSEND = YES; 442 | ENABLE_TESTABILITY = YES; 443 | GCC_C_LANGUAGE_STANDARD = gnu11; 444 | GCC_DYNAMIC_NO_PIC = NO; 445 | GCC_NO_COMMON_BLOCKS = YES; 446 | GCC_OPTIMIZATION_LEVEL = 0; 447 | GCC_PREPROCESSOR_DEFINITIONS = ( 448 | "POD_CONFIGURATION_DEBUG=1", 449 | "DEBUG=1", 450 | "$(inherited)", 451 | ); 452 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 453 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 454 | GCC_WARN_UNDECLARED_SELECTOR = YES; 455 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 456 | GCC_WARN_UNUSED_FUNCTION = YES; 457 | GCC_WARN_UNUSED_VARIABLE = YES; 458 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 459 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 460 | MTL_FAST_MATH = YES; 461 | ONLY_ACTIVE_ARCH = YES; 462 | PRODUCT_NAME = "$(TARGET_NAME)"; 463 | STRIP_INSTALLED_PRODUCT = NO; 464 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 465 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 466 | SWIFT_VERSION = 5.0; 467 | SYMROOT = "${SRCROOT}/../build"; 468 | }; 469 | name = Debug; 470 | }; 471 | 2852F532645FD0D26CA69FC7DB12DE30 /* Release */ = { 472 | isa = XCBuildConfiguration; 473 | baseConfigurationReference = 85B4C467202AB03BD0763D49FA57EEC1 /* Pods-ViaBus_Example.release.xcconfig */; 474 | buildSettings = { 475 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 476 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 477 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 478 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 479 | CURRENT_PROJECT_VERSION = 1; 480 | DEFINES_MODULE = YES; 481 | DYLIB_COMPATIBILITY_VERSION = 1; 482 | DYLIB_CURRENT_VERSION = 1; 483 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 484 | INFOPLIST_FILE = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example-Info.plist"; 485 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 486 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 487 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 488 | MACH_O_TYPE = staticlib; 489 | MODULEMAP_FILE = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.modulemap"; 490 | OTHER_LDFLAGS = ""; 491 | OTHER_LIBTOOLFLAGS = ""; 492 | PODS_ROOT = "$(SRCROOT)"; 493 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 494 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 495 | SDKROOT = iphoneos; 496 | SKIP_INSTALL = YES; 497 | TARGETED_DEVICE_FAMILY = "1,2"; 498 | VALIDATE_PRODUCT = YES; 499 | VERSIONING_SYSTEM = "apple-generic"; 500 | VERSION_INFO_PREFIX = ""; 501 | }; 502 | name = Release; 503 | }; 504 | 2DB75CA53B6B2A4AE63083499D4FECE1 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = 23F1183BEE2715F5B85BCB055D762D8F /* Pods-ViaBus_Tests.release.xcconfig */; 507 | buildSettings = { 508 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 509 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 510 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 511 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 512 | CURRENT_PROJECT_VERSION = 1; 513 | DEFINES_MODULE = YES; 514 | DYLIB_COMPATIBILITY_VERSION = 1; 515 | DYLIB_CURRENT_VERSION = 1; 516 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 517 | INFOPLIST_FILE = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests-Info.plist"; 518 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 519 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 520 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 521 | MACH_O_TYPE = staticlib; 522 | MODULEMAP_FILE = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.modulemap"; 523 | OTHER_LDFLAGS = ""; 524 | OTHER_LIBTOOLFLAGS = ""; 525 | PODS_ROOT = "$(SRCROOT)"; 526 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 527 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 528 | SDKROOT = iphoneos; 529 | SKIP_INSTALL = YES; 530 | TARGETED_DEVICE_FAMILY = "1,2"; 531 | VALIDATE_PRODUCT = YES; 532 | VERSIONING_SYSTEM = "apple-generic"; 533 | VERSION_INFO_PREFIX = ""; 534 | }; 535 | name = Release; 536 | }; 537 | 4D258D2F768FE30C1B16F3063C64D88C /* Debug */ = { 538 | isa = XCBuildConfiguration; 539 | baseConfigurationReference = F04BAEE131B4D6ADBBFFDCCD83C4650F /* Pods-ViaBus_Tests.debug.xcconfig */; 540 | buildSettings = { 541 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 542 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 543 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 544 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 545 | CURRENT_PROJECT_VERSION = 1; 546 | DEFINES_MODULE = YES; 547 | DYLIB_COMPATIBILITY_VERSION = 1; 548 | DYLIB_CURRENT_VERSION = 1; 549 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 550 | INFOPLIST_FILE = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests-Info.plist"; 551 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 552 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 553 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 554 | MACH_O_TYPE = staticlib; 555 | MODULEMAP_FILE = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.modulemap"; 556 | OTHER_LDFLAGS = ""; 557 | OTHER_LIBTOOLFLAGS = ""; 558 | PODS_ROOT = "$(SRCROOT)"; 559 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 560 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 561 | SDKROOT = iphoneos; 562 | SKIP_INSTALL = YES; 563 | TARGETED_DEVICE_FAMILY = "1,2"; 564 | VERSIONING_SYSTEM = "apple-generic"; 565 | VERSION_INFO_PREFIX = ""; 566 | }; 567 | name = Debug; 568 | }; 569 | 5C30F788FD7F935013EFC5F0B2017129 /* Debug */ = { 570 | isa = XCBuildConfiguration; 571 | baseConfigurationReference = 80BCCBE73591CF1CA589704A53A6A960 /* Pods-ViaBus_Example.debug.xcconfig */; 572 | buildSettings = { 573 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 574 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 575 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 576 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 577 | CURRENT_PROJECT_VERSION = 1; 578 | DEFINES_MODULE = YES; 579 | DYLIB_COMPATIBILITY_VERSION = 1; 580 | DYLIB_CURRENT_VERSION = 1; 581 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 582 | INFOPLIST_FILE = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example-Info.plist"; 583 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 584 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 585 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 586 | MACH_O_TYPE = staticlib; 587 | MODULEMAP_FILE = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.modulemap"; 588 | OTHER_LDFLAGS = ""; 589 | OTHER_LIBTOOLFLAGS = ""; 590 | PODS_ROOT = "$(SRCROOT)"; 591 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 592 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 593 | SDKROOT = iphoneos; 594 | SKIP_INSTALL = YES; 595 | TARGETED_DEVICE_FAMILY = "1,2"; 596 | VERSIONING_SYSTEM = "apple-generic"; 597 | VERSION_INFO_PREFIX = ""; 598 | }; 599 | name = Debug; 600 | }; 601 | AE8923E3BF802B608380DB3156E62F78 /* Release */ = { 602 | isa = XCBuildConfiguration; 603 | baseConfigurationReference = 1AE1CAA9B83D013EDD9BC9F7B9C7B2B5 /* ViaBus.release.xcconfig */; 604 | buildSettings = { 605 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 606 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 607 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 608 | CURRENT_PROJECT_VERSION = 1; 609 | DEFINES_MODULE = YES; 610 | DYLIB_COMPATIBILITY_VERSION = 1; 611 | DYLIB_CURRENT_VERSION = 1; 612 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 613 | GCC_PREFIX_HEADER = "Target Support Files/ViaBus/ViaBus-prefix.pch"; 614 | INFOPLIST_FILE = "Target Support Files/ViaBus/ViaBus-Info.plist"; 615 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 616 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 617 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 618 | MODULEMAP_FILE = "Target Support Files/ViaBus/ViaBus.modulemap"; 619 | PRODUCT_MODULE_NAME = ViaBus; 620 | PRODUCT_NAME = ViaBus; 621 | SDKROOT = iphoneos; 622 | SKIP_INSTALL = YES; 623 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 624 | SWIFT_VERSION = 4.0; 625 | TARGETED_DEVICE_FAMILY = "1,2"; 626 | VALIDATE_PRODUCT = YES; 627 | VERSIONING_SYSTEM = "apple-generic"; 628 | VERSION_INFO_PREFIX = ""; 629 | }; 630 | name = Release; 631 | }; 632 | CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = { 633 | isa = XCBuildConfiguration; 634 | buildSettings = { 635 | ALWAYS_SEARCH_USER_PATHS = NO; 636 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 637 | CLANG_ANALYZER_NONNULL = YES; 638 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 639 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 640 | CLANG_CXX_LIBRARY = "libc++"; 641 | CLANG_ENABLE_MODULES = YES; 642 | CLANG_ENABLE_OBJC_ARC = YES; 643 | CLANG_ENABLE_OBJC_WEAK = YES; 644 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 645 | CLANG_WARN_BOOL_CONVERSION = YES; 646 | CLANG_WARN_COMMA = YES; 647 | CLANG_WARN_CONSTANT_CONVERSION = YES; 648 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 649 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 650 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 651 | CLANG_WARN_EMPTY_BODY = YES; 652 | CLANG_WARN_ENUM_CONVERSION = YES; 653 | CLANG_WARN_INFINITE_RECURSION = YES; 654 | CLANG_WARN_INT_CONVERSION = YES; 655 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 656 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 657 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 658 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 659 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 660 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 661 | CLANG_WARN_STRICT_PROTOTYPES = YES; 662 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 663 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 664 | CLANG_WARN_UNREACHABLE_CODE = YES; 665 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 666 | COPY_PHASE_STRIP = NO; 667 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 668 | ENABLE_NS_ASSERTIONS = NO; 669 | ENABLE_STRICT_OBJC_MSGSEND = YES; 670 | GCC_C_LANGUAGE_STANDARD = gnu11; 671 | GCC_NO_COMMON_BLOCKS = YES; 672 | GCC_PREPROCESSOR_DEFINITIONS = ( 673 | "POD_CONFIGURATION_RELEASE=1", 674 | "$(inherited)", 675 | ); 676 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 677 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 678 | GCC_WARN_UNDECLARED_SELECTOR = YES; 679 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 680 | GCC_WARN_UNUSED_FUNCTION = YES; 681 | GCC_WARN_UNUSED_VARIABLE = YES; 682 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 683 | MTL_ENABLE_DEBUG_INFO = NO; 684 | MTL_FAST_MATH = YES; 685 | PRODUCT_NAME = "$(TARGET_NAME)"; 686 | STRIP_INSTALLED_PRODUCT = NO; 687 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 688 | SWIFT_VERSION = 5.0; 689 | SYMROOT = "${SRCROOT}/../build"; 690 | }; 691 | name = Release; 692 | }; 693 | E99DCF9F71D46EF85688F069CC8EEC1E /* Debug */ = { 694 | isa = XCBuildConfiguration; 695 | baseConfigurationReference = A4EB246A4B12977982B8B0AF7A548B81 /* ViaBus.debug.xcconfig */; 696 | buildSettings = { 697 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 698 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 699 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 700 | CURRENT_PROJECT_VERSION = 1; 701 | DEFINES_MODULE = YES; 702 | DYLIB_COMPATIBILITY_VERSION = 1; 703 | DYLIB_CURRENT_VERSION = 1; 704 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 705 | GCC_PREFIX_HEADER = "Target Support Files/ViaBus/ViaBus-prefix.pch"; 706 | INFOPLIST_FILE = "Target Support Files/ViaBus/ViaBus-Info.plist"; 707 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 708 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 709 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 710 | MODULEMAP_FILE = "Target Support Files/ViaBus/ViaBus.modulemap"; 711 | PRODUCT_MODULE_NAME = ViaBus; 712 | PRODUCT_NAME = ViaBus; 713 | SDKROOT = iphoneos; 714 | SKIP_INSTALL = YES; 715 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 716 | SWIFT_VERSION = 4.0; 717 | TARGETED_DEVICE_FAMILY = "1,2"; 718 | VERSIONING_SYSTEM = "apple-generic"; 719 | VERSION_INFO_PREFIX = ""; 720 | }; 721 | name = Debug; 722 | }; 723 | /* End XCBuildConfiguration section */ 724 | 725 | /* Begin XCConfigurationList section */ 726 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 727 | isa = XCConfigurationList; 728 | buildConfigurations = ( 729 | 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */, 730 | CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */, 731 | ); 732 | defaultConfigurationIsVisible = 0; 733 | defaultConfigurationName = Release; 734 | }; 735 | 61944A42723D209664ECBDEAB9DF68E2 /* Build configuration list for PBXNativeTarget "Pods-ViaBus_Tests" */ = { 736 | isa = XCConfigurationList; 737 | buildConfigurations = ( 738 | 4D258D2F768FE30C1B16F3063C64D88C /* Debug */, 739 | 2DB75CA53B6B2A4AE63083499D4FECE1 /* Release */, 740 | ); 741 | defaultConfigurationIsVisible = 0; 742 | defaultConfigurationName = Release; 743 | }; 744 | 92E685C1153D63374664361C1507A657 /* Build configuration list for PBXNativeTarget "ViaBus" */ = { 745 | isa = XCConfigurationList; 746 | buildConfigurations = ( 747 | E99DCF9F71D46EF85688F069CC8EEC1E /* Debug */, 748 | AE8923E3BF802B608380DB3156E62F78 /* Release */, 749 | ); 750 | defaultConfigurationIsVisible = 0; 751 | defaultConfigurationName = Release; 752 | }; 753 | F323A0A74B0608A31DC2CB20E8AEF2B5 /* Build configuration list for PBXNativeTarget "Pods-ViaBus_Example" */ = { 754 | isa = XCConfigurationList; 755 | buildConfigurations = ( 756 | 5C30F788FD7F935013EFC5F0B2017129 /* Debug */, 757 | 2852F532645FD0D26CA69FC7DB12DE30 /* Release */, 758 | ); 759 | defaultConfigurationIsVisible = 0; 760 | defaultConfigurationName = Release; 761 | }; 762 | /* End XCConfigurationList section */ 763 | }; 764 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 765 | } 766 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_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-ViaBus_Example/Pods-ViaBus_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ViaBus 5 | 6 | Copyright (c) 2021 bbc6bae9 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-ViaBus_Example/Pods-ViaBus_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) 2021 bbc6bae9 <ihenryhuang@tencent.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 | ViaBus 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-ViaBus_Example/Pods-ViaBus_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ViaBus_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ViaBus_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 116 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 117 | fi 118 | fi 119 | } 120 | 121 | # Used as a return value for each invocation of `strip_invalid_archs` function. 122 | STRIP_BINARY_RETVAL=0 123 | 124 | # Strip invalid architectures 125 | strip_invalid_archs() { 126 | binary="$1" 127 | warn_missing_arch=${2:-true} 128 | # Get architectures for current target binary 129 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 130 | # Intersect them with the architectures we are building for 131 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 132 | # If there are no archs supported by this binary then warn the user 133 | if [[ -z "$intersected_archs" ]]; then 134 | if [[ "$warn_missing_arch" == "true" ]]; then 135 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 136 | fi 137 | STRIP_BINARY_RETVAL=1 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=0 152 | } 153 | 154 | # Copies the bcsymbolmap files of a vendored framework 155 | install_bcsymbolmap() { 156 | local bcsymbolmap_path="$1" 157 | local destination="${BUILT_PRODUCTS_DIR}" 158 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 159 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 160 | } 161 | 162 | # Signs a framework with the provided identity 163 | code_sign_if_enabled() { 164 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 165 | # Use the current code_sign_identity 166 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 167 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 168 | 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | code_sign_cmd="$code_sign_cmd &" 171 | fi 172 | echo "$code_sign_cmd" 173 | eval "$code_sign_cmd" 174 | fi 175 | } 176 | 177 | if [[ "$CONFIGURATION" == "Debug" ]]; then 178 | install_framework "${BUILT_PRODUCTS_DIR}/ViaBus/ViaBus.framework" 179 | fi 180 | if [[ "$CONFIGURATION" == "Release" ]]; then 181 | install_framework "${BUILT_PRODUCTS_DIR}/ViaBus/ViaBus.framework" 182 | fi 183 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 184 | wait 185 | fi 186 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_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_ViaBus_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ViaBus_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus/ViaBus.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "ViaBus" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ViaBus_Example { 2 | umbrella header "Pods-ViaBus_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus/ViaBus.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "ViaBus" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_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-ViaBus_Tests/Pods-ViaBus_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-ViaBus_Tests/Pods-ViaBus_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-ViaBus_Tests/Pods-ViaBus_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ViaBus_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ViaBus_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_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_ViaBus_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ViaBus_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus/ViaBus.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "ViaBus" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ViaBus_Tests { 2 | umbrella header "Pods-ViaBus_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ViaBus/ViaBus.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "ViaBus" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ViaBus/ViaBus-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/ViaBus/ViaBus-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ViaBus : NSObject 3 | @end 4 | @implementation PodsDummy_ViaBus 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ViaBus/ViaBus-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/ViaBus/ViaBus-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 ViaBusVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ViaBusVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ViaBus/ViaBus.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ViaBus 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ViaBus/ViaBus.modulemap: -------------------------------------------------------------------------------- 1 | framework module ViaBus { 2 | umbrella header "ViaBus-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ViaBus/ViaBus.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ViaBus 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Tests/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 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViaBusTests.m 3 | // ViaBusTests 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/ViaBus.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0AA19B933E050CA2FDB508BE /* Pods_ViaBus_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24C6A350BBC592C7F8C024FE /* Pods_ViaBus_Tests.framework */; }; 11 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 12 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 13 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 14 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 15 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 16 | 6003F59E195388D20070C39A /* VBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* VBAppDelegate.m */; }; 17 | 6003F5A7195388D20070C39A /* VBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* VBViewController.m */; }; 18 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 19 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 20 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 21 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 22 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 23 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 24 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 25 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 26 | BA410FA426AFBD17004079D2 /* ViaBus.m in Sources */ = {isa = PBXBuildFile; fileRef = BA410F9D26AFBD17004079D2 /* ViaBus.m */; }; 27 | BA410FA526AFBD17004079D2 /* NSObject+RFDestoryNotify.m in Sources */ = {isa = PBXBuildFile; fileRef = BA410FA026AFBD17004079D2 /* NSObject+RFDestoryNotify.m */; }; 28 | BA410FA626AFBD17004079D2 /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = BA410FA326AFBD17004079D2 /* .gitkeep */; }; 29 | F3F09A92A14C403EC7264F2D /* Pods_ViaBus_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09594133FEE6A7EA10196A90 /* Pods_ViaBus_Example.framework */; }; 30 | /* End PBXBuildFile section */ 31 | 32 | /* Begin PBXContainerItemProxy section */ 33 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = 6003F582195388D10070C39A /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 6003F589195388D20070C39A; 38 | remoteInfo = ViaBus; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 01EE31DEFCA6F1AB4D55CCA4 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 44 | 08E51750A4F6767710AE2996 /* Pods-ViaBus_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ViaBus_Tests.release.xcconfig"; path = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.release.xcconfig"; sourceTree = ""; }; 45 | 09594133FEE6A7EA10196A90 /* Pods_ViaBus_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ViaBus_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 24C6A350BBC592C7F8C024FE /* Pods_ViaBus_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ViaBus_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 6003F58A195388D20070C39A /* ViaBus_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ViaBus_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 49 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 50 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 51 | 6003F595195388D20070C39A /* ViaBus-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ViaBus-Info.plist"; sourceTree = ""; }; 52 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 53 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 54 | 6003F59B195388D20070C39A /* ViaBus-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ViaBus-Prefix.pch"; sourceTree = ""; }; 55 | 6003F59C195388D20070C39A /* VBAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VBAppDelegate.h; sourceTree = ""; }; 56 | 6003F59D195388D20070C39A /* VBAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VBAppDelegate.m; sourceTree = ""; }; 57 | 6003F5A5195388D20070C39A /* VBViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VBViewController.h; sourceTree = ""; }; 58 | 6003F5A6195388D20070C39A /* VBViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VBViewController.m; sourceTree = ""; }; 59 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 60 | 6003F5AE195388D20070C39A /* ViaBus_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ViaBus_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 62 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 63 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 64 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 65 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 66 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 67 | 830C1E5AC33314E33D6364ED /* Pods-ViaBus_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ViaBus_Example.release.xcconfig"; path = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.release.xcconfig"; sourceTree = ""; }; 68 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 69 | BA410F9D26AFBD17004079D2 /* ViaBus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViaBus.m; sourceTree = ""; }; 70 | BA410F9E26AFBD17004079D2 /* ViaBus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViaBus.h; sourceTree = ""; }; 71 | BA410FA026AFBD17004079D2 /* NSObject+RFDestoryNotify.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+RFDestoryNotify.m"; sourceTree = ""; }; 72 | BA410FA126AFBD17004079D2 /* NSObject+RFDestoryNotify.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+RFDestoryNotify.h"; sourceTree = ""; }; 73 | BA410FA326AFBD17004079D2 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; 74 | C4BD31046C43E5DB11C88729 /* Pods-ViaBus_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ViaBus_Tests.debug.xcconfig"; path = "Target Support Files/Pods-ViaBus_Tests/Pods-ViaBus_Tests.debug.xcconfig"; sourceTree = ""; }; 75 | EC3251884B4A6609576F7250 /* ViaBus.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ViaBus.podspec; path = ../ViaBus.podspec; sourceTree = ""; }; 76 | F51E4C439D44BFF274D9B044 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 77 | F6E694CCB7138156EBE87287 /* Pods-ViaBus_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ViaBus_Example.debug.xcconfig"; path = "Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example.debug.xcconfig"; sourceTree = ""; }; 78 | /* End PBXFileReference section */ 79 | 80 | /* Begin PBXFrameworksBuildPhase section */ 81 | 6003F587195388D20070C39A /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 86 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 87 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 88 | F3F09A92A14C403EC7264F2D /* Pods_ViaBus_Example.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | 6003F5AB195388D20070C39A /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 97 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 98 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 99 | 0AA19B933E050CA2FDB508BE /* Pods_ViaBus_Tests.framework in Frameworks */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXFrameworksBuildPhase section */ 104 | 105 | /* Begin PBXGroup section */ 106 | 6003F581195388D10070C39A = { 107 | isa = PBXGroup; 108 | children = ( 109 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 110 | 6003F593195388D20070C39A /* Example for ViaBus */, 111 | 6003F5B5195388D20070C39A /* Tests */, 112 | 6003F58C195388D20070C39A /* Frameworks */, 113 | 6003F58B195388D20070C39A /* Products */, 114 | C4B60FEB94D7465238A7ED1D /* Pods */, 115 | ); 116 | sourceTree = ""; 117 | }; 118 | 6003F58B195388D20070C39A /* Products */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 6003F58A195388D20070C39A /* ViaBus_Example.app */, 122 | 6003F5AE195388D20070C39A /* ViaBus_Tests.xctest */, 123 | ); 124 | name = Products; 125 | sourceTree = ""; 126 | }; 127 | 6003F58C195388D20070C39A /* Frameworks */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 6003F58D195388D20070C39A /* Foundation.framework */, 131 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 132 | 6003F591195388D20070C39A /* UIKit.framework */, 133 | 6003F5AF195388D20070C39A /* XCTest.framework */, 134 | 09594133FEE6A7EA10196A90 /* Pods_ViaBus_Example.framework */, 135 | 24C6A350BBC592C7F8C024FE /* Pods_ViaBus_Tests.framework */, 136 | ); 137 | name = Frameworks; 138 | sourceTree = ""; 139 | }; 140 | 6003F593195388D20070C39A /* Example for ViaBus */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | BA410F9A26AFBD17004079D2 /* ViaBus */, 144 | 6003F59C195388D20070C39A /* VBAppDelegate.h */, 145 | 6003F59D195388D20070C39A /* VBAppDelegate.m */, 146 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 147 | 6003F5A5195388D20070C39A /* VBViewController.h */, 148 | 6003F5A6195388D20070C39A /* VBViewController.m */, 149 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 150 | 6003F5A8195388D20070C39A /* Images.xcassets */, 151 | 6003F594195388D20070C39A /* Supporting Files */, 152 | ); 153 | name = "Example for ViaBus"; 154 | path = ViaBus; 155 | sourceTree = ""; 156 | }; 157 | 6003F594195388D20070C39A /* Supporting Files */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | 6003F595195388D20070C39A /* ViaBus-Info.plist */, 161 | 6003F596195388D20070C39A /* InfoPlist.strings */, 162 | 6003F599195388D20070C39A /* main.m */, 163 | 6003F59B195388D20070C39A /* ViaBus-Prefix.pch */, 164 | ); 165 | name = "Supporting Files"; 166 | sourceTree = ""; 167 | }; 168 | 6003F5B5195388D20070C39A /* Tests */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 6003F5BB195388D20070C39A /* Tests.m */, 172 | 6003F5B6195388D20070C39A /* Supporting Files */, 173 | ); 174 | path = Tests; 175 | sourceTree = ""; 176 | }; 177 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 181 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 182 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 183 | ); 184 | name = "Supporting Files"; 185 | sourceTree = ""; 186 | }; 187 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | EC3251884B4A6609576F7250 /* ViaBus.podspec */, 191 | F51E4C439D44BFF274D9B044 /* README.md */, 192 | 01EE31DEFCA6F1AB4D55CCA4 /* LICENSE */, 193 | ); 194 | name = "Podspec Metadata"; 195 | sourceTree = ""; 196 | }; 197 | BA410F9A26AFBD17004079D2 /* ViaBus */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | BA410F9B26AFBD17004079D2 /* Classes */, 201 | BA410FA226AFBD17004079D2 /* Assets */, 202 | ); 203 | name = ViaBus; 204 | path = ../../ViaBus; 205 | sourceTree = ""; 206 | }; 207 | BA410F9B26AFBD17004079D2 /* Classes */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | BA410F9C26AFBD17004079D2 /* Bus */, 211 | BA410F9F26AFBD17004079D2 /* Helper */, 212 | ); 213 | path = Classes; 214 | sourceTree = ""; 215 | }; 216 | BA410F9C26AFBD17004079D2 /* Bus */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | BA410F9E26AFBD17004079D2 /* ViaBus.h */, 220 | BA410F9D26AFBD17004079D2 /* ViaBus.m */, 221 | ); 222 | path = Bus; 223 | sourceTree = ""; 224 | }; 225 | BA410F9F26AFBD17004079D2 /* Helper */ = { 226 | isa = PBXGroup; 227 | children = ( 228 | BA410FA026AFBD17004079D2 /* NSObject+RFDestoryNotify.m */, 229 | BA410FA126AFBD17004079D2 /* NSObject+RFDestoryNotify.h */, 230 | ); 231 | path = Helper; 232 | sourceTree = ""; 233 | }; 234 | BA410FA226AFBD17004079D2 /* Assets */ = { 235 | isa = PBXGroup; 236 | children = ( 237 | BA410FA326AFBD17004079D2 /* .gitkeep */, 238 | ); 239 | path = Assets; 240 | sourceTree = ""; 241 | }; 242 | C4B60FEB94D7465238A7ED1D /* Pods */ = { 243 | isa = PBXGroup; 244 | children = ( 245 | F6E694CCB7138156EBE87287 /* Pods-ViaBus_Example.debug.xcconfig */, 246 | 830C1E5AC33314E33D6364ED /* Pods-ViaBus_Example.release.xcconfig */, 247 | C4BD31046C43E5DB11C88729 /* Pods-ViaBus_Tests.debug.xcconfig */, 248 | 08E51750A4F6767710AE2996 /* Pods-ViaBus_Tests.release.xcconfig */, 249 | ); 250 | path = Pods; 251 | sourceTree = ""; 252 | }; 253 | /* End PBXGroup section */ 254 | 255 | /* Begin PBXNativeTarget section */ 256 | 6003F589195388D20070C39A /* ViaBus_Example */ = { 257 | isa = PBXNativeTarget; 258 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "ViaBus_Example" */; 259 | buildPhases = ( 260 | 6043B694CDC8451C8DF983C2 /* [CP] Check Pods Manifest.lock */, 261 | 6003F586195388D20070C39A /* Sources */, 262 | 6003F587195388D20070C39A /* Frameworks */, 263 | 6003F588195388D20070C39A /* Resources */, 264 | 658A3385809D409C39ACDAD1 /* [CP] Embed Pods Frameworks */, 265 | ); 266 | buildRules = ( 267 | ); 268 | dependencies = ( 269 | ); 270 | name = ViaBus_Example; 271 | productName = ViaBus; 272 | productReference = 6003F58A195388D20070C39A /* ViaBus_Example.app */; 273 | productType = "com.apple.product-type.application"; 274 | }; 275 | 6003F5AD195388D20070C39A /* ViaBus_Tests */ = { 276 | isa = PBXNativeTarget; 277 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "ViaBus_Tests" */; 278 | buildPhases = ( 279 | DA0EA935137092F0CB7FDB76 /* [CP] Check Pods Manifest.lock */, 280 | 6003F5AA195388D20070C39A /* Sources */, 281 | 6003F5AB195388D20070C39A /* Frameworks */, 282 | 6003F5AC195388D20070C39A /* Resources */, 283 | ); 284 | buildRules = ( 285 | ); 286 | dependencies = ( 287 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 288 | ); 289 | name = ViaBus_Tests; 290 | productName = ViaBusTests; 291 | productReference = 6003F5AE195388D20070C39A /* ViaBus_Tests.xctest */; 292 | productType = "com.apple.product-type.bundle.unit-test"; 293 | }; 294 | /* End PBXNativeTarget section */ 295 | 296 | /* Begin PBXProject section */ 297 | 6003F582195388D10070C39A /* Project object */ = { 298 | isa = PBXProject; 299 | attributes = { 300 | CLASSPREFIX = VB; 301 | LastUpgradeCheck = 0720; 302 | ORGANIZATIONNAME = bbc6bae9; 303 | TargetAttributes = { 304 | 6003F5AD195388D20070C39A = { 305 | TestTargetID = 6003F589195388D20070C39A; 306 | }; 307 | }; 308 | }; 309 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "ViaBus" */; 310 | compatibilityVersion = "Xcode 3.2"; 311 | developmentRegion = English; 312 | hasScannedForEncodings = 0; 313 | knownRegions = ( 314 | English, 315 | en, 316 | Base, 317 | ); 318 | mainGroup = 6003F581195388D10070C39A; 319 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 320 | projectDirPath = ""; 321 | projectRoot = ""; 322 | targets = ( 323 | 6003F589195388D20070C39A /* ViaBus_Example */, 324 | 6003F5AD195388D20070C39A /* ViaBus_Tests */, 325 | ); 326 | }; 327 | /* End PBXProject section */ 328 | 329 | /* Begin PBXResourcesBuildPhase section */ 330 | 6003F588195388D20070C39A /* Resources */ = { 331 | isa = PBXResourcesBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 335 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 336 | BA410FA626AFBD17004079D2 /* .gitkeep in Resources */, 337 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 338 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | 6003F5AC195388D20070C39A /* Resources */ = { 343 | isa = PBXResourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | /* End PBXResourcesBuildPhase section */ 351 | 352 | /* Begin PBXShellScriptBuildPhase section */ 353 | 6043B694CDC8451C8DF983C2 /* [CP] Check Pods Manifest.lock */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputFileListPaths = ( 359 | ); 360 | inputPaths = ( 361 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 362 | "${PODS_ROOT}/Manifest.lock", 363 | ); 364 | name = "[CP] Check Pods Manifest.lock"; 365 | outputFileListPaths = ( 366 | ); 367 | outputPaths = ( 368 | "$(DERIVED_FILE_DIR)/Pods-ViaBus_Example-checkManifestLockResult.txt", 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | shellPath = /bin/sh; 372 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 373 | showEnvVarsInLog = 0; 374 | }; 375 | 658A3385809D409C39ACDAD1 /* [CP] Embed Pods Frameworks */ = { 376 | isa = PBXShellScriptBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | ); 380 | inputPaths = ( 381 | "${PODS_ROOT}/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example-frameworks.sh", 382 | "${BUILT_PRODUCTS_DIR}/ViaBus/ViaBus.framework", 383 | ); 384 | name = "[CP] Embed Pods Frameworks"; 385 | outputPaths = ( 386 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ViaBus.framework", 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | shellPath = /bin/sh; 390 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ViaBus_Example/Pods-ViaBus_Example-frameworks.sh\"\n"; 391 | showEnvVarsInLog = 0; 392 | }; 393 | DA0EA935137092F0CB7FDB76 /* [CP] Check Pods Manifest.lock */ = { 394 | isa = PBXShellScriptBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | ); 398 | inputFileListPaths = ( 399 | ); 400 | inputPaths = ( 401 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 402 | "${PODS_ROOT}/Manifest.lock", 403 | ); 404 | name = "[CP] Check Pods Manifest.lock"; 405 | outputFileListPaths = ( 406 | ); 407 | outputPaths = ( 408 | "$(DERIVED_FILE_DIR)/Pods-ViaBus_Tests-checkManifestLockResult.txt", 409 | ); 410 | runOnlyForDeploymentPostprocessing = 0; 411 | shellPath = /bin/sh; 412 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 413 | showEnvVarsInLog = 0; 414 | }; 415 | /* End PBXShellScriptBuildPhase section */ 416 | 417 | /* Begin PBXSourcesBuildPhase section */ 418 | 6003F586195388D20070C39A /* Sources */ = { 419 | isa = PBXSourcesBuildPhase; 420 | buildActionMask = 2147483647; 421 | files = ( 422 | BA410FA526AFBD17004079D2 /* NSObject+RFDestoryNotify.m in Sources */, 423 | 6003F59E195388D20070C39A /* VBAppDelegate.m in Sources */, 424 | BA410FA426AFBD17004079D2 /* ViaBus.m in Sources */, 425 | 6003F5A7195388D20070C39A /* VBViewController.m in Sources */, 426 | 6003F59A195388D20070C39A /* main.m in Sources */, 427 | ); 428 | runOnlyForDeploymentPostprocessing = 0; 429 | }; 430 | 6003F5AA195388D20070C39A /* Sources */ = { 431 | isa = PBXSourcesBuildPhase; 432 | buildActionMask = 2147483647; 433 | files = ( 434 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 435 | ); 436 | runOnlyForDeploymentPostprocessing = 0; 437 | }; 438 | /* End PBXSourcesBuildPhase section */ 439 | 440 | /* Begin PBXTargetDependency section */ 441 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 442 | isa = PBXTargetDependency; 443 | target = 6003F589195388D20070C39A /* ViaBus_Example */; 444 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 445 | }; 446 | /* End PBXTargetDependency section */ 447 | 448 | /* Begin PBXVariantGroup section */ 449 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 450 | isa = PBXVariantGroup; 451 | children = ( 452 | 6003F597195388D20070C39A /* en */, 453 | ); 454 | name = InfoPlist.strings; 455 | sourceTree = ""; 456 | }; 457 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 458 | isa = PBXVariantGroup; 459 | children = ( 460 | 6003F5B9195388D20070C39A /* en */, 461 | ); 462 | name = InfoPlist.strings; 463 | sourceTree = ""; 464 | }; 465 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 466 | isa = PBXVariantGroup; 467 | children = ( 468 | 71719F9E1E33DC2100824A3D /* Base */, 469 | ); 470 | name = LaunchScreen.storyboard; 471 | sourceTree = ""; 472 | }; 473 | /* End PBXVariantGroup section */ 474 | 475 | /* Begin XCBuildConfiguration section */ 476 | 6003F5BD195388D20070C39A /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | buildSettings = { 479 | ALWAYS_SEARCH_USER_PATHS = NO; 480 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 481 | CLANG_CXX_LIBRARY = "libc++"; 482 | CLANG_ENABLE_MODULES = YES; 483 | CLANG_ENABLE_OBJC_ARC = YES; 484 | CLANG_WARN_BOOL_CONVERSION = YES; 485 | CLANG_WARN_CONSTANT_CONVERSION = YES; 486 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 487 | CLANG_WARN_EMPTY_BODY = YES; 488 | CLANG_WARN_ENUM_CONVERSION = YES; 489 | CLANG_WARN_INT_CONVERSION = YES; 490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 491 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 492 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 493 | COPY_PHASE_STRIP = NO; 494 | ENABLE_TESTABILITY = YES; 495 | GCC_C_LANGUAGE_STANDARD = gnu99; 496 | GCC_DYNAMIC_NO_PIC = NO; 497 | GCC_OPTIMIZATION_LEVEL = 0; 498 | GCC_PREPROCESSOR_DEFINITIONS = ( 499 | "DEBUG=1", 500 | "$(inherited)", 501 | ); 502 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 503 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 504 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 505 | GCC_WARN_UNDECLARED_SELECTOR = YES; 506 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 507 | GCC_WARN_UNUSED_FUNCTION = YES; 508 | GCC_WARN_UNUSED_VARIABLE = YES; 509 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 510 | ONLY_ACTIVE_ARCH = YES; 511 | SDKROOT = iphoneos; 512 | TARGETED_DEVICE_FAMILY = "1,2"; 513 | }; 514 | name = Debug; 515 | }; 516 | 6003F5BE195388D20070C39A /* Release */ = { 517 | isa = XCBuildConfiguration; 518 | buildSettings = { 519 | ALWAYS_SEARCH_USER_PATHS = NO; 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_BOOL_CONVERSION = YES; 525 | CLANG_WARN_CONSTANT_CONVERSION = YES; 526 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 527 | CLANG_WARN_EMPTY_BODY = YES; 528 | CLANG_WARN_ENUM_CONVERSION = YES; 529 | CLANG_WARN_INT_CONVERSION = YES; 530 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 531 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 532 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 533 | COPY_PHASE_STRIP = YES; 534 | ENABLE_NS_ASSERTIONS = NO; 535 | GCC_C_LANGUAGE_STANDARD = gnu99; 536 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 537 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 538 | GCC_WARN_UNDECLARED_SELECTOR = YES; 539 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 540 | GCC_WARN_UNUSED_FUNCTION = YES; 541 | GCC_WARN_UNUSED_VARIABLE = YES; 542 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 543 | SDKROOT = iphoneos; 544 | TARGETED_DEVICE_FAMILY = "1,2"; 545 | VALIDATE_PRODUCT = YES; 546 | }; 547 | name = Release; 548 | }; 549 | 6003F5C0195388D20070C39A /* Debug */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = F6E694CCB7138156EBE87287 /* Pods-ViaBus_Example.debug.xcconfig */; 552 | buildSettings = { 553 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 554 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 555 | GCC_PREFIX_HEADER = "ViaBus/ViaBus-Prefix.pch"; 556 | INFOPLIST_FILE = "ViaBus/ViaBus-Info.plist"; 557 | MODULE_NAME = ExampleApp; 558 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 559 | PRODUCT_NAME = "$(TARGET_NAME)"; 560 | SWIFT_VERSION = 4.0; 561 | WRAPPER_EXTENSION = app; 562 | }; 563 | name = Debug; 564 | }; 565 | 6003F5C1195388D20070C39A /* Release */ = { 566 | isa = XCBuildConfiguration; 567 | baseConfigurationReference = 830C1E5AC33314E33D6364ED /* Pods-ViaBus_Example.release.xcconfig */; 568 | buildSettings = { 569 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 570 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 571 | GCC_PREFIX_HEADER = "ViaBus/ViaBus-Prefix.pch"; 572 | INFOPLIST_FILE = "ViaBus/ViaBus-Info.plist"; 573 | MODULE_NAME = ExampleApp; 574 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 575 | PRODUCT_NAME = "$(TARGET_NAME)"; 576 | SWIFT_VERSION = 4.0; 577 | WRAPPER_EXTENSION = app; 578 | }; 579 | name = Release; 580 | }; 581 | 6003F5C3195388D20070C39A /* Debug */ = { 582 | isa = XCBuildConfiguration; 583 | baseConfigurationReference = C4BD31046C43E5DB11C88729 /* Pods-ViaBus_Tests.debug.xcconfig */; 584 | buildSettings = { 585 | BUNDLE_LOADER = "$(TEST_HOST)"; 586 | FRAMEWORK_SEARCH_PATHS = ( 587 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 588 | "$(inherited)", 589 | "$(DEVELOPER_FRAMEWORKS_DIR)", 590 | ); 591 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 592 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 593 | GCC_PREPROCESSOR_DEFINITIONS = ( 594 | "DEBUG=1", 595 | "$(inherited)", 596 | ); 597 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 598 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 599 | PRODUCT_NAME = "$(TARGET_NAME)"; 600 | SWIFT_VERSION = 4.0; 601 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ViaBus_Example.app/ViaBus_Example"; 602 | WRAPPER_EXTENSION = xctest; 603 | }; 604 | name = Debug; 605 | }; 606 | 6003F5C4195388D20070C39A /* Release */ = { 607 | isa = XCBuildConfiguration; 608 | baseConfigurationReference = 08E51750A4F6767710AE2996 /* Pods-ViaBus_Tests.release.xcconfig */; 609 | buildSettings = { 610 | BUNDLE_LOADER = "$(TEST_HOST)"; 611 | FRAMEWORK_SEARCH_PATHS = ( 612 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 613 | "$(inherited)", 614 | "$(DEVELOPER_FRAMEWORKS_DIR)", 615 | ); 616 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 617 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 618 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 619 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 620 | PRODUCT_NAME = "$(TARGET_NAME)"; 621 | SWIFT_VERSION = 4.0; 622 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ViaBus_Example.app/ViaBus_Example"; 623 | WRAPPER_EXTENSION = xctest; 624 | }; 625 | name = Release; 626 | }; 627 | /* End XCBuildConfiguration section */ 628 | 629 | /* Begin XCConfigurationList section */ 630 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "ViaBus" */ = { 631 | isa = XCConfigurationList; 632 | buildConfigurations = ( 633 | 6003F5BD195388D20070C39A /* Debug */, 634 | 6003F5BE195388D20070C39A /* Release */, 635 | ); 636 | defaultConfigurationIsVisible = 0; 637 | defaultConfigurationName = Release; 638 | }; 639 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "ViaBus_Example" */ = { 640 | isa = XCConfigurationList; 641 | buildConfigurations = ( 642 | 6003F5C0195388D20070C39A /* Debug */, 643 | 6003F5C1195388D20070C39A /* Release */, 644 | ); 645 | defaultConfigurationIsVisible = 0; 646 | defaultConfigurationName = Release; 647 | }; 648 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "ViaBus_Tests" */ = { 649 | isa = XCConfigurationList; 650 | buildConfigurations = ( 651 | 6003F5C3195388D20070C39A /* Debug */, 652 | 6003F5C4195388D20070C39A /* Release */, 653 | ); 654 | defaultConfigurationIsVisible = 0; 655 | defaultConfigurationName = Release; 656 | }; 657 | /* End XCConfigurationList section */ 658 | }; 659 | rootObject = 6003F582195388D10070C39A /* Project object */; 660 | } 661 | -------------------------------------------------------------------------------- /Example/ViaBus.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ViaBus.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ViaBus.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ViaBus/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/ViaBus/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/ViaBus/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/ViaBus/VBAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // VBAppDelegate.h 3 | // ViaBus 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface VBAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/ViaBus/VBAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // VBAppDelegate.m 3 | // ViaBus 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | #import "VBAppDelegate.h" 10 | 11 | @implementation VBAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 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 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/ViaBus/VBViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // VBViewController.h 3 | // ViaBus 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface VBViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/ViaBus/VBViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // VBViewController.m 3 | // ViaBus 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | #import "VBViewController.h" 10 | #import "ViaBus.h" 11 | 12 | #define HEIGHT [[UIScreen mainScreen] bounds].size.height 13 | #define WIDTH [[UIScreen mainScreen] bounds].size.width 14 | 15 | @interface VBViewController () 16 | 17 | @end 18 | 19 | @implementation VBViewController 20 | 21 | - (void)viewDidLoad{ 22 | [super viewDidLoad]; 23 | 24 | UIButton *pubBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, WIDTH, 100)]; 25 | [pubBtn addTarget:self action:@selector(publishBtnClick:) forControlEvents:UIControlEventTouchUpInside]; 26 | 27 | [pubBtn setTitle:@"broadcast" forState:UIControlStateNormal]; 28 | pubBtn.titleLabel.font = [UIFont systemFontOfSize:50]; 29 | pubBtn.backgroundColor = [UIColor blackColor]; 30 | [self.view addSubview:pubBtn]; 31 | 32 | UIButton *subBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 100, WIDTH, 100)]; 33 | [subBtn addTarget:self action:@selector(subcribeBtnClick:) forControlEvents:UIControlEventTouchUpInside]; 34 | [subBtn setTitle:@"subscribe" forState:UIControlStateNormal]; 35 | [subBtn setTitle:@"unsubscribe" forState:UIControlStateSelected]; 36 | subBtn.backgroundColor = [UIColor redColor]; 37 | [self.view addSubview:subBtn]; 38 | } 39 | 40 | - (void)subcribeBtnClick:(UIButton*)sender{ 41 | sender.selected = !sender.selected; 42 | if (sender.isSelected) { 43 | NSLog(@"订阅了"); 44 | [VIABUS subscribeEventWithEventname:@"broadcast" andTaget:self handler:^(NSString * eventName, id object) { 45 | NSLog(@"收到通知"); 46 | }]; 47 | }else{ 48 | NSLog(@"取消订阅了"); 49 | [VIABUS unsubscribeEventWithEventName:@"broadcast" target:self]; 50 | } 51 | } 52 | 53 | - (void)publishBtnClick:(UIButton*)sender{ 54 | [VIABUS publishNotification:@"broadcast" broadcastContent:@"I love Kobe"]; 55 | } 56 | 57 | 58 | - (void)didReceiveMemoryWarning 59 | { 60 | [super didReceiveMemoryWarning]; 61 | // Dispose of any resources that can be recreated. 62 | } 63 | 64 | @end 65 | -------------------------------------------------------------------------------- /Example/ViaBus/ViaBus-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/ViaBus/ViaBus-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/ViaBus/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/ViaBus/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ViaBus 4 | // 5 | // Created by bbc6bae9 on 07/27/2021. 6 | // Copyright (c) 2021 bbc6bae9. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "VBAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([VBAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2021 bbc6bae9 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 | # ViaBus 2 | 3 | [![CI Status](https://img.shields.io/travis/bbc6bae9/ViaBus.svg?style=flat)](https://travis-ci.org/bbc6bae9/ViaBus) 4 | [![Version](https://img.shields.io/cocoapods/v/ViaBus.svg?style=flat)](https://cocoapods.org/pods/ViaBus) 5 | [![License](https://img.shields.io/cocoapods/l/ViaBus.svg?style=flat)](https://cocoapods.org/pods/ViaBus) 6 | [![Platform](https://img.shields.io/cocoapods/p/ViaBus.svg?style=flat)](https://cocoapods.org/pods/ViaBus) 7 | 8 | ![logo](./logo.png) 9 | 10 | ## Example 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ## Requirements 15 | 16 | ## Installation 17 | 18 | ViaBus is available through [CocoaPods](https://cocoapods.org). To install 19 | it, simply add the following line to your Podfile: 20 | 21 | ```ruby 22 | pod 'ViaBus' 23 | ``` 24 | 25 | ## Author 26 | 27 | bbc6bae9, bbc6bae9@gmail.com 28 | 29 | ## Architecture 30 | 31 | ![arch](./arch.png) 32 | 33 | 34 | ## License 35 | 36 | ViaBus is available under the MIT license. See the LICENSE file for more info. 37 | -------------------------------------------------------------------------------- /ViaBus.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint ViaBus.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'ViaBus' 11 | s.version = '0.0.1' 12 | s.summary = 'A deligthful event bus for iOS.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A deligthful event bus for iOS based on NSNotification. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/bbc6bae9/ViaBus' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'bbc6bae9' => 'chinahuanghong@gmail.com' } 28 | s.source = { :git => 'https://github.com/bbc6bae9/ViaBus.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '9.0' 32 | 33 | s.source_files = 'ViaBus/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'ViaBus' => ['ViaBus/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /ViaBus/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBC6BAE9/viabus/ddeab17295a6212148207fad3c61a4ac96bf6667/ViaBus/Assets/.gitkeep -------------------------------------------------------------------------------- /ViaBus/Classes/Bus/ViaBus.h: -------------------------------------------------------------------------------- 1 | // 2 | // BBEventBus.h 3 | // HHEventBus 4 | // 5 | // Created by huanghong on 2019/11/22. 6 | // Copyright © 2019 bobo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | #define VIABUS [ViaBus sharedInstance] 13 | typedef void (^handler)(NSString *eventName ,id object); 14 | 15 | @interface ViaBus : NSObject 16 | 17 | /// 单例 18 | + (instancetype)sharedInstance; 19 | 20 | /// 发布广播 21 | /// @param eventName 事件名称 22 | - (void)publishNotification:(NSString *)eventName; 23 | 24 | /// 发布广播 25 | /// @param eventName 事件名称 26 | /// @param broadcastContent 广播内容 27 | - (void)publishNotification:(NSString *)eventName broadcastContent:(id)broadcastContent; 28 | 29 | /// 订阅消息 30 | /// @param eventName 事件名称 31 | /// @param target 注册事件通知的收信人 32 | /// @param handler 处理handler 33 | - (void)subscribeEventWithEventname:(NSString *)eventName andTaget:(id _Nonnull)target handler:(handler)handler; 34 | 35 | /// 取消订阅 36 | /// @param eventName 事件名称 37 | /// @param target 注册事件通知的收信人 38 | - (void)unsubscribeEventWithEventName:(NSString *)eventName target:(id)target; 39 | @end 40 | 41 | NS_ASSUME_NONNULL_END 42 | -------------------------------------------------------------------------------- /ViaBus/Classes/Bus/ViaBus.m: -------------------------------------------------------------------------------- 1 | // 2 | // EventBus.m 3 | // HHEventBus 4 | // 5 | // Created by huanghong on 2019/11/22. 6 | // Copyright © 2019 huang. All rights reserved. 7 | // 8 | 9 | #import "ViaBus.h" 10 | #import "NSObject+RFDestoryNotify.h" 11 | 12 | static ViaBus * _instance = nil; 13 | 14 | @interface ViaBus() 15 | 16 | @property(nonatomic, strong) NSMutableArray *registList; // 注册数组 17 | 18 | @end 19 | 20 | @implementation ViaBus 21 | 22 | + (instancetype)sharedInstance { 23 | if (!_instance) { 24 | _instance = [[super allocWithZone:NULL] init] ; 25 | } 26 | return _instance; 27 | } 28 | 29 | + (id)allocWithZone:(struct _NSZone *)zone{ 30 | return [ViaBus sharedInstance] ; 31 | } 32 | 33 | - (id)copyWithZone:(struct _NSZone *)zone{ 34 | return [ViaBus sharedInstance]; 35 | } 36 | 37 | // 初始化方法 38 | - (instancetype)init{ 39 | if ([super init]) { 40 | [self commonInit]; 41 | } 42 | return self; 43 | } 44 | 45 | - (void)commonInit{ 46 | self.registList = @[].mutableCopy; 47 | } 48 | 49 | /// 发送通知 50 | /// @param eventName 事件名称 51 | - (void)publishNotification:(NSString *)eventName{ 52 | [self publishNotification:eventName broadcastContent:nil]; 53 | } 54 | 55 | /// 发送通知 56 | /// @param eventName 事件名称 57 | /// @param broadcastContent 广播内容 58 | - (void)publishNotification:(NSString *)eventName broadcastContent:(id)broadcastContent{ 59 | dispatch_async(dispatch_get_main_queue(), ^{ 60 | [[NSNotificationCenter defaultCenter] postNotificationName:eventName object:broadcastContent]; 61 | }); 62 | } 63 | 64 | // 订阅某一事件 65 | - (void)subscribeEventWithEventname:(NSString *)name andTaget:(id _Nonnull)target handler:(handler)handler{ 66 | 67 | if (!(name && name.length>0 && handler)){ 68 | return; 69 | } 70 | 71 | // 如果有相同名称的监听,就不要继续添加监听了 72 | if ([self eventNeedRegist:name]) { 73 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(noti:) name:name object:nil]; 74 | } 75 | 76 | NSString *identifier = [NSString stringWithFormat:@"%p_%@",&target, name]; 77 | NSDictionary *valueDic = @{ 78 | @"identifier":identifier, // identifier 是每一个监听的标识符 79 | @"handler":handler // handler 唯一标识符对应的回调 80 | }; 81 | [self.registList addObject:valueDic]; 82 | 83 | __weak typeof(self) weakSelf = self; 84 | // target 实例被释放 85 | [target rfDestoryNotifySetName:identifier userInfo:valueDic block:^(RFDestoryNotify *notify) { 86 | if (notify.name) { 87 | NSString *identifier = notify.name; 88 | NSString *name = [identifier componentsSeparatedByString:@"_"].lastObject; 89 | [weakSelf deleteRegitserArrElementWithIdentifier:identifier]; 90 | if ([weakSelf isExistEvent:name]) return; // 如果这个eventName还存在说明当前还需要监听,不需要移除 91 | [[NSNotificationCenter defaultCenter] removeObserver:weakSelf name:name object:nil]; 92 | } 93 | }]; 94 | 95 | } 96 | 97 | // Notification 98 | - (void)noti:(NSNotification *)not { 99 | if (not) { 100 | NSString *name = not.name; 101 | for (NSDictionary *dic in self.registList) { 102 | handler handler = dic[@"handler"]; 103 | handler(name, not.object); 104 | } 105 | } 106 | } 107 | 108 | - (void)unsubscribeEventWithEventName:(NSString *)eventName target:(id)target{ 109 | NSString *identifier = [NSString stringWithFormat:@"%p_%@",&target, eventName]; 110 | NSString *name = eventName; 111 | [self deleteRegitserArrElementWithIdentifier:identifier]; 112 | if ([self isExistEvent:name]) return; // 如果这个eventName还存在说明当前还需要监听,不需要移除 113 | [[NSNotificationCenter defaultCenter] removeObserver:self name:name object:nil]; 114 | } 115 | 116 | // 根据唯一标识符删除注册 117 | - (void)deleteRegitserArrElementWithIdentifier:(NSString *)identifier{ 118 | NSMutableArray *tempArr = @[].mutableCopy; 119 | for (int i = 0; i 10 | 11 | @class RFDestoryNotify; 12 | 13 | typedef void(^RFDestoryNotifyBlock)(RFDestoryNotify *notify); 14 | 15 | @interface RFDestoryNotify : NSObject 16 | { 17 | 18 | } 19 | @property (nonatomic, strong) NSString *name; 20 | @property (nonatomic, strong) NSDictionary *userInfo; 21 | @property (nonatomic, strong) RFDestoryNotifyBlock block; 22 | 23 | @end 24 | 25 | @interface NSObject (RFDestoryNotify) 26 | - (NSMutableDictionary *)rfDestoryNotifyDictionary; 27 | - (void)rfDestoryNotifySetName:(NSString *)name block:(RFDestoryNotifyBlock)block; 28 | - (void)rfDestoryNotifySetName:(NSString *)name userInfo:(NSDictionary *)userInfo block:(RFDestoryNotifyBlock)block; 29 | - (void)rfDestoryNotifyRemoveWithName:(NSString *)name; 30 | @end -------------------------------------------------------------------------------- /ViaBus/Classes/Category/NSObject+RFDestoryNotify.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+RFDestoryNotify.m 3 | // RF 4 | // 5 | // Created by gouzhehua on 15-2-12. 6 | // Copyright (c) 2015年 RF. All rights reserved. 7 | // 8 | 9 | #import "NSObject+RFDestoryNotify.h" 10 | #import 11 | 12 | @interface RFDestoryNotify () 13 | @end 14 | 15 | @implementation RFDestoryNotify 16 | @synthesize name = _name; 17 | @synthesize userInfo = _userInfo; 18 | @synthesize block = _block; 19 | 20 | - (void)dealloc 21 | { 22 | RFDestoryNotifyBlock block = [self block]; 23 | if (block != nil) 24 | { 25 | block(self); 26 | } 27 | 28 | _block = nil; 29 | _userInfo = nil; 30 | _name = nil; 31 | } 32 | 33 | @end 34 | 35 | @implementation NSObject (RFDestoryNotify) 36 | 37 | - (NSMutableDictionary *)rfDestoryNotifyDictionary 38 | { 39 | static void * kStorageKey = "kDestoryNotifyDictionary"; 40 | NSMutableDictionary *dict = (NSMutableDictionary *)objc_getAssociatedObject(self, kStorageKey); 41 | if (dict == nil) 42 | { 43 | dict = [NSMutableDictionary dictionary]; 44 | objc_setAssociatedObject(self, kStorageKey, dict, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 45 | } 46 | return dict; 47 | } 48 | 49 | - (void)rfDestoryNotifySetName:(NSString *)name block:(RFDestoryNotifyBlock)block 50 | { 51 | [self rfDestoryNotifySetName:name userInfo:nil block:block]; 52 | } 53 | 54 | - (void)rfDestoryNotifySetName:(NSString *)name userInfo:(NSDictionary *)userInfo block:(RFDestoryNotifyBlock)block 55 | { 56 | [self rfDestoryNotifyRemoveWithName:name]; 57 | 58 | RFDestoryNotify *dn = [[RFDestoryNotify alloc] init]; 59 | dn.name = name; 60 | dn.block = block; 61 | dn.userInfo = userInfo; 62 | [[self rfDestoryNotifyDictionary] setObject:dn forKey:name]; 63 | } 64 | 65 | - (void)rfDestoryNotifyRemoveWithName:(NSString *)name 66 | { 67 | NSMutableDictionary *dict = [self rfDestoryNotifyDictionary]; 68 | RFDestoryNotify *dn = [dict objectForKey:name]; 69 | if (dn != nil) 70 | { 71 | dn.block = nil; 72 | dn.userInfo = nil; 73 | [dict removeObjectForKey:name]; 74 | dn = nil; 75 | } 76 | } 77 | 78 | @end 79 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBC6BAE9/viabus/ddeab17295a6212148207fad3c61a4ac96bf6667/arch.png -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBC6BAE9/viabus/ddeab17295a6212148207fad3c61a4ac96bf6667/logo.png --------------------------------------------------------------------------------