├── .gitignore ├── .swift-version ├── .travis.yml ├── AAObnoxiousFilter.podspec ├── AAObnoxiousFilter ├── Assets │ └── nsfw.bin └── Classes │ ├── AAObnoxiousFilter+Helper.swift │ ├── AAObnoxiousFilter.swift │ └── CoreML+Helper.swift ├── Example ├── AAObnoxiousFilter.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── AAObnoxiousFilter-Example.xcscheme ├── AAObnoxiousFilter.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── AAObnoxiousFilter │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AA.imageset │ │ │ ├── 17049477.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ └── Icon-Small-50x50@2x.png │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── AAObnoxiousFilter.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── AAObnoxiousFilter │ │ ├── AAObnoxiousFilter-Info.plist │ │ ├── AAObnoxiousFilter-dummy.m │ │ ├── AAObnoxiousFilter-prefix.pch │ │ ├── AAObnoxiousFilter-umbrella.h │ │ ├── AAObnoxiousFilter.modulemap │ │ └── AAObnoxiousFilter.xcconfig │ │ ├── Pods-AAObnoxiousFilter_Example │ │ ├── Pods-AAObnoxiousFilter_Example-Info.plist │ │ ├── Pods-AAObnoxiousFilter_Example-acknowledgements.markdown │ │ ├── Pods-AAObnoxiousFilter_Example-acknowledgements.plist │ │ ├── Pods-AAObnoxiousFilter_Example-dummy.m │ │ ├── Pods-AAObnoxiousFilter_Example-frameworks.sh │ │ ├── Pods-AAObnoxiousFilter_Example-umbrella.h │ │ ├── Pods-AAObnoxiousFilter_Example.debug.xcconfig │ │ ├── Pods-AAObnoxiousFilter_Example.modulemap │ │ └── Pods-AAObnoxiousFilter_Example.release.xcconfig │ │ └── Pods-AAObnoxiousFilter_Tests │ │ ├── Pods-AAObnoxiousFilter_Tests-Info.plist │ │ ├── Pods-AAObnoxiousFilter_Tests-acknowledgements.markdown │ │ ├── Pods-AAObnoxiousFilter_Tests-acknowledgements.plist │ │ ├── Pods-AAObnoxiousFilter_Tests-dummy.m │ │ ├── Pods-AAObnoxiousFilter_Tests-umbrella.h │ │ ├── Pods-AAObnoxiousFilter_Tests.debug.xcconfig │ │ ├── Pods-AAObnoxiousFilter_Tests.modulemap │ │ └── Pods-AAObnoxiousFilter_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.2 2 | -------------------------------------------------------------------------------- /.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/AAObnoxiousFilter.xcworkspace -scheme AAObnoxiousFilter-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AAObnoxiousFilter.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint AAObnoxiousFilter.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 = 'AAObnoxiousFilter' 11 | s.version = '0.1.0' 12 | s.summary = 'Simple Profanity (Obnoxious) Filter written in Swift.' 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 | Simple Profanity (Obnoxious) Filter for images written in Swift. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/EngrAhsanAli/AAObnoxiousFilter' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'EngrAhsanAli' => 'hafiz.m.ahsan.ali@gmail.com' } 28 | s.source = { :git => 'https://github.com/EngrAhsanAli/AAObnoxiousFilter.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '11.0' 32 | s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' } 33 | 34 | s.source_files = 'AAObnoxiousFilter/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'AAObnoxiousFilter' => ['AAObnoxiousFilter/Assets/*.png'] 38 | # } 39 | 40 | # s.public_header_files = 'Pod/Classes/**/*.h' 41 | # s.frameworks = 'UIKit', 'MapKit' 42 | # s.dependency 'AFNetworking', '~> 2.3' 43 | end 44 | -------------------------------------------------------------------------------- /AAObnoxiousFilter/Assets/nsfw.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/AAObnoxiousFilter/Assets/nsfw.bin -------------------------------------------------------------------------------- /AAObnoxiousFilter/Classes/AAObnoxiousFilter+Helper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AAObnoxiousFilter+Helper.swift 3 | // AAObnoxiousFilter 4 | // 5 | // Created by M. Ahsan Ali on 03/03/2019. 6 | // 7 | 8 | import UIKit 9 | 10 | // MARK: - UIImage 11 | extension UIImage { 12 | 13 | func buffer() -> CVPixelBuffer? { 14 | var pixelBuffer: CVPixelBuffer? = nil 15 | 16 | let width = 224 17 | let height = 224 18 | 19 | let attrs = [kCVPixelBufferCGImageCompatibilityKey: kCFBooleanTrue, kCVPixelBufferCGBitmapContextCompatibilityKey: kCFBooleanTrue] as CFDictionary 20 | CVPixelBufferCreate(kCFAllocatorDefault, width, height, kCVPixelFormatType_32ARGB, attrs, &pixelBuffer) 21 | CVPixelBufferLockBaseAddress(pixelBuffer!, CVPixelBufferLockFlags(rawValue:0)) 22 | 23 | let colorspace = CGColorSpaceCreateDeviceRGB() 24 | let bitmapContext = CGContext(data: CVPixelBufferGetBaseAddress(pixelBuffer!), width: width, height: height, bitsPerComponent: 8, bytesPerRow: CVPixelBufferGetBytesPerRow(pixelBuffer!), space: colorspace, bitmapInfo: CGImageAlphaInfo.noneSkipFirst.rawValue)! 25 | 26 | bitmapContext.draw(self.cgImage!, in: CGRect(x: 0, y: 0, width: width, height: height)) 27 | 28 | return pixelBuffer 29 | } 30 | 31 | public func predictImage() -> Double? { 32 | return AAObnoxiousFilter.shared.predict(self) 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /AAObnoxiousFilter/Classes/AAObnoxiousFilter.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AAObnoxiousFilter.swift 3 | // AAObnoxiousFilter 4 | // 5 | // Created by M. Ahsan Ali on 03/03/2019. 6 | // 7 | 8 | import UIKit 9 | import CoreML 10 | 11 | open class AAObnoxiousFilter: NSObject { 12 | 13 | private override init() { 14 | 15 | guard 16 | let bundle = Bundle(identifier: "org.cocoapods.AAObnoxiousFilter"), 17 | let url = bundle.url(forResource: "nsfw", withExtension: "bin"), 18 | let compiledURL = try? MLModel.compileModel(at: url), 19 | let model = try? MLModel(contentsOf: compiledURL) else { 20 | print("Something went wrong with CoreML") 21 | return 22 | } 23 | _model = nsfw(model: model) 24 | } 25 | 26 | public static let shared = AAObnoxiousFilter() 27 | 28 | private var _model: nsfw? 29 | 30 | open func predict(_ image: UIImage) -> Double? { 31 | 32 | // Convert UIImage to CVPixelBuffer and predicting 33 | guard let buffer = image.buffer(), 34 | let model = _model, 35 | let output = try? model.prediction(data: buffer) else { 36 | return nil // Nothing -- as image is not valid 37 | } 38 | 39 | // Grab the result from prediction 40 | return output.prob[1].doubleValue 41 | } 42 | 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /AAObnoxiousFilter/Classes/CoreML+Helper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CoreML+Helper.swift 3 | // CoreML+Helper 4 | // 5 | // Created by M. Ahsan Ali on 03/03/2019. 6 | // 7 | 8 | import CoreML 9 | 10 | 11 | /// Model Prediction Input Type 12 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) 13 | class nsfwInput : MLFeatureProvider { 14 | 15 | /// data as color (kCVPixelFormatType_32BGRA) image buffer, 224 pixels wide by 224 pixels high 16 | var data: CVPixelBuffer 17 | 18 | var featureNames: Set { 19 | get { 20 | return ["data"] 21 | } 22 | } 23 | 24 | func featureValue(for featureName: String) -> MLFeatureValue? { 25 | if (featureName == "data") { 26 | return MLFeatureValue(pixelBuffer: data) 27 | } 28 | return nil 29 | } 30 | 31 | init(data: CVPixelBuffer) { 32 | self.data = data 33 | } 34 | } 35 | 36 | /// Model Prediction Output Type 37 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) 38 | class nsfwOutput : MLFeatureProvider { 39 | 40 | /// Source provided by CoreML 41 | 42 | private let provider : MLFeatureProvider 43 | 44 | /// prob as multidimensional array of doubles 45 | lazy var prob: MLMultiArray = { 46 | [unowned self] in return self.provider.featureValue(for: "prob")!.multiArrayValue 47 | }()! 48 | 49 | var featureNames: Set { 50 | return self.provider.featureNames 51 | } 52 | 53 | func featureValue(for featureName: String) -> MLFeatureValue? { 54 | return self.provider.featureValue(for: featureName) 55 | } 56 | 57 | init(prob: MLMultiArray) { 58 | self.provider = try! MLDictionaryFeatureProvider(dictionary: ["prob" : MLFeatureValue(multiArray: prob)]) 59 | } 60 | 61 | init(features: MLFeatureProvider) { 62 | self.provider = features 63 | } 64 | } 65 | 66 | 67 | /// Class for model loading and prediction 68 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) 69 | class nsfw { 70 | var model: MLModel 71 | 72 | init(model: MLModel) { 73 | self.model = model 74 | } 75 | 76 | /** 77 | Make a prediction using the structured interface 78 | - parameters: 79 | - input: the input to the prediction as nsfwInput 80 | - throws: an NSError object that describes the problem 81 | - returns: the result of the prediction as nsfwOutput 82 | */ 83 | func prediction(input: nsfwInput) throws -> nsfwOutput { 84 | return try self.prediction(input: input, options: MLPredictionOptions()) 85 | } 86 | 87 | /** 88 | Make a prediction using the structured interface 89 | - parameters: 90 | - input: the input to the prediction as nsfwInput 91 | - options: prediction options 92 | - throws: an NSError object that describes the problem 93 | - returns: the result of the prediction as nsfwOutput 94 | */ 95 | func prediction(input: nsfwInput, options: MLPredictionOptions) throws -> nsfwOutput { 96 | let outFeatures = try model.prediction(from: input, options:options) 97 | return nsfwOutput(features: outFeatures) 98 | } 99 | 100 | /** 101 | Make a prediction using the convenience interface 102 | - parameters: 103 | - data as color (kCVPixelFormatType_32BGRA) image buffer, 224 pixels wide by 224 pixels high 104 | - throws: an NSError object that describes the problem 105 | - returns: the result of the prediction as nsfwOutput 106 | */ 107 | func prediction(data: CVPixelBuffer) throws -> nsfwOutput { 108 | let input_ = nsfwInput(data: data) 109 | return try self.prediction(input: input_) 110 | } 111 | 112 | /** 113 | Make a batch prediction using the structured interface 114 | - parameters: 115 | - inputs: the inputs to the prediction as [nsfwInput] 116 | - options: prediction options 117 | - throws: an NSError object that describes the problem 118 | - returns: the result of the prediction as [nsfwOutput] 119 | */ 120 | @available(macOS 10.14, iOS 12.0, tvOS 12.0, watchOS 5.0, *) 121 | func predictions(inputs: [nsfwInput], options: MLPredictionOptions = MLPredictionOptions()) throws -> [nsfwOutput] { 122 | let batchIn = MLArrayBatchProvider(array: inputs) 123 | let batchOut = try model.predictions(from: batchIn, options: options) 124 | var results : [nsfwOutput] = [] 125 | results.reserveCapacity(inputs.count) 126 | for i in 0.. /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"; 254 | showEnvVarsInLog = 0; 255 | }; 256 | /* End PBXShellScriptBuildPhase section */ 257 | 258 | /* Begin PBXSourcesBuildPhase section */ 259 | 607FACCC1AFB9204008FA782 /* Sources */ = { 260 | isa = PBXSourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 264 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 265 | ); 266 | runOnlyForDeploymentPostprocessing = 0; 267 | }; 268 | /* End PBXSourcesBuildPhase section */ 269 | 270 | /* Begin PBXVariantGroup section */ 271 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 272 | isa = PBXVariantGroup; 273 | children = ( 274 | 607FACDA1AFB9204008FA782 /* Base */, 275 | ); 276 | name = Main.storyboard; 277 | sourceTree = ""; 278 | }; 279 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 280 | isa = PBXVariantGroup; 281 | children = ( 282 | 607FACDF1AFB9204008FA782 /* Base */, 283 | ); 284 | name = LaunchScreen.xib; 285 | sourceTree = ""; 286 | }; 287 | /* End PBXVariantGroup section */ 288 | 289 | /* Begin XCBuildConfiguration section */ 290 | 607FACED1AFB9204008FA782 /* Debug */ = { 291 | isa = XCBuildConfiguration; 292 | buildSettings = { 293 | ALWAYS_SEARCH_USER_PATHS = NO; 294 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 295 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 296 | CLANG_CXX_LIBRARY = "libc++"; 297 | CLANG_ENABLE_MODULES = YES; 298 | CLANG_ENABLE_OBJC_ARC = YES; 299 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 300 | CLANG_WARN_BOOL_CONVERSION = YES; 301 | CLANG_WARN_COMMA = YES; 302 | CLANG_WARN_CONSTANT_CONVERSION = YES; 303 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 304 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 305 | CLANG_WARN_EMPTY_BODY = YES; 306 | CLANG_WARN_ENUM_CONVERSION = YES; 307 | CLANG_WARN_INFINITE_RECURSION = YES; 308 | CLANG_WARN_INT_CONVERSION = YES; 309 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 310 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 311 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 312 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 313 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 314 | CLANG_WARN_STRICT_PROTOTYPES = YES; 315 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 316 | CLANG_WARN_UNREACHABLE_CODE = YES; 317 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 318 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 319 | COPY_PHASE_STRIP = NO; 320 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 321 | ENABLE_STRICT_OBJC_MSGSEND = YES; 322 | ENABLE_TESTABILITY = YES; 323 | GCC_C_LANGUAGE_STANDARD = gnu99; 324 | GCC_DYNAMIC_NO_PIC = NO; 325 | GCC_NO_COMMON_BLOCKS = YES; 326 | GCC_OPTIMIZATION_LEVEL = 0; 327 | GCC_PREPROCESSOR_DEFINITIONS = ( 328 | "DEBUG=1", 329 | "$(inherited)", 330 | ); 331 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 332 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 333 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 334 | GCC_WARN_UNDECLARED_SELECTOR = YES; 335 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 336 | GCC_WARN_UNUSED_FUNCTION = YES; 337 | GCC_WARN_UNUSED_VARIABLE = YES; 338 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 339 | MTL_ENABLE_DEBUG_INFO = YES; 340 | ONLY_ACTIVE_ARCH = YES; 341 | SDKROOT = iphoneos; 342 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 343 | }; 344 | name = Debug; 345 | }; 346 | 607FACEE1AFB9204008FA782 /* Release */ = { 347 | isa = XCBuildConfiguration; 348 | buildSettings = { 349 | ALWAYS_SEARCH_USER_PATHS = NO; 350 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 351 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 352 | CLANG_CXX_LIBRARY = "libc++"; 353 | CLANG_ENABLE_MODULES = YES; 354 | CLANG_ENABLE_OBJC_ARC = YES; 355 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 356 | CLANG_WARN_BOOL_CONVERSION = YES; 357 | CLANG_WARN_COMMA = YES; 358 | CLANG_WARN_CONSTANT_CONVERSION = YES; 359 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 360 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 361 | CLANG_WARN_EMPTY_BODY = YES; 362 | CLANG_WARN_ENUM_CONVERSION = YES; 363 | CLANG_WARN_INFINITE_RECURSION = YES; 364 | CLANG_WARN_INT_CONVERSION = YES; 365 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 366 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 367 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 368 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 369 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 370 | CLANG_WARN_STRICT_PROTOTYPES = YES; 371 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 372 | CLANG_WARN_UNREACHABLE_CODE = YES; 373 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 374 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 375 | COPY_PHASE_STRIP = NO; 376 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 377 | ENABLE_NS_ASSERTIONS = NO; 378 | ENABLE_STRICT_OBJC_MSGSEND = YES; 379 | GCC_C_LANGUAGE_STANDARD = gnu99; 380 | GCC_NO_COMMON_BLOCKS = YES; 381 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 382 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 383 | GCC_WARN_UNDECLARED_SELECTOR = YES; 384 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 385 | GCC_WARN_UNUSED_FUNCTION = YES; 386 | GCC_WARN_UNUSED_VARIABLE = YES; 387 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 388 | MTL_ENABLE_DEBUG_INFO = NO; 389 | SDKROOT = iphoneos; 390 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 391 | VALIDATE_PRODUCT = YES; 392 | }; 393 | name = Release; 394 | }; 395 | 607FACF01AFB9204008FA782 /* Debug */ = { 396 | isa = XCBuildConfiguration; 397 | baseConfigurationReference = 37A9A2663F6C1D3DC9830C38 /* Pods-AAObnoxiousFilter_Example.debug.xcconfig */; 398 | buildSettings = { 399 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 400 | DEVELOPMENT_TEAM = UJ7797V5XZ; 401 | INFOPLIST_FILE = AAObnoxiousFilter/Info.plist; 402 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 403 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 404 | MODULE_NAME = ExampleApp; 405 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 406 | PRODUCT_NAME = "$(TARGET_NAME)"; 407 | SWIFT_VERSION = 5.0; 408 | }; 409 | name = Debug; 410 | }; 411 | 607FACF11AFB9204008FA782 /* Release */ = { 412 | isa = XCBuildConfiguration; 413 | baseConfigurationReference = CBE5BEE38B67AE3D8B0131A0 /* Pods-AAObnoxiousFilter_Example.release.xcconfig */; 414 | buildSettings = { 415 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 416 | DEVELOPMENT_TEAM = UJ7797V5XZ; 417 | INFOPLIST_FILE = AAObnoxiousFilter/Info.plist; 418 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 419 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 420 | MODULE_NAME = ExampleApp; 421 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 422 | PRODUCT_NAME = "$(TARGET_NAME)"; 423 | SWIFT_VERSION = 5.0; 424 | }; 425 | name = Release; 426 | }; 427 | /* End XCBuildConfiguration section */ 428 | 429 | /* Begin XCConfigurationList section */ 430 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AAObnoxiousFilter" */ = { 431 | isa = XCConfigurationList; 432 | buildConfigurations = ( 433 | 607FACED1AFB9204008FA782 /* Debug */, 434 | 607FACEE1AFB9204008FA782 /* Release */, 435 | ); 436 | defaultConfigurationIsVisible = 0; 437 | defaultConfigurationName = Release; 438 | }; 439 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AAObnoxiousFilter_Example" */ = { 440 | isa = XCConfigurationList; 441 | buildConfigurations = ( 442 | 607FACF01AFB9204008FA782 /* Debug */, 443 | 607FACF11AFB9204008FA782 /* Release */, 444 | ); 445 | defaultConfigurationIsVisible = 0; 446 | defaultConfigurationName = Release; 447 | }; 448 | /* End XCConfigurationList section */ 449 | }; 450 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 451 | } 452 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter.xcodeproj/xcshareddata/xcschemes/AAObnoxiousFilter-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AAObnoxiousFilter 4 | // 5 | // Created by EngrAhsanAli on 02/25/2019. 6 | // Copyright (c) 2019 EngrAhsanAli. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 27 | 28 | 29 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/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 | 39 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AA.imageset/17049477.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AA.imageset/17049477.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AA.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "17049477.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "57x57", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-57x57@1x.png", 49 | "scale" : "1x" 50 | }, 51 | { 52 | "size" : "57x57", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-57x57@2x.png", 55 | "scale" : "2x" 56 | }, 57 | { 58 | "size" : "60x60", 59 | "idiom" : "iphone", 60 | "filename" : "Icon-App-60x60@2x.png", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "size" : "60x60", 65 | "idiom" : "iphone", 66 | "filename" : "Icon-App-60x60@3x.png", 67 | "scale" : "3x" 68 | }, 69 | { 70 | "size" : "20x20", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-20x20@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "20x20", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-20x20@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "29x29", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-29x29@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "29x29", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-29x29@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "40x40", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-40x40@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "40x40", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-40x40@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "50x50", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-Small-50x50@1x.png", 109 | "scale" : "1x" 110 | }, 111 | { 112 | "size" : "50x50", 113 | "idiom" : "ipad", 114 | "filename" : "Icon-Small-50x50@2x.png", 115 | "scale" : "2x" 116 | }, 117 | { 118 | "size" : "72x72", 119 | "idiom" : "ipad", 120 | "filename" : "Icon-App-72x72@1x.png", 121 | "scale" : "1x" 122 | }, 123 | { 124 | "size" : "72x72", 125 | "idiom" : "ipad", 126 | "filename" : "Icon-App-72x72@2x.png", 127 | "scale" : "2x" 128 | }, 129 | { 130 | "size" : "76x76", 131 | "idiom" : "ipad", 132 | "filename" : "Icon-App-76x76@1x.png", 133 | "scale" : "1x" 134 | }, 135 | { 136 | "size" : "76x76", 137 | "idiom" : "ipad", 138 | "filename" : "Icon-App-76x76@2x.png", 139 | "scale" : "2x" 140 | }, 141 | { 142 | "size" : "83.5x83.5", 143 | "idiom" : "ipad", 144 | "filename" : "Icon-App-83.5x83.5@2x.png", 145 | "scale" : "2x" 146 | }, 147 | { 148 | "idiom" : "ios-marketing", 149 | "size" : "1024x1024", 150 | "scale" : "1x" 151 | } 152 | ], 153 | "info" : { 154 | "version" : 1, 155 | "author" : "xcode" 156 | } 157 | } -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AAObnoxiousFilter/1bfc5fa296e359c199a100c9260c52f6e5d93346/Example/AAObnoxiousFilter/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/AAObnoxiousFilter/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AAObnoxiousFilter 4 | // 5 | // Created by EngrAhsanAli on 02/25/2019. 6 | // Copyright (c) 2019 EngrAhsanAli. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AAObnoxiousFilter 11 | 12 | class ViewController: UIViewController { 13 | 14 | // MARK: - IBOutlets 15 | @IBOutlet weak var photo: UIImageView! 16 | @IBOutlet weak var answerLabel: UILabel! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | // Do any additional setup after loading the view, typically from a nib. 21 | } 22 | 23 | override func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | // Dispose of any resources that can be recreated. 26 | } 27 | 28 | } 29 | 30 | // MARK: - IBActions 31 | extension ViewController { 32 | 33 | @IBAction func pickImage(_ sender: Any) { 34 | let pickerController = UIImagePickerController() 35 | pickerController.delegate = self 36 | pickerController.sourceType = .savedPhotosAlbum 37 | present(pickerController, animated: true) 38 | } 39 | 40 | func detectPhoto(image: UIImage) { 41 | answerLabel.text = "predicting..." 42 | answerLabel.textAlignment = .center 43 | 44 | if let prediction = image.predictImage() { 45 | self.answerLabel.text = String(format: "%.6f", prediction) 46 | } 47 | else { 48 | self.answerLabel.text = "Something went wrong with the provided image" 49 | } 50 | } 51 | } 52 | 53 | // MARK: - UIImagePickerControllerDelegate 54 | extension ViewController: UIImagePickerControllerDelegate { 55 | 56 | func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { 57 | 58 | dismiss(animated: true) 59 | 60 | guard let image = info[UIImagePickerController.InfoKey.originalImage] as? UIImage else { 61 | fatalError("Can not load image from Photos") 62 | } 63 | 64 | photo.image = image 65 | detectPhoto(image: image) 66 | 67 | } 68 | 69 | 70 | } 71 | 72 | // MARK: - UINavigationControllerDelegate 73 | extension ViewController: UINavigationControllerDelegate { 74 | } 75 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AAObnoxiousFilter_Example' do 4 | pod 'AAObnoxiousFilter', :path => '../' 5 | 6 | target 'AAObnoxiousFilter_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AAObnoxiousFilter (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AAObnoxiousFilter (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AAObnoxiousFilter: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AAObnoxiousFilter: c2db10234cc4b212b421a07b7f7396db69b1a620 13 | 14 | PODFILE CHECKSUM: 9cae60bc3135564d51261a791942f5dcb72ca3c8 15 | 16 | COCOAPODS: 1.6.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AAObnoxiousFilter.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AAObnoxiousFilter", 3 | "version": "0.1.0", 4 | "summary": "A short description of AAObnoxiousFilter.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/EngrAhsanAli/AAObnoxiousFilter", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "EngrAhsanAli": "hafiz.m.ahsan.ali@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/EngrAhsanAli/AAObnoxiousFilter.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "AAObnoxiousFilter/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AAObnoxiousFilter (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AAObnoxiousFilter (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AAObnoxiousFilter: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AAObnoxiousFilter: c2db10234cc4b212b421a07b7f7396db69b1a620 13 | 14 | PODFILE CHECKSUM: 9cae60bc3135564d51261a791942f5dcb72ca3c8 15 | 16 | COCOAPODS: 1.6.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 14D9E7425E7FACC17D6BAAD0AF9E0609 /* Pods-AAObnoxiousFilter_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AEC12F5A51BA23FC809F37ACDEA31127 /* Pods-AAObnoxiousFilter_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1BD42C7BCE22F67D4CACAC1589061F7B /* Pods-AAObnoxiousFilter_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B815495CE1964ACC639ED8D4F788A11 /* Pods-AAObnoxiousFilter_Tests-dummy.m */; }; 12 | 2AD405FE30100FB717AF630808FB1176 /* Pods-AAObnoxiousFilter_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C7D9EE5CE22792DC033F949A48F6D88B /* Pods-AAObnoxiousFilter_Example-dummy.m */; }; 13 | 2F0C1DDF4DCB466F369039FA31CF3B50 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 14 | 3104622673AAE63C4193866B0BBD924B /* AAObnoxiousFilter-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 18D4844502941A7404B75A4947EA8EE2 /* AAObnoxiousFilter-dummy.m */; }; 15 | 666DE66FCE29F0A794E094A08E413C59 /* Pods-AAObnoxiousFilter_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 29057B4084B06CB292CB5799F8A88E1D /* Pods-AAObnoxiousFilter_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 8F61D580222B2313003DEC38 /* AAObnoxiousFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F61D57F222B2313003DEC38 /* AAObnoxiousFilter.swift */; }; 17 | 8F61D582222B2358003DEC38 /* AAObnoxiousFilter+Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F61D581222B2358003DEC38 /* AAObnoxiousFilter+Helper.swift */; }; 18 | 8F61D583222B3437003DEC38 /* nsfw.bin in Resources */ = {isa = PBXBuildFile; fileRef = 8F61D57A222B2250003DEC38 /* nsfw.bin */; }; 19 | 8F61D585222B3708003DEC38 /* CoreML+Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F61D584222B3708003DEC38 /* CoreML+Helper.swift */; }; 20 | B310CC6A334DDD6B4A8325326D26D50F /* AAObnoxiousFilter-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7CCDDDD0A3EF4E770D2D78804B740F08 /* AAObnoxiousFilter-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | C1A77348F2F40A2FE98B1D0F58E51D15 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 22 | CDA21D34352A7CB773197EF7B4277D34 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | B2B6C028A77D5150BF07FD2931358491 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = A9BDD1BCFF7FB190167DA3A357248CBA; 31 | remoteInfo = "Pods-AAObnoxiousFilter_Example"; 32 | }; 33 | EEB3E55EBC2D8D75C52B5C78273B24CF /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = C19048CA69E6FBC252670C11DAA22D0C; 38 | remoteInfo = AAObnoxiousFilter; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 18D4844502941A7404B75A4947EA8EE2 /* AAObnoxiousFilter-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AAObnoxiousFilter-dummy.m"; sourceTree = ""; }; 44 | 29057B4084B06CB292CB5799F8A88E1D /* Pods-AAObnoxiousFilter_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AAObnoxiousFilter_Example-umbrella.h"; sourceTree = ""; }; 45 | 41ED4546B4382C8BC4C300A1A4AE40A5 /* Pods-AAObnoxiousFilter_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AAObnoxiousFilter_Tests.modulemap"; sourceTree = ""; }; 46 | 51C6DED61D3AFC8761E8B56FC6DE20CB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 47 | 5319A84FDF668EDA871664A47FD84758 /* Pods-AAObnoxiousFilter_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AAObnoxiousFilter_Tests-acknowledgements.plist"; sourceTree = ""; }; 48 | 5984468B7D1E25E3420B30BB3E533D5C /* Pods-AAObnoxiousFilter_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AAObnoxiousFilter_Example-acknowledgements.plist"; sourceTree = ""; }; 49 | 5B815495CE1964ACC639ED8D4F788A11 /* Pods-AAObnoxiousFilter_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AAObnoxiousFilter_Tests-dummy.m"; sourceTree = ""; }; 50 | 5BB38A1147C1F1DDAC46EF022291B03F /* AAObnoxiousFilter.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AAObnoxiousFilter.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 5D0B70E3696EE978165BC27CE613DD98 /* Pods-AAObnoxiousFilter_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AAObnoxiousFilter_Example.release.xcconfig"; sourceTree = ""; }; 52 | 5DB80A9E0F6707FFDB8DA75FB6E39966 /* AAObnoxiousFilter-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AAObnoxiousFilter-Info.plist"; sourceTree = ""; }; 53 | 62A424D16D84C56816BDD154EE5AF4A9 /* AAObnoxiousFilter.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AAObnoxiousFilter.modulemap; sourceTree = ""; }; 54 | 7CCDDDD0A3EF4E770D2D78804B740F08 /* AAObnoxiousFilter-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AAObnoxiousFilter-umbrella.h"; sourceTree = ""; }; 55 | 7E0CD5C9D9DC11E7D90259428AF13E5B /* AAObnoxiousFilter.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = AAObnoxiousFilter.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 56 | 8F61D57A222B2250003DEC38 /* nsfw.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; path = nsfw.bin; sourceTree = ""; }; 57 | 8F61D57F222B2313003DEC38 /* AAObnoxiousFilter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AAObnoxiousFilter.swift; sourceTree = ""; }; 58 | 8F61D581222B2358003DEC38 /* AAObnoxiousFilter+Helper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AAObnoxiousFilter+Helper.swift"; sourceTree = ""; }; 59 | 8F61D584222B3708003DEC38 /* CoreML+Helper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CoreML+Helper.swift"; sourceTree = ""; }; 60 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 61 | 9EE358FA5D782E9219A586B3B481EA66 /* Pods-AAObnoxiousFilter_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AAObnoxiousFilter_Tests.debug.xcconfig"; sourceTree = ""; }; 62 | A703756F9221B5106EEA3823C2844FED /* Pods-AAObnoxiousFilter_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AAObnoxiousFilter_Example-frameworks.sh"; sourceTree = ""; }; 63 | AEC12F5A51BA23FC809F37ACDEA31127 /* Pods-AAObnoxiousFilter_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AAObnoxiousFilter_Tests-umbrella.h"; sourceTree = ""; }; 64 | B009ADE2F2A2FE68C0D08C062295B76A /* Pods-AAObnoxiousFilter_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AAObnoxiousFilter_Tests.release.xcconfig"; sourceTree = ""; }; 65 | B22BB39F410FEF34166F789F02DB7673 /* AAObnoxiousFilter.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AAObnoxiousFilter.xcconfig; sourceTree = ""; }; 66 | B56A03DA908EDF4BAC44031938C08FC3 /* Pods-AAObnoxiousFilter_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AAObnoxiousFilter_Example-Info.plist"; sourceTree = ""; }; 67 | C7D9EE5CE22792DC033F949A48F6D88B /* Pods-AAObnoxiousFilter_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AAObnoxiousFilter_Example-dummy.m"; sourceTree = ""; }; 68 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 69 | D18E8C4E3B648DDA59E80B7CD520ED64 /* Pods-AAObnoxiousFilter_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AAObnoxiousFilter_Tests-acknowledgements.markdown"; sourceTree = ""; }; 70 | DB5659ED4D17B69F9C8FB32D4957C119 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 71 | E71407E74F740F616444270B7032761D /* Pods_AAObnoxiousFilter_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AAObnoxiousFilter_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | EC6E5EC8BF1BA725CABDE80701759D93 /* Pods-AAObnoxiousFilter_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AAObnoxiousFilter_Example-acknowledgements.markdown"; sourceTree = ""; }; 73 | EE049FB99D2858D316DC56D213DE93B6 /* Pods_AAObnoxiousFilter_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AAObnoxiousFilter_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 74 | F38590767F0E6F3F203718C498F5A80F /* Pods-AAObnoxiousFilter_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AAObnoxiousFilter_Example.modulemap"; sourceTree = ""; }; 75 | F621F98E5A1790383902A92FFBE03EE1 /* Pods-AAObnoxiousFilter_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AAObnoxiousFilter_Tests-Info.plist"; sourceTree = ""; }; 76 | F63FA0C8DB33B55268C66C574190B8AE /* Pods-AAObnoxiousFilter_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AAObnoxiousFilter_Example.debug.xcconfig"; sourceTree = ""; }; 77 | FB4488A1567E7E71E358A2753C1A355B /* AAObnoxiousFilter-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AAObnoxiousFilter-prefix.pch"; sourceTree = ""; }; 78 | /* End PBXFileReference section */ 79 | 80 | /* Begin PBXFrameworksBuildPhase section */ 81 | 1C018CE792DA750949721C1898C94126 /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | 2F0C1DDF4DCB466F369039FA31CF3B50 /* Foundation.framework in Frameworks */, 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | A015F473FBE39A014B3F6487330FAA1F /* Frameworks */ = { 90 | isa = PBXFrameworksBuildPhase; 91 | buildActionMask = 2147483647; 92 | files = ( 93 | C1A77348F2F40A2FE98B1D0F58E51D15 /* Foundation.framework in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | D121144AD32876C877616B5BD703EAD3 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | CDA21D34352A7CB773197EF7B4277D34 /* Foundation.framework in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | /* End PBXFrameworksBuildPhase section */ 106 | 107 | /* Begin PBXGroup section */ 108 | 017E4FA2D745A2C7B4519985B7F66333 /* Pods-AAObnoxiousFilter_Example */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | F38590767F0E6F3F203718C498F5A80F /* Pods-AAObnoxiousFilter_Example.modulemap */, 112 | EC6E5EC8BF1BA725CABDE80701759D93 /* Pods-AAObnoxiousFilter_Example-acknowledgements.markdown */, 113 | 5984468B7D1E25E3420B30BB3E533D5C /* Pods-AAObnoxiousFilter_Example-acknowledgements.plist */, 114 | C7D9EE5CE22792DC033F949A48F6D88B /* Pods-AAObnoxiousFilter_Example-dummy.m */, 115 | A703756F9221B5106EEA3823C2844FED /* Pods-AAObnoxiousFilter_Example-frameworks.sh */, 116 | B56A03DA908EDF4BAC44031938C08FC3 /* Pods-AAObnoxiousFilter_Example-Info.plist */, 117 | 29057B4084B06CB292CB5799F8A88E1D /* Pods-AAObnoxiousFilter_Example-umbrella.h */, 118 | F63FA0C8DB33B55268C66C574190B8AE /* Pods-AAObnoxiousFilter_Example.debug.xcconfig */, 119 | 5D0B70E3696EE978165BC27CE613DD98 /* Pods-AAObnoxiousFilter_Example.release.xcconfig */, 120 | ); 121 | name = "Pods-AAObnoxiousFilter_Example"; 122 | path = "Target Support Files/Pods-AAObnoxiousFilter_Example"; 123 | sourceTree = ""; 124 | }; 125 | 4DAACA1602C9B941676595210B96D635 /* Pod */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 7E0CD5C9D9DC11E7D90259428AF13E5B /* AAObnoxiousFilter.podspec */, 129 | DB5659ED4D17B69F9C8FB32D4957C119 /* LICENSE */, 130 | 51C6DED61D3AFC8761E8B56FC6DE20CB /* README.md */, 131 | ); 132 | name = Pod; 133 | sourceTree = ""; 134 | }; 135 | 688823B25341A878D1A67679C144D414 /* Pods-AAObnoxiousFilter_Tests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 41ED4546B4382C8BC4C300A1A4AE40A5 /* Pods-AAObnoxiousFilter_Tests.modulemap */, 139 | D18E8C4E3B648DDA59E80B7CD520ED64 /* Pods-AAObnoxiousFilter_Tests-acknowledgements.markdown */, 140 | 5319A84FDF668EDA871664A47FD84758 /* Pods-AAObnoxiousFilter_Tests-acknowledgements.plist */, 141 | 5B815495CE1964ACC639ED8D4F788A11 /* Pods-AAObnoxiousFilter_Tests-dummy.m */, 142 | F621F98E5A1790383902A92FFBE03EE1 /* Pods-AAObnoxiousFilter_Tests-Info.plist */, 143 | AEC12F5A51BA23FC809F37ACDEA31127 /* Pods-AAObnoxiousFilter_Tests-umbrella.h */, 144 | 9EE358FA5D782E9219A586B3B481EA66 /* Pods-AAObnoxiousFilter_Tests.debug.xcconfig */, 145 | B009ADE2F2A2FE68C0D08C062295B76A /* Pods-AAObnoxiousFilter_Tests.release.xcconfig */, 146 | ); 147 | name = "Pods-AAObnoxiousFilter_Tests"; 148 | path = "Target Support Files/Pods-AAObnoxiousFilter_Tests"; 149 | sourceTree = ""; 150 | }; 151 | 8A5457747585154013F77F75C79A7764 /* Targets Support Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 017E4FA2D745A2C7B4519985B7F66333 /* Pods-AAObnoxiousFilter_Example */, 155 | 688823B25341A878D1A67679C144D414 /* Pods-AAObnoxiousFilter_Tests */, 156 | ); 157 | name = "Targets Support Files"; 158 | sourceTree = ""; 159 | }; 160 | 8F61D576222B2250003DEC38 /* Classes */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 8F61D57F222B2313003DEC38 /* AAObnoxiousFilter.swift */, 164 | 8F61D581222B2358003DEC38 /* AAObnoxiousFilter+Helper.swift */, 165 | 8F61D584222B3708003DEC38 /* CoreML+Helper.swift */, 166 | ); 167 | name = Classes; 168 | path = AAObnoxiousFilter/Classes; 169 | sourceTree = ""; 170 | }; 171 | 8F61D578222B2250003DEC38 /* Assets */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 8F61D57A222B2250003DEC38 /* nsfw.bin */, 175 | ); 176 | name = Assets; 177 | path = AAObnoxiousFilter/Assets; 178 | sourceTree = ""; 179 | }; 180 | 939F44660A74F42959F742CE25F557C6 /* Products */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | 5BB38A1147C1F1DDAC46EF022291B03F /* AAObnoxiousFilter.framework */, 184 | EE049FB99D2858D316DC56D213DE93B6 /* Pods_AAObnoxiousFilter_Example.framework */, 185 | E71407E74F740F616444270B7032761D /* Pods_AAObnoxiousFilter_Tests.framework */, 186 | ); 187 | name = Products; 188 | sourceTree = ""; 189 | }; 190 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 194 | ); 195 | name = iOS; 196 | sourceTree = ""; 197 | }; 198 | A851B36990E441F94DF8CA75404B8920 /* AAObnoxiousFilter */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | 8F61D578222B2250003DEC38 /* Assets */, 202 | 8F61D576222B2250003DEC38 /* Classes */, 203 | 4DAACA1602C9B941676595210B96D635 /* Pod */, 204 | D953B8EEE3B6208D102A175BCB024C87 /* Support Files */, 205 | ); 206 | name = AAObnoxiousFilter; 207 | path = ../..; 208 | sourceTree = ""; 209 | }; 210 | CF1408CF629C7361332E53B88F7BD30C = { 211 | isa = PBXGroup; 212 | children = ( 213 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 214 | FB714B20318D5792770F86047866A0D1 /* Development Pods */, 215 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 216 | 939F44660A74F42959F742CE25F557C6 /* Products */, 217 | 8A5457747585154013F77F75C79A7764 /* Targets Support Files */, 218 | ); 219 | sourceTree = ""; 220 | }; 221 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 225 | ); 226 | name = Frameworks; 227 | sourceTree = ""; 228 | }; 229 | D953B8EEE3B6208D102A175BCB024C87 /* Support Files */ = { 230 | isa = PBXGroup; 231 | children = ( 232 | 62A424D16D84C56816BDD154EE5AF4A9 /* AAObnoxiousFilter.modulemap */, 233 | B22BB39F410FEF34166F789F02DB7673 /* AAObnoxiousFilter.xcconfig */, 234 | 18D4844502941A7404B75A4947EA8EE2 /* AAObnoxiousFilter-dummy.m */, 235 | 5DB80A9E0F6707FFDB8DA75FB6E39966 /* AAObnoxiousFilter-Info.plist */, 236 | FB4488A1567E7E71E358A2753C1A355B /* AAObnoxiousFilter-prefix.pch */, 237 | 7CCDDDD0A3EF4E770D2D78804B740F08 /* AAObnoxiousFilter-umbrella.h */, 238 | ); 239 | name = "Support Files"; 240 | path = "Example/Pods/Target Support Files/AAObnoxiousFilter"; 241 | sourceTree = ""; 242 | }; 243 | FB714B20318D5792770F86047866A0D1 /* Development Pods */ = { 244 | isa = PBXGroup; 245 | children = ( 246 | A851B36990E441F94DF8CA75404B8920 /* AAObnoxiousFilter */, 247 | ); 248 | name = "Development Pods"; 249 | sourceTree = ""; 250 | }; 251 | /* End PBXGroup section */ 252 | 253 | /* Begin PBXHeadersBuildPhase section */ 254 | 6A074340610B4361222542C4DA0CEC3A /* Headers */ = { 255 | isa = PBXHeadersBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | 14D9E7425E7FACC17D6BAAD0AF9E0609 /* Pods-AAObnoxiousFilter_Tests-umbrella.h in Headers */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | 84A4D9C92025A8523C93E4178A46B614 /* Headers */ = { 263 | isa = PBXHeadersBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | B310CC6A334DDD6B4A8325326D26D50F /* AAObnoxiousFilter-umbrella.h in Headers */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | A9DE6A182360501770FA3E206D0A4AD1 /* Headers */ = { 271 | isa = PBXHeadersBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | 666DE66FCE29F0A794E094A08E413C59 /* Pods-AAObnoxiousFilter_Example-umbrella.h in Headers */, 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | }; 278 | /* End PBXHeadersBuildPhase section */ 279 | 280 | /* Begin PBXNativeTarget section */ 281 | 30D4F2CB00D86134D81B6A39D9953858 /* Pods-AAObnoxiousFilter_Tests */ = { 282 | isa = PBXNativeTarget; 283 | buildConfigurationList = 778F53A81CE85224589A16A2E966FD4F /* Build configuration list for PBXNativeTarget "Pods-AAObnoxiousFilter_Tests" */; 284 | buildPhases = ( 285 | 6A074340610B4361222542C4DA0CEC3A /* Headers */, 286 | 998074AE7EBF1E795D3A6F9FB9C3D0A3 /* Sources */, 287 | A015F473FBE39A014B3F6487330FAA1F /* Frameworks */, 288 | 568E2A15BD62D2DC94FC0F869D997ACD /* Resources */, 289 | ); 290 | buildRules = ( 291 | ); 292 | dependencies = ( 293 | 408386A5A0A0CFE9F0D449F92595AD68 /* PBXTargetDependency */, 294 | ); 295 | name = "Pods-AAObnoxiousFilter_Tests"; 296 | productName = "Pods-AAObnoxiousFilter_Tests"; 297 | productReference = E71407E74F740F616444270B7032761D /* Pods_AAObnoxiousFilter_Tests.framework */; 298 | productType = "com.apple.product-type.framework"; 299 | }; 300 | A9BDD1BCFF7FB190167DA3A357248CBA /* Pods-AAObnoxiousFilter_Example */ = { 301 | isa = PBXNativeTarget; 302 | buildConfigurationList = 56C1E0DA21B9F0E3ABAA24A3AA37A656 /* Build configuration list for PBXNativeTarget "Pods-AAObnoxiousFilter_Example" */; 303 | buildPhases = ( 304 | A9DE6A182360501770FA3E206D0A4AD1 /* Headers */, 305 | 2D42D306AA9BB6A9E4E46042A3FE8FB6 /* Sources */, 306 | 1C018CE792DA750949721C1898C94126 /* Frameworks */, 307 | E0B3DD44717736ABF6894D994C5BF960 /* Resources */, 308 | ); 309 | buildRules = ( 310 | ); 311 | dependencies = ( 312 | 8874BEE5D9E2BEC85378E487C39C2C98 /* PBXTargetDependency */, 313 | ); 314 | name = "Pods-AAObnoxiousFilter_Example"; 315 | productName = "Pods-AAObnoxiousFilter_Example"; 316 | productReference = EE049FB99D2858D316DC56D213DE93B6 /* Pods_AAObnoxiousFilter_Example.framework */; 317 | productType = "com.apple.product-type.framework"; 318 | }; 319 | C19048CA69E6FBC252670C11DAA22D0C /* AAObnoxiousFilter */ = { 320 | isa = PBXNativeTarget; 321 | buildConfigurationList = 216A89614D224EC4BD7A769B8D749096 /* Build configuration list for PBXNativeTarget "AAObnoxiousFilter" */; 322 | buildPhases = ( 323 | 84A4D9C92025A8523C93E4178A46B614 /* Headers */, 324 | 54302FABB849F549E99144C5BE3D7CAB /* Sources */, 325 | D121144AD32876C877616B5BD703EAD3 /* Frameworks */, 326 | 6A536E8AD27BD570C60D03E6240689EF /* Resources */, 327 | ); 328 | buildRules = ( 329 | ); 330 | dependencies = ( 331 | ); 332 | name = AAObnoxiousFilter; 333 | productName = AAObnoxiousFilter; 334 | productReference = 5BB38A1147C1F1DDAC46EF022291B03F /* AAObnoxiousFilter.framework */; 335 | productType = "com.apple.product-type.framework"; 336 | }; 337 | /* End PBXNativeTarget section */ 338 | 339 | /* Begin PBXProject section */ 340 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 341 | isa = PBXProject; 342 | attributes = { 343 | LastSwiftUpdateCheck = 0930; 344 | LastUpgradeCheck = 0930; 345 | TargetAttributes = { 346 | C19048CA69E6FBC252670C11DAA22D0C = { 347 | LastSwiftMigration = 1020; 348 | }; 349 | }; 350 | }; 351 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 352 | compatibilityVersion = "Xcode 3.2"; 353 | developmentRegion = English; 354 | hasScannedForEncodings = 0; 355 | knownRegions = ( 356 | English, 357 | en, 358 | ); 359 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 360 | productRefGroup = 939F44660A74F42959F742CE25F557C6 /* Products */; 361 | projectDirPath = ""; 362 | projectRoot = ""; 363 | targets = ( 364 | C19048CA69E6FBC252670C11DAA22D0C /* AAObnoxiousFilter */, 365 | A9BDD1BCFF7FB190167DA3A357248CBA /* Pods-AAObnoxiousFilter_Example */, 366 | 30D4F2CB00D86134D81B6A39D9953858 /* Pods-AAObnoxiousFilter_Tests */, 367 | ); 368 | }; 369 | /* End PBXProject section */ 370 | 371 | /* Begin PBXResourcesBuildPhase section */ 372 | 568E2A15BD62D2DC94FC0F869D997ACD /* Resources */ = { 373 | isa = PBXResourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | 6A536E8AD27BD570C60D03E6240689EF /* Resources */ = { 380 | isa = PBXResourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 8F61D583222B3437003DEC38 /* nsfw.bin in Resources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | E0B3DD44717736ABF6894D994C5BF960 /* Resources */ = { 388 | isa = PBXResourcesBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | }; 394 | /* End PBXResourcesBuildPhase section */ 395 | 396 | /* Begin PBXSourcesBuildPhase section */ 397 | 2D42D306AA9BB6A9E4E46042A3FE8FB6 /* Sources */ = { 398 | isa = PBXSourcesBuildPhase; 399 | buildActionMask = 2147483647; 400 | files = ( 401 | 2AD405FE30100FB717AF630808FB1176 /* Pods-AAObnoxiousFilter_Example-dummy.m in Sources */, 402 | ); 403 | runOnlyForDeploymentPostprocessing = 0; 404 | }; 405 | 54302FABB849F549E99144C5BE3D7CAB /* Sources */ = { 406 | isa = PBXSourcesBuildPhase; 407 | buildActionMask = 2147483647; 408 | files = ( 409 | 3104622673AAE63C4193866B0BBD924B /* AAObnoxiousFilter-dummy.m in Sources */, 410 | 8F61D582222B2358003DEC38 /* AAObnoxiousFilter+Helper.swift in Sources */, 411 | 8F61D585222B3708003DEC38 /* CoreML+Helper.swift in Sources */, 412 | 8F61D580222B2313003DEC38 /* AAObnoxiousFilter.swift in Sources */, 413 | ); 414 | runOnlyForDeploymentPostprocessing = 0; 415 | }; 416 | 998074AE7EBF1E795D3A6F9FB9C3D0A3 /* Sources */ = { 417 | isa = PBXSourcesBuildPhase; 418 | buildActionMask = 2147483647; 419 | files = ( 420 | 1BD42C7BCE22F67D4CACAC1589061F7B /* Pods-AAObnoxiousFilter_Tests-dummy.m in Sources */, 421 | ); 422 | runOnlyForDeploymentPostprocessing = 0; 423 | }; 424 | /* End PBXSourcesBuildPhase section */ 425 | 426 | /* Begin PBXTargetDependency section */ 427 | 408386A5A0A0CFE9F0D449F92595AD68 /* PBXTargetDependency */ = { 428 | isa = PBXTargetDependency; 429 | name = "Pods-AAObnoxiousFilter_Example"; 430 | target = A9BDD1BCFF7FB190167DA3A357248CBA /* Pods-AAObnoxiousFilter_Example */; 431 | targetProxy = B2B6C028A77D5150BF07FD2931358491 /* PBXContainerItemProxy */; 432 | }; 433 | 8874BEE5D9E2BEC85378E487C39C2C98 /* PBXTargetDependency */ = { 434 | isa = PBXTargetDependency; 435 | name = AAObnoxiousFilter; 436 | target = C19048CA69E6FBC252670C11DAA22D0C /* AAObnoxiousFilter */; 437 | targetProxy = EEB3E55EBC2D8D75C52B5C78273B24CF /* PBXContainerItemProxy */; 438 | }; 439 | /* End PBXTargetDependency section */ 440 | 441 | /* Begin XCBuildConfiguration section */ 442 | 03DE9E87C5EB9D72EB277A2D3F94751D /* Debug */ = { 443 | isa = XCBuildConfiguration; 444 | baseConfigurationReference = F63FA0C8DB33B55268C66C574190B8AE /* Pods-AAObnoxiousFilter_Example.debug.xcconfig */; 445 | buildSettings = { 446 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 447 | CODE_SIGN_IDENTITY = ""; 448 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 449 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 450 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 451 | CURRENT_PROJECT_VERSION = 1; 452 | DEFINES_MODULE = YES; 453 | DYLIB_COMPATIBILITY_VERSION = 1; 454 | DYLIB_CURRENT_VERSION = 1; 455 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 456 | INFOPLIST_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example-Info.plist"; 457 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 458 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 459 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 460 | MACH_O_TYPE = staticlib; 461 | MODULEMAP_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example.modulemap"; 462 | OTHER_LDFLAGS = ""; 463 | OTHER_LIBTOOLFLAGS = ""; 464 | PODS_ROOT = "$(SRCROOT)"; 465 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 466 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 467 | SDKROOT = iphoneos; 468 | SKIP_INSTALL = YES; 469 | TARGETED_DEVICE_FAMILY = "1,2"; 470 | VERSIONING_SYSTEM = "apple-generic"; 471 | VERSION_INFO_PREFIX = ""; 472 | }; 473 | name = Debug; 474 | }; 475 | 0D6612C129E6710975ADF0E6A30DA2ED /* Release */ = { 476 | isa = XCBuildConfiguration; 477 | baseConfigurationReference = 5D0B70E3696EE978165BC27CE613DD98 /* Pods-AAObnoxiousFilter_Example.release.xcconfig */; 478 | buildSettings = { 479 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 480 | CODE_SIGN_IDENTITY = ""; 481 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 482 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 483 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 484 | CURRENT_PROJECT_VERSION = 1; 485 | DEFINES_MODULE = YES; 486 | DYLIB_COMPATIBILITY_VERSION = 1; 487 | DYLIB_CURRENT_VERSION = 1; 488 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 489 | INFOPLIST_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example-Info.plist"; 490 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 491 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 492 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 493 | MACH_O_TYPE = staticlib; 494 | MODULEMAP_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example.modulemap"; 495 | OTHER_LDFLAGS = ""; 496 | OTHER_LIBTOOLFLAGS = ""; 497 | PODS_ROOT = "$(SRCROOT)"; 498 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 499 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 500 | SDKROOT = iphoneos; 501 | SKIP_INSTALL = YES; 502 | TARGETED_DEVICE_FAMILY = "1,2"; 503 | VALIDATE_PRODUCT = YES; 504 | VERSIONING_SYSTEM = "apple-generic"; 505 | VERSION_INFO_PREFIX = ""; 506 | }; 507 | name = Release; 508 | }; 509 | 2EE7A34CA7B772D5702378380E2AF3C1 /* Release */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = B22BB39F410FEF34166F789F02DB7673 /* AAObnoxiousFilter.xcconfig */; 512 | buildSettings = { 513 | CLANG_ENABLE_MODULES = YES; 514 | CODE_SIGN_IDENTITY = ""; 515 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 516 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 517 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 518 | COREML_CODEGEN_LANGUAGE = Swift; 519 | CURRENT_PROJECT_VERSION = 1; 520 | DEFINES_MODULE = YES; 521 | DYLIB_COMPATIBILITY_VERSION = 1; 522 | DYLIB_CURRENT_VERSION = 1; 523 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 524 | GCC_PREFIX_HEADER = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-prefix.pch"; 525 | INFOPLIST_FILE = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-Info.plist"; 526 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 527 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 528 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 529 | MODULEMAP_FILE = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter.modulemap"; 530 | PRODUCT_MODULE_NAME = AAObnoxiousFilter; 531 | PRODUCT_NAME = AAObnoxiousFilter; 532 | SDKROOT = iphoneos; 533 | SKIP_INSTALL = YES; 534 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 535 | SWIFT_VERSION = 5.0; 536 | TARGETED_DEVICE_FAMILY = "1,2"; 537 | VALIDATE_PRODUCT = YES; 538 | VERSIONING_SYSTEM = "apple-generic"; 539 | VERSION_INFO_PREFIX = ""; 540 | }; 541 | name = Release; 542 | }; 543 | 68BEEBC524554E185A486F9EFA1F3559 /* Debug */ = { 544 | isa = XCBuildConfiguration; 545 | baseConfigurationReference = 9EE358FA5D782E9219A586B3B481EA66 /* Pods-AAObnoxiousFilter_Tests.debug.xcconfig */; 546 | buildSettings = { 547 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 548 | CODE_SIGN_IDENTITY = ""; 549 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 550 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 552 | CURRENT_PROJECT_VERSION = 1; 553 | DEFINES_MODULE = YES; 554 | DYLIB_COMPATIBILITY_VERSION = 1; 555 | DYLIB_CURRENT_VERSION = 1; 556 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 557 | INFOPLIST_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests-Info.plist"; 558 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 559 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 560 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 561 | MACH_O_TYPE = staticlib; 562 | MODULEMAP_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests.modulemap"; 563 | OTHER_LDFLAGS = ""; 564 | OTHER_LIBTOOLFLAGS = ""; 565 | PODS_ROOT = "$(SRCROOT)"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 567 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 568 | SDKROOT = iphoneos; 569 | SKIP_INSTALL = YES; 570 | TARGETED_DEVICE_FAMILY = "1,2"; 571 | VERSIONING_SYSTEM = "apple-generic"; 572 | VERSION_INFO_PREFIX = ""; 573 | }; 574 | name = Debug; 575 | }; 576 | 7BBD096D942B6A198746E90AD1CBF5FA /* Release */ = { 577 | isa = XCBuildConfiguration; 578 | baseConfigurationReference = B009ADE2F2A2FE68C0D08C062295B76A /* Pods-AAObnoxiousFilter_Tests.release.xcconfig */; 579 | buildSettings = { 580 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 581 | CODE_SIGN_IDENTITY = ""; 582 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 583 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 584 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 585 | CURRENT_PROJECT_VERSION = 1; 586 | DEFINES_MODULE = YES; 587 | DYLIB_COMPATIBILITY_VERSION = 1; 588 | DYLIB_CURRENT_VERSION = 1; 589 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 590 | INFOPLIST_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests-Info.plist"; 591 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 592 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 593 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 594 | MACH_O_TYPE = staticlib; 595 | MODULEMAP_FILE = "Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests.modulemap"; 596 | OTHER_LDFLAGS = ""; 597 | OTHER_LIBTOOLFLAGS = ""; 598 | PODS_ROOT = "$(SRCROOT)"; 599 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 600 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 601 | SDKROOT = iphoneos; 602 | SKIP_INSTALL = YES; 603 | TARGETED_DEVICE_FAMILY = "1,2"; 604 | VALIDATE_PRODUCT = YES; 605 | VERSIONING_SYSTEM = "apple-generic"; 606 | VERSION_INFO_PREFIX = ""; 607 | }; 608 | name = Release; 609 | }; 610 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = { 611 | isa = XCBuildConfiguration; 612 | buildSettings = { 613 | ALWAYS_SEARCH_USER_PATHS = NO; 614 | CLANG_ANALYZER_NONNULL = YES; 615 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 616 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 617 | CLANG_CXX_LIBRARY = "libc++"; 618 | CLANG_ENABLE_MODULES = YES; 619 | CLANG_ENABLE_OBJC_ARC = YES; 620 | CLANG_ENABLE_OBJC_WEAK = YES; 621 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 622 | CLANG_WARN_BOOL_CONVERSION = YES; 623 | CLANG_WARN_COMMA = YES; 624 | CLANG_WARN_CONSTANT_CONVERSION = YES; 625 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 626 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 627 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 628 | CLANG_WARN_EMPTY_BODY = YES; 629 | CLANG_WARN_ENUM_CONVERSION = YES; 630 | CLANG_WARN_INFINITE_RECURSION = YES; 631 | CLANG_WARN_INT_CONVERSION = YES; 632 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 633 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 634 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 635 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 636 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 637 | CLANG_WARN_STRICT_PROTOTYPES = YES; 638 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 639 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 640 | CLANG_WARN_UNREACHABLE_CODE = YES; 641 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 642 | COPY_PHASE_STRIP = NO; 643 | DEBUG_INFORMATION_FORMAT = dwarf; 644 | ENABLE_STRICT_OBJC_MSGSEND = YES; 645 | ENABLE_TESTABILITY = YES; 646 | GCC_C_LANGUAGE_STANDARD = gnu11; 647 | GCC_DYNAMIC_NO_PIC = NO; 648 | GCC_NO_COMMON_BLOCKS = YES; 649 | GCC_OPTIMIZATION_LEVEL = 0; 650 | GCC_PREPROCESSOR_DEFINITIONS = ( 651 | "POD_CONFIGURATION_DEBUG=1", 652 | "DEBUG=1", 653 | "$(inherited)", 654 | ); 655 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 656 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 657 | GCC_WARN_UNDECLARED_SELECTOR = YES; 658 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 659 | GCC_WARN_UNUSED_FUNCTION = YES; 660 | GCC_WARN_UNUSED_VARIABLE = YES; 661 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 662 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 663 | MTL_FAST_MATH = YES; 664 | ONLY_ACTIVE_ARCH = YES; 665 | PRODUCT_NAME = "$(TARGET_NAME)"; 666 | STRIP_INSTALLED_PRODUCT = NO; 667 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 668 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 669 | SWIFT_VERSION = 4.2; 670 | SYMROOT = "${SRCROOT}/../build"; 671 | }; 672 | name = Debug; 673 | }; 674 | B9EB6612F480EFE03D90244DCCC3A1B6 /* Debug */ = { 675 | isa = XCBuildConfiguration; 676 | baseConfigurationReference = B22BB39F410FEF34166F789F02DB7673 /* AAObnoxiousFilter.xcconfig */; 677 | buildSettings = { 678 | CLANG_ENABLE_MODULES = YES; 679 | CODE_SIGN_IDENTITY = ""; 680 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 681 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 682 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 683 | COREML_CODEGEN_LANGUAGE = Swift; 684 | CURRENT_PROJECT_VERSION = 1; 685 | DEFINES_MODULE = YES; 686 | DYLIB_COMPATIBILITY_VERSION = 1; 687 | DYLIB_CURRENT_VERSION = 1; 688 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 689 | GCC_PREFIX_HEADER = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-prefix.pch"; 690 | INFOPLIST_FILE = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-Info.plist"; 691 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 692 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 693 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 694 | MODULEMAP_FILE = "Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter.modulemap"; 695 | PRODUCT_MODULE_NAME = AAObnoxiousFilter; 696 | PRODUCT_NAME = AAObnoxiousFilter; 697 | SDKROOT = iphoneos; 698 | SKIP_INSTALL = YES; 699 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 700 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 701 | SWIFT_VERSION = 5.0; 702 | TARGETED_DEVICE_FAMILY = "1,2"; 703 | VERSIONING_SYSTEM = "apple-generic"; 704 | VERSION_INFO_PREFIX = ""; 705 | }; 706 | name = Debug; 707 | }; 708 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = { 709 | isa = XCBuildConfiguration; 710 | buildSettings = { 711 | ALWAYS_SEARCH_USER_PATHS = NO; 712 | CLANG_ANALYZER_NONNULL = YES; 713 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 714 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 715 | CLANG_CXX_LIBRARY = "libc++"; 716 | CLANG_ENABLE_MODULES = YES; 717 | CLANG_ENABLE_OBJC_ARC = YES; 718 | CLANG_ENABLE_OBJC_WEAK = YES; 719 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 720 | CLANG_WARN_BOOL_CONVERSION = YES; 721 | CLANG_WARN_COMMA = YES; 722 | CLANG_WARN_CONSTANT_CONVERSION = YES; 723 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 724 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 725 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 726 | CLANG_WARN_EMPTY_BODY = YES; 727 | CLANG_WARN_ENUM_CONVERSION = YES; 728 | CLANG_WARN_INFINITE_RECURSION = YES; 729 | CLANG_WARN_INT_CONVERSION = YES; 730 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 731 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 732 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 733 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 734 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 735 | CLANG_WARN_STRICT_PROTOTYPES = YES; 736 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 737 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 738 | CLANG_WARN_UNREACHABLE_CODE = YES; 739 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 740 | COPY_PHASE_STRIP = NO; 741 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 742 | ENABLE_NS_ASSERTIONS = NO; 743 | ENABLE_STRICT_OBJC_MSGSEND = YES; 744 | GCC_C_LANGUAGE_STANDARD = gnu11; 745 | GCC_NO_COMMON_BLOCKS = YES; 746 | GCC_PREPROCESSOR_DEFINITIONS = ( 747 | "POD_CONFIGURATION_RELEASE=1", 748 | "$(inherited)", 749 | ); 750 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 751 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 752 | GCC_WARN_UNDECLARED_SELECTOR = YES; 753 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 754 | GCC_WARN_UNUSED_FUNCTION = YES; 755 | GCC_WARN_UNUSED_VARIABLE = YES; 756 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 757 | MTL_ENABLE_DEBUG_INFO = NO; 758 | MTL_FAST_MATH = YES; 759 | PRODUCT_NAME = "$(TARGET_NAME)"; 760 | STRIP_INSTALLED_PRODUCT = NO; 761 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 762 | SWIFT_VERSION = 4.2; 763 | SYMROOT = "${SRCROOT}/../build"; 764 | }; 765 | name = Release; 766 | }; 767 | /* End XCBuildConfiguration section */ 768 | 769 | /* Begin XCConfigurationList section */ 770 | 216A89614D224EC4BD7A769B8D749096 /* Build configuration list for PBXNativeTarget "AAObnoxiousFilter" */ = { 771 | isa = XCConfigurationList; 772 | buildConfigurations = ( 773 | B9EB6612F480EFE03D90244DCCC3A1B6 /* Debug */, 774 | 2EE7A34CA7B772D5702378380E2AF3C1 /* Release */, 775 | ); 776 | defaultConfigurationIsVisible = 0; 777 | defaultConfigurationName = Release; 778 | }; 779 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 780 | isa = XCConfigurationList; 781 | buildConfigurations = ( 782 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */, 783 | F232B5ECA11A71BFA199A229B323F454 /* Release */, 784 | ); 785 | defaultConfigurationIsVisible = 0; 786 | defaultConfigurationName = Release; 787 | }; 788 | 56C1E0DA21B9F0E3ABAA24A3AA37A656 /* Build configuration list for PBXNativeTarget "Pods-AAObnoxiousFilter_Example" */ = { 789 | isa = XCConfigurationList; 790 | buildConfigurations = ( 791 | 03DE9E87C5EB9D72EB277A2D3F94751D /* Debug */, 792 | 0D6612C129E6710975ADF0E6A30DA2ED /* Release */, 793 | ); 794 | defaultConfigurationIsVisible = 0; 795 | defaultConfigurationName = Release; 796 | }; 797 | 778F53A81CE85224589A16A2E966FD4F /* Build configuration list for PBXNativeTarget "Pods-AAObnoxiousFilter_Tests" */ = { 798 | isa = XCConfigurationList; 799 | buildConfigurations = ( 800 | 68BEEBC524554E185A486F9EFA1F3559 /* Debug */, 801 | 7BBD096D942B6A198746E90AD1CBF5FA /* Release */, 802 | ); 803 | defaultConfigurationIsVisible = 0; 804 | defaultConfigurationName = Release; 805 | }; 806 | /* End XCConfigurationList section */ 807 | }; 808 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 809 | } 810 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-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/AAObnoxiousFilter/AAObnoxiousFilter-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AAObnoxiousFilter : NSObject 3 | @end 4 | @implementation PodsDummy_AAObnoxiousFilter 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter-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/AAObnoxiousFilter/AAObnoxiousFilter-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 AAObnoxiousFilterVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AAObnoxiousFilterVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter.modulemap: -------------------------------------------------------------------------------- 1 | framework module AAObnoxiousFilter { 2 | umbrella header "AAObnoxiousFilter-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AAObnoxiousFilter/AAObnoxiousFilter.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_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-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AAObnoxiousFilter 5 | 6 | Copyright (c) 2019 EngrAhsanAli 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-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_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) 2019 EngrAhsanAli <hafiz.m.ahsan.ali@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | AAObnoxiousFilter 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-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AAObnoxiousFilter_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AAObnoxiousFilter_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_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_AAObnoxiousFilter_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AAObnoxiousFilter_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AAObnoxiousFilter" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AAObnoxiousFilter_Example { 2 | umbrella header "Pods-AAObnoxiousFilter_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Example/Pods-AAObnoxiousFilter_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AAObnoxiousFilter" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_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-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_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-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_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-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AAObnoxiousFilter_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AAObnoxiousFilter_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_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_AAObnoxiousFilter_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AAObnoxiousFilter_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AAObnoxiousFilter" 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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AAObnoxiousFilter_Tests { 2 | umbrella header "Pods-AAObnoxiousFilter_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AAObnoxiousFilter_Tests/Pods-AAObnoxiousFilter_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AAObnoxiousFilter/AAObnoxiousFilter.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AAObnoxiousFilter" 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 | -------------------------------------------------------------------------------- /Example/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import AAObnoxiousFilter 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 EngrAhsanAli 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 | # Table of Contents 2 | 3 | - [AAObnoxiousFilter](#section-id-4) 4 | - [Description](#section-id-10) 5 | - [Demonstration](#section-id-16) 6 | - [Requirements](#section-id-26) 7 | - [Installation](#section-id-32) 8 | - [CocoaPods](#section-id-37) 9 | - [Carthage](#section-id-63) 10 | - [Manual Installation](#section-id-82) 11 | - [Getting Started](#section-id-87) 12 | - [Contributions & License](#section-id-156) 13 | 14 | 15 |
16 | 17 | #AAObnoxiousFilter 18 | 19 | [![Swift 4.2](https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat)](https://developer.apple.com/swift/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![CocoaPods](https://img.shields.io/cocoapods/v/AAObnoxiousFilter.svg)](http://cocoadocs.org/docsets/AAObnoxiousFilter) [![License MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://github.com/Carthage/Carthage) [![Build Status](https://travis-ci.org/EngrAhsanAli/AAObnoxiousFilter.svg?branch=master)](https://travis-ci.org/EngrAhsanAli/AAObnoxiousFilter) 20 | ![License MIT](https://img.shields.io/github/license/mashape/apistatus.svg) [![CocoaPods](https://img.shields.io/cocoapods/p/AAObnoxiousFilter.svg)]() 21 | ![AA-Creations](https://img.shields.io/badge/AA-Creations-green.svg) 22 | ![Country](https://img.shields.io/badge/Made%20with%20%E2%9D%A4-pakistan-green.svg) 23 | 24 |
25 | 26 | ##Description 27 | 28 | 29 | AAObnoxiousFilter is a profanity filter for images written in CoreML and Swift. Its a lightweight framework that can detect the inappropriation in UIImage with a single line of code. 30 | 31 | 32 |
33 | 34 | ##Demonstration 35 | 36 | 37 | 38 | ![](https://github.com/EngrAhsanAli/AAObnoxiousFilter/blob/master/Screenshots/demo.gif) 39 | 40 | 41 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 42 | 43 | 44 |
45 | 46 | ##Requirements 47 | 48 | - iOS 11.0+ 49 | - Xcode 10.0+ 50 | - Swift 4.2+ 51 | 52 |
53 | 54 | # Installation 55 | 56 | `AAObnoxiousFilter` can be installed using CocoaPods, Carthage, or manually. 57 | 58 | 59 |
60 | 61 | ##CocoaPods 62 | 63 | `AAObnoxiousFilter` is available through [CocoaPods](http://cocoapods.org). To install CocoaPods, run: 64 | 65 | `$ gem install cocoapods` 66 | 67 | Then create a Podfile with the following contents: 68 | 69 | ``` 70 | source 'https://github.com/CocoaPods/Specs.git' 71 | platform :ios, '11.0' 72 | use_frameworks! 73 | 74 | target '' do 75 | pod 'AAObnoxiousFilter' 76 | end 77 | 78 | ``` 79 | 80 | Finally, run the following command to install it: 81 | ``` 82 | $ pod install 83 | ``` 84 | 85 | 86 | 87 |
88 | 89 | ##Carthage 90 | 91 | To install Carthage, run (using Homebrew): 92 | ``` 93 | $ brew update 94 | $ brew install carthage 95 | ``` 96 | Then add the following line to your Cartfile: 97 | 98 | ``` 99 | github "EngrAhsanAli/AAObnoxiousFilter" "master" 100 | ``` 101 | 102 | Then import the library in all files where you use it: 103 | ```swift 104 | import AAObnoxiousFilter 105 | ``` 106 | 107 | 108 |
109 | 110 | ##Manual Installation 111 | 112 | If you prefer not to use either of the above mentioned dependency managers, you can integrate `AAObnoxiousFilter` into your project manually by adding the files contained in the Classes folder to your project. 113 | 114 | 115 |
116 | 117 | #Getting Started 118 | ---------- 119 | 120 |
121 | 122 | ##Detect the Image 123 | 124 | ```swift 125 | if let prediction = image.predictImage() { 126 | // prediction if greater than 0.5, the image will have inappropriate look 127 | } 128 | else { 129 | // Exception in any other case if the Image is not valid to predict 130 | } 131 | ``` 132 | 133 |
134 | 135 | #Contributions & License 136 | 137 | `AAObnoxiousFilter` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info. 138 | 139 | Pull requests are welcome! The best contributions will consist of substitutions or configurations for classes/methods known to block the main thread during a typical app lifecycle. 140 | 141 | I would love to know if you are using `AAObnoxiousFilter` in your app, send an email to [Engr. Ahsan Ali](mailto:hafiz.m.ahsan.ali@gmail.com) 142 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------