├── NeuKit ├── Assets │ └── .gitkeep ├── Classes │ ├── .gitkeep │ ├── NeuKit.swift │ └── Components │ │ ├── UISegmentedControl.swift │ │ ├── UITextField.swift │ │ ├── UIButton.swift │ │ └── UIView.swift ├── 0.0.5 │ └── NeuKit.podspec └── 0.0.6 │ └── NeuKit.podspec ├── _Pods.xcodeproj ├── Example ├── NeuKit.xcworkspace │ ├── xcuserdata │ │ └── vromano.xcuserdatad │ │ │ ├── .dat.nosync078a.SB0NUy │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── NeuKit │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── Palette │ │ │ ├── Contents.json │ │ │ ├── AccentDark.colorset │ │ │ │ └── Contents.json │ │ │ ├── AccentGreen.colorset │ │ │ │ └── Contents.json │ │ │ ├── AccentLight.colorset │ │ │ │ └── Contents.json │ │ │ ├── AccentRed.colorset │ │ │ │ └── Contents.json │ │ │ ├── Background.colorset │ │ │ │ └── Contents.json │ │ │ ├── Foreground.colorset │ │ │ │ └── Contents.json │ │ │ └── Secondary.colorset │ │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── ButtonViewController.swift │ ├── ViewsViewController.swift │ ├── Info.plist │ ├── AppDelegate.swift │ └── Base.lproj │ │ └── LaunchScreen.xib ├── Podfile ├── Pods │ ├── Target Support Files │ │ ├── NeuKit │ │ │ ├── NeuKit.modulemap │ │ │ ├── NeuKit-dummy.m │ │ │ ├── NeuKit-prefix.pch │ │ │ ├── NeuKit-umbrella.h │ │ │ ├── NeuKit.debug.xcconfig │ │ │ ├── NeuKit.release.xcconfig │ │ │ └── NeuKit-Info.plist │ │ └── Pods-NeuKit_Example │ │ │ ├── Pods-NeuKit_Example.modulemap │ │ │ ├── Pods-NeuKit_Example-dummy.m │ │ │ ├── Pods-NeuKit_Example-umbrella.h │ │ │ ├── Pods-NeuKit_Example.debug.xcconfig │ │ │ ├── Pods-NeuKit_Example.release.xcconfig │ │ │ ├── Pods-NeuKit_Example-Info.plist │ │ │ ├── Pods-NeuKit_Example-acknowledgements.markdown │ │ │ ├── Pods-NeuKit_Example-acknowledgements.plist │ │ │ └── Pods-NeuKit_Example-frameworks.sh │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── xcuserdata │ │ │ └── vromano.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── xcschememanagement.plist │ │ │ │ ├── Pods-NeuKit_Example.xcscheme │ │ │ │ └── NeuKit.xcscheme │ │ └── project.pbxproj │ └── Local Podspecs │ │ └── NeuKit.podspec.json ├── NeuKit.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── NeuKit-Example.xcscheme │ └── project.pbxproj └── Podfile.lock ├── LICENSE ├── README.md └── NeuKit.podspec /NeuKit/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NeuKit/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/NeuKit.xcworkspace/xcuserdata/vromano.xcuserdatad/.dat.nosync078a.SB0NUy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | platform :ios, '11.0' 3 | 4 | target 'NeuKit_Example' do 5 | pod 'NeuKit', :path => '../' 6 | end 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit.modulemap: -------------------------------------------------------------------------------- 1 | framework module NeuKit { 2 | umbrella header "NeuKit-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_NeuKit : NSObject 3 | @end 4 | @implementation PodsDummy_NeuKit 5 | @end 6 | -------------------------------------------------------------------------------- /NeuKit/Classes/NeuKit.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NeuKit.swift 3 | // NeuKit 4 | // 5 | // Created by Vincenzo Romano on 08/06/2020. 6 | // 7 | 8 | import UIKit 9 | 10 | class NeuKit: NSObject { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Example/NeuKit.xcworkspace/xcuserdata/vromano.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elchief84/NeuKit/HEAD/Example/NeuKit.xcworkspace/xcuserdata/vromano.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NeuKit_Example { 2 | umbrella header "Pods-NeuKit_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NeuKit_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NeuKit_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/NeuKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/NeuKit.xcworkspace/xcuserdata/vromano.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit-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/NeuKit.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/NeuKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NeuKit (0.0.4) 3 | 4 | DEPENDENCIES: 5 | - NeuKit (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | NeuKit: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | NeuKit: 4b0ee50ed38fcd9f424a29d30e43d4e32dabbb25 13 | 14 | PODFILE CHECKSUM: 675b2161ec577f1914e8999eb5fad6e0681d9bbd 15 | 16 | COCOAPODS: 1.10.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NeuKit (0.0.4) 3 | 4 | DEPENDENCIES: 5 | - NeuKit (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | NeuKit: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | NeuKit: 4b0ee50ed38fcd9f424a29d30e43d4e32dabbb25 13 | 14 | PODFILE CHECKSUM: 675b2161ec577f1914e8999eb5fad6e0681d9bbd 15 | 16 | COCOAPODS: 1.10.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit-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 NeuKitVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char NeuKitVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/AccentDark.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.871", 15 | "green" : "0.898" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/AccentGreen.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.184", 13 | "alpha" : "1.000", 14 | "blue" : "0.718", 15 | "green" : "1.000" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/AccentLight.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.475", 13 | "alpha" : "1.000", 14 | "blue" : "0.867", 15 | "green" : "1.000" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/AccentRed.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.184", 15 | "green" : "0.278" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/Background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.953", 13 | "alpha" : "1.000", 14 | "blue" : "0.965", 15 | "green" : "0.953" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/Foreground.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.200", 13 | "alpha" : "1.000", 14 | "blue" : "0.455", 15 | "green" : "0.286" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/Palette/Secondary.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.651", 13 | "alpha" : "1.000", 14 | "blue" : "0.922", 15 | "green" : "0.757" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_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_NeuKit_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_NeuKit_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/vromano.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | NeuKit.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-NeuKit_Example.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/NeuKit.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NeuKit", 3 | "version": "0.0.4", 4 | "summary": "A Neumorphic replacement of Apple UIKit.", 5 | "description": "A Neumorphic replacement of Apple UIKit. Turn your UI to neumorphic style.", 6 | "homepage": "https://github.com/elchief84/NeuKit", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "elchief84": "enzxx84@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/elchief84/NeuKit.git", 16 | "tag": "0.0.4" 17 | }, 18 | "platforms": { 19 | "ios": "10.0" 20 | }, 21 | "swift_versions": "4.0", 22 | "source_files": "NeuKit/Classes/**/*", 23 | "swift_version": "4.0" 24 | } 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/NeuKit 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/NeuKit 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/NeuKit" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/NeuKit/NeuKit.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "NeuKit" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/NeuKit" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/NeuKit/NeuKit.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "NeuKit" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NeuKit/NeuKit-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.0.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_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/NeuKit/ButtonViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ButtonViewController.swift 3 | // NeuKit_Example 4 | // 5 | // Created by Vincenzo Romano on 09/06/2020. 6 | // Copyright © 2020 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ButtonViewController: UIViewController { 12 | 13 | @IBOutlet var disableButton: UIButton! 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | 18 | // Do any additional setup after loading the view. 19 | } 20 | 21 | @IBAction func onPressButton(_ sender: Any) { 22 | disableButton.isEnabled = !disableButton.isEnabled; 23 | } 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 30 | // Get the new view controller using segue.destination. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Example/NeuKit/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020 vromano84 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/NeuKit/ViewsViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewsViewController.swift 3 | // NeuKit_Example 4 | // 5 | // Created by Vincenzo Romano on 09/06/2020. 6 | // Copyright © 2020 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewsViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | } 16 | 17 | override func viewWillAppear(_ animated: Bool) { 18 | super.viewWillAppear(animated) 19 | 20 | 21 | self.view.subviews.forEach { (view) in 22 | view.setup(); 23 | applyShadowToSubviews(parent: view); 24 | } 25 | } 26 | 27 | private func applyShadowToSubviews(parent: UIView){ 28 | parent.subviews.forEach { (view) in 29 | view.setup(); 30 | self.applyShadowToSubviews(parent: view); 31 | } 32 | } 33 | 34 | /* 35 | // MARK: - Navigation 36 | 37 | // In a storyboard-based application, you will often want to do a little preparation before navigation 38 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 39 | // Get the new view controller using segue.destination. 40 | // Pass the selected object to the new view controller. 41 | } 42 | */ 43 | 44 | } 45 | -------------------------------------------------------------------------------- /Example/NeuKit/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/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## NeuKit 5 | 6 | Copyright (c) 2020 vromano84 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 | -------------------------------------------------------------------------------- /NeuKit/Classes/Components/UISegmentedControl.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UISegmentedControl.swift 3 | // NeuKit 4 | // 5 | // Created by Vincenzo Romano on 09/06/2020. 6 | // 7 | 8 | import UIKit 9 | 10 | @IBDesignable 11 | extension UISegmentedControl { 12 | 13 | func setSegmentStyle() { 14 | let background:UIView = UIView() 15 | background.frame = bounds; 16 | background.backgroundColor = UIColor.blue 17 | // self.insertSubview(background, at: 0) 18 | 19 | self.subviews.forEach { (imageView) in 20 | if(imageView.isUserInteractionEnabled == false){ 21 | imageView.backgroundColor = UIColor.green; 22 | if(imageView.subviews.count > 0){ 23 | let tmp:UIImageView = imageView.subviews[0] as! UIImageView 24 | if(tmp.alpha != 0){ 25 | tmp.backgroundColor = UIColor.clear; 26 | } 27 | } 28 | } 29 | } 30 | 31 | } 32 | 33 | private func imageWithColor(color: UIColor) -> UIImage { 34 | let rect = CGRect(x: 0.0, y: 0.0, width: 1.0, height: 1.0) 35 | UIGraphicsBeginImageContext(rect.size) 36 | let context = UIGraphicsGetCurrentContext() 37 | context!.setFillColor(color.cgColor); 38 | context!.fill(rect); 39 | let image = UIGraphicsGetImageFromCurrentImageContext(); 40 | UIGraphicsEndImageContext(); 41 | return image! 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NeuKit 2 | 3 | [![CI Status](https://img.shields.io/travis/vromano84/NeuKit.svg?style=flat)](https://travis-ci.org/vromano84/NeuKit) 4 | [![Version](https://img.shields.io/cocoapods/v/NeuKit.svg?style=flat)](https://cocoapods.org/pods/NeuKit) 5 | [![License](https://img.shields.io/cocoapods/l/NeuKit.svg?style=flat)](https://cocoapods.org/pods/NeuKit) 6 | [![Platform](https://img.shields.io/cocoapods/p/NeuKit.svg?style=flat)](https://cocoapods.org/pods/NeuKit) 7 | 8 | A Neumorphic replacement of Apple UIKit. Turn your UI to neumorphic style. 9 | 10 | ## Example 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ## Requirements 15 | 16 | ## Installation 17 | 18 | NeuKit is available through [CocoaPods](https://cocoapods.org). To install 19 | it, simply add the following line to your Podfile: 20 | 21 | ```ruby 22 | pod 'NeuKit' 23 | ``` 24 | 25 | Change import UIKit with import NeuKit 26 | 27 | ## Author 28 | 29 | elchief84, enzxx84@gmail.com 30 | 31 | ## License 32 | 33 | NeuKit is available under the MIT license. See the LICENSE file for more info. 34 | 35 | ## ScreenShots 36 | 37 |
38 |
39 |
40 | -------------------------------------------------------------------------------- /NeuKit.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint NeuKit.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 = 'NeuKit' 11 | s.version = '0.0.6' 12 | s.summary = 'A Neumorphic replacement of Apple UIKit.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A Neumorphic replacement of Apple UIKit. Turn your UI to neumorphic style. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/elchief84/NeuKit' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'elchief84' => 'enzxx84@gmail.com' } 28 | s.source = { :git => 'https://github.com/elchief84/NeuKit.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '10.0' 32 | s.swift_version = '4.0' 33 | 34 | s.source_files = 'NeuKit/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'NeuKit' => ['NeuKit/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 | -------------------------------------------------------------------------------- /NeuKit/0.0.5/NeuKit.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint NeuKit.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 = 'NeuKit' 11 | s.version = '0.0.5' 12 | s.summary = 'A Neumorphic replacement of Apple UIKit.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A Neumorphic replacement of Apple UIKit. Turn your UI to neumorphic style. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/elchief84/NeuKit' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'elchief84' => 'enzxx84@gmail.com' } 28 | s.source = { :git => 'https://github.com/elchief84/NeuKit.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '10.0' 32 | s.swift_version = '4.0' 33 | 34 | s.source_files = 'NeuKit/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'NeuKit' => ['NeuKit/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 | -------------------------------------------------------------------------------- /NeuKit/0.0.6/NeuKit.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint NeuKit.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 = 'NeuKit' 11 | s.version = '0.0.6' 12 | s.summary = 'A Neumorphic replacement of Apple UIKit.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A Neumorphic replacement of Apple UIKit. Turn your UI to neumorphic style. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/elchief84/NeuKit' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'elchief84' => 'enzxx84@gmail.com' } 28 | s.source = { :git => 'https://github.com/elchief84/NeuKit.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '10.0' 32 | s.swift_version = '4.0' 33 | 34 | s.source_files = 'NeuKit/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'NeuKit' => ['NeuKit/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 | -------------------------------------------------------------------------------- /Example/NeuKit/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // NeuKit 4 | // 5 | // Created by vromano84 on 06/08/2020. 6 | // Copyright (c) 2020 vromano84. All rights reserved. 7 | // 8 | 9 | import NeuKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: 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/Pods/Pods.xcodeproj/xcuserdata/vromano.xcuserdatad/xcschemes/Pods-NeuKit_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/vromano.xcuserdatad/xcschemes/NeuKit.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_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) 2020 vromano84 <vincenzo.romano@healthtouch.eu> 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 | NeuKit 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/NeuKit/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/NeuKit.xcodeproj/xcshareddata/xcschemes/NeuKit-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /NeuKit/Classes/Components/UITextField.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField.swift 3 | // NeuKit 4 | // 5 | // Created by Vincenzo Romano on 08/06/2020. 6 | // 7 | 8 | import UIKit 9 | 10 | @IBDesignable 11 | extension UITextField { 12 | 13 | struct UITextFieldParams { 14 | static var horizontalMargin = [String:CGFloat]() 15 | } 16 | 17 | @IBInspectable 18 | public var horizontalMargin: CGFloat 19 | { 20 | set (horizontalMargin) { 21 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 22 | UITextFieldParams.horizontalMargin[tmpAddress] = horizontalMargin 23 | } 24 | 25 | get { 26 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 27 | return UITextFieldParams.horizontalMargin[tmpAddress] ?? 0.0 28 | } 29 | } 30 | 31 | open override func awakeFromNib() { 32 | super.awakeFromNib(); 33 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 34 | if(Params.active[tmpAddress] == true){ 35 | setupShadows() 36 | } 37 | } 38 | 39 | open override func layoutIfNeeded() { 40 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 41 | if(Params.active[tmpAddress] == true){ 42 | setupShadows() 43 | } 44 | } 45 | 46 | open func setupShadows() { 47 | var shadowLayerDark:CAShapeLayer = CAShapeLayer(); 48 | var shadowLayerLight:CAShapeLayer = CAShapeLayer(); 49 | 50 | if(self.layer.sublayers != nil){ 51 | for item in self.layer.sublayers! { 52 | if item.name == "shadowDark" { 53 | shadowLayerDark = item as! CAShapeLayer 54 | shadowLayerDark.removeFromSuperlayer(); 55 | self.backgroundColor = UIColor(cgColor: shadowLayerDark.sublayers![0].backgroundColor!); 56 | } 57 | if item.name == "shadowLight" { 58 | shadowLayerLight = item as! CAShapeLayer 59 | shadowLayerLight.removeFromSuperlayer(); 60 | self.backgroundColor = UIColor(cgColor: shadowLayerLight.sublayers![0].backgroundColor!); 61 | } 62 | } 63 | } 64 | 65 | shadowLayerDark = CAShapeLayer(); 66 | shadowLayerLight = CAShapeLayer(); 67 | 68 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 69 | 70 | var corners:UIRectCorner = UIRectCorner() 71 | 72 | if(Params.cornersLeft[tmpAddress] != nil) { 73 | if(Params.cornersLeft[tmpAddress] == true){ 74 | corners.insert(.topLeft); 75 | corners.insert(.bottomLeft); 76 | } 77 | }else{ 78 | corners.insert(.topLeft); 79 | corners.insert(.bottomLeft); 80 | } 81 | 82 | if(Params.cornersRight[tmpAddress] != nil) { 83 | if(Params.cornersRight[tmpAddress] == true){ 84 | corners.insert(.topRight); 85 | corners.insert(.bottomRight); 86 | } 87 | }else{ 88 | corners.insert(.topRight); 89 | corners.insert(.bottomRight); 90 | } 91 | 92 | if(UITextFieldParams.horizontalMargin[tmpAddress] != nil) { 93 | horizontalMargin = UITextFieldParams.horizontalMargin[tmpAddress]!; 94 | }else{ 95 | horizontalMargin = 20.0; 96 | } 97 | 98 | let paddingView = UIView(frame: CGRect(x: 0, y: 0, width: horizontalMargin, height: self.frame.size.height)) 99 | self.leftView = paddingView 100 | self.rightView = paddingView 101 | self.leftViewMode = .always 102 | self.rightViewMode = .always 103 | 104 | self.borderStyle = BorderStyle.none; 105 | if(self.backgroundColor == nil) { self.backgroundColor = UIColor.white; } 106 | 107 | shadowLayerDark.frame = bounds 108 | shadowLayerDark.shadowRadius = 4 109 | shadowLayerDark.shadowOpacity = 1 110 | 111 | shadowLayerDark.name = "shadowDark" 112 | self.layer.insertSublayer(shadowLayerDark, at: 0) 113 | var content:CAShapeLayer = CAShapeLayer() 114 | content.name = "content"; 115 | content.frame = bounds 116 | debugPrint("\(content.frame.size.width)"); 117 | content.backgroundColor = self.backgroundColor?.cgColor 118 | roundCorners(layer:content, corners: corners, radius: Params.cornerRadius[tmpAddress]!) 119 | content.masksToBounds = true; 120 | shadowLayerDark.addSublayer(content) 121 | 122 | var reverse:CGFloat = 1.0; 123 | if(Params.reverse[tmpAddress] != nil){ 124 | reverse = (Params.reverse[tmpAddress]!) ? -1.0 : 1.0; 125 | } 126 | 127 | let darkOffsetX:CGFloat = (Params.shadowDarkOffsetX[tmpAddress] != nil) ? Params.shadowDarkOffsetX[tmpAddress]! : 2.0 128 | let darkOffsetY:CGFloat = (Params.shadowDarkOffsetY[tmpAddress] != nil) ? Params.shadowDarkOffsetY[tmpAddress]! : 2.0 129 | shadowLayerDark.shadowOffset = CGSize( width: reverse*darkOffsetX, height: reverse*darkOffsetY) 130 | shadowLayerDark.shadowColor = (Params.darkShadowColor[tmpAddress] != nil) ? Params.darkShadowColor[tmpAddress]?.cgColor : UIColor(red: 8/255, green: 8/255, blue: 33/255, alpha: 0.12).cgColor 131 | 132 | shadowLayerLight.frame = bounds 133 | shadowLayerLight.shadowRadius = 4 134 | shadowLayerLight.shadowOpacity = 1 135 | 136 | shadowLayerLight.name = "shadowLight" 137 | self.layer.insertSublayer(shadowLayerLight, at: 0) 138 | content = CAShapeLayer() 139 | content.name = "content" 140 | content.frame = bounds 141 | debugPrint("\(content.frame.size.width)"); 142 | content.backgroundColor = self.backgroundColor?.cgColor 143 | roundCorners(layer:content, corners: corners, radius: Params.cornerRadius[tmpAddress]!) 144 | content.masksToBounds = true; 145 | shadowLayerLight.addSublayer(content) 146 | 147 | let lightOffsetX:CGFloat = (Params.shadowLightOffsetX[tmpAddress] != nil) ? Params.shadowLightOffsetX[tmpAddress]! : 2.0 148 | let lightOffsetY:CGFloat = (Params.shadowLightOffsetY[tmpAddress] != nil) ? Params.shadowLightOffsetY[tmpAddress]! : 2.0 149 | shadowLayerLight.shadowOffset = CGSize( width: reverse*lightOffsetX, height: reverse*lightOffsetY) 150 | shadowLayerLight.shadowColor = (Params.lightShadowColor[tmpAddress] != nil) ? Params.lightShadowColor[tmpAddress]?.cgColor : UIColor(red: 255/255, green: 255/255, blue: 255/255, alpha: 0.7).cgColor 151 | 152 | self.backgroundColor = UIColor.clear 153 | } 154 | 155 | } 156 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 116 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 117 | fi 118 | fi 119 | } 120 | 121 | # Used as a return value for each invocation of `strip_invalid_archs` function. 122 | STRIP_BINARY_RETVAL=0 123 | 124 | # Strip invalid architectures 125 | strip_invalid_archs() { 126 | binary="$1" 127 | warn_missing_arch=${2:-true} 128 | # Get architectures for current target binary 129 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 130 | # Intersect them with the architectures we are building for 131 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 132 | # If there are no archs supported by this binary then warn the user 133 | if [[ -z "$intersected_archs" ]]; then 134 | if [[ "$warn_missing_arch" == "true" ]]; then 135 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 136 | fi 137 | STRIP_BINARY_RETVAL=1 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=0 152 | } 153 | 154 | # Copies the bcsymbolmap files of a vendored framework 155 | install_bcsymbolmap() { 156 | local bcsymbolmap_path="$1" 157 | local destination="${BUILT_PRODUCTS_DIR}" 158 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 159 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 160 | } 161 | 162 | # Signs a framework with the provided identity 163 | code_sign_if_enabled() { 164 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 165 | # Use the current code_sign_identity 166 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 167 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 168 | 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | code_sign_cmd="$code_sign_cmd &" 171 | fi 172 | echo "$code_sign_cmd" 173 | eval "$code_sign_cmd" 174 | fi 175 | } 176 | 177 | if [[ "$CONFIGURATION" == "Debug" ]]; then 178 | install_framework "${BUILT_PRODUCTS_DIR}/NeuKit/NeuKit.framework" 179 | fi 180 | if [[ "$CONFIGURATION" == "Release" ]]; then 181 | install_framework "${BUILT_PRODUCTS_DIR}/NeuKit/NeuKit.framework" 182 | fi 183 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 184 | wait 185 | fi 186 | -------------------------------------------------------------------------------- /NeuKit/Classes/Components/UIButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton.swift 3 | // NeuKit 4 | // 5 | // Created by Vincenzo Romano on 08/06/2020. 6 | // 7 | 8 | import UIKit 9 | 10 | @IBDesignable 11 | extension UIButton { 12 | 13 | struct ButtonParams { 14 | static var hapticLevel = [String:Int]() //0: disabled; 1: light; 2: medium; 3: heavy light; 4: soft; 5: rigid (4 - 5 only iOS 13) 15 | static var isToggle = [String:Bool]() 16 | static var normalColor = [String:UIColor]() 17 | static var highligthColor = [String:UIColor]() 18 | } 19 | 20 | @IBInspectable 21 | public var hapticLevel: Int 22 | { 23 | set (hapticLevel) { 24 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 25 | ButtonParams.hapticLevel[tmpAddress] = hapticLevel 26 | } 27 | 28 | get { 29 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 30 | return ButtonParams.hapticLevel[tmpAddress] ?? 0 31 | } 32 | } 33 | 34 | @IBInspectable 35 | public var isToggle: Bool 36 | { 37 | set (isToggle) { 38 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 39 | ButtonParams.isToggle[tmpAddress] = isToggle 40 | } 41 | 42 | get { 43 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 44 | return ButtonParams.isToggle[tmpAddress] ?? true 45 | } 46 | } 47 | 48 | @IBInspectable 49 | public var normalColor: UIColor 50 | { 51 | set (normalColor) { 52 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 53 | ButtonParams.normalColor[tmpAddress] = normalColor 54 | } 55 | 56 | get { 57 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 58 | return ButtonParams.normalColor[tmpAddress] ?? UIColor.black 59 | } 60 | } 61 | 62 | @IBInspectable 63 | public var highligthColor: UIColor 64 | { 65 | set (highligthColor) { 66 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 67 | ButtonParams.highligthColor[tmpAddress] = highligthColor 68 | } 69 | 70 | get { 71 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 72 | return ButtonParams.highligthColor[tmpAddress] ?? UIColor.black 73 | } 74 | } 75 | 76 | /*open override func layoutSubviews() { 77 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 78 | if(Params.active[tmpAddress] == true){ 79 | self.backgroundColor = UIColor.clear; 80 | } 81 | }*/ 82 | 83 | @objc open override func draw(_ rect: CGRect) { 84 | super.draw(rect); 85 | 86 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 87 | if(Params.active[tmpAddress] == true){ 88 | setupShadows() 89 | self.backgroundColor = UIColor.clear 90 | } 91 | } 92 | 93 | open func setupShadows() { 94 | var shadowLayerDark:CAShapeLayer = CAShapeLayer(); 95 | var shadowLayerLight:CAShapeLayer = CAShapeLayer(); 96 | 97 | if(self.layer.sublayers != nil){ 98 | for item in self.layer.sublayers! { 99 | if item.name == "shadowDark" { 100 | shadowLayerDark = item as! CAShapeLayer 101 | shadowLayerDark.removeFromSuperlayer(); 102 | self.backgroundColor = UIColor(cgColor: shadowLayerDark.sublayers![0].backgroundColor!); 103 | } 104 | if item.name == "shadowLight" { 105 | shadowLayerLight = item as! CAShapeLayer 106 | shadowLayerLight.removeFromSuperlayer(); 107 | self.backgroundColor = UIColor(cgColor: shadowLayerLight.sublayers![0].backgroundColor!); 108 | } 109 | } 110 | } 111 | shadowLayerDark = CAShapeLayer(); 112 | shadowLayerLight = CAShapeLayer(); 113 | 114 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 115 | 116 | var corners:UIRectCorner = UIRectCorner() 117 | 118 | cornerRadius = (Params.cornerRadius[tmpAddress] != nil) ? Params.cornerRadius[tmpAddress]! : 0.0 119 | shadowRadius = (Params.shadowRadius[tmpAddress] != nil) ? Params.shadowRadius[tmpAddress]! : 4.0 120 | 121 | if(Params.cornersLeft[tmpAddress] != nil) { 122 | if(Params.cornersLeft[tmpAddress] == true){ 123 | corners.insert(.topLeft); 124 | corners.insert(.bottomLeft); 125 | } 126 | }else{ 127 | corners.insert(.topLeft); 128 | corners.insert(.bottomLeft); 129 | } 130 | 131 | if(Params.cornersRight[tmpAddress] != nil) { 132 | if(Params.cornersRight[tmpAddress] == true){ 133 | corners.insert(.topRight); 134 | corners.insert(.bottomRight); 135 | } 136 | }else{ 137 | corners.insert(.topRight); 138 | corners.insert(.bottomRight); 139 | } 140 | 141 | var bgColor:UIColor?; 142 | if(self.backgroundColor != nil){ 143 | bgColor = self.backgroundColor!; 144 | if(ButtonParams.normalColor[tmpAddress] != nil) { 145 | bgColor = ButtonParams.normalColor[tmpAddress]!; 146 | } 147 | } 148 | 149 | var fgColor:UIColor?; 150 | if(self.backgroundColor != nil){ 151 | fgColor = self.backgroundColor!; 152 | if(ButtonParams.normalColor[tmpAddress] != nil) { 153 | fgColor = ButtonParams.normalColor[tmpAddress]!; 154 | } 155 | } 156 | 157 | shadowLayerDark.name = "shadowDark" 158 | self.layer.insertSublayer(shadowLayerDark, below: self.imageView!.layer) 159 | var content:CAShapeLayer = CAShapeLayer() 160 | content.frame = bounds 161 | content.backgroundColor = (bgColor != nil) ? bgColor!.cgColor : UIColor.clear.cgColor; 162 | if(self.isSelected){ 163 | content.backgroundColor = (fgColor != nil) ? fgColor!.cgColor : UIColor.clear.cgColor; 164 | } 165 | roundCorners(layer:content, corners: corners, radius: cornerRadius) 166 | content.masksToBounds = true; 167 | shadowLayerDark.addSublayer(content) 168 | 169 | shadowLayerDark.frame = bounds 170 | shadowLayerDark.shadowRadius = 4 171 | shadowLayerDark.shadowOpacity = 1 172 | 173 | var reverse:CGFloat = 1.0; 174 | if(Params.reverse[tmpAddress] != nil){ 175 | reverse = (Params.reverse[tmpAddress]!) ? -1.0 : 1.0; 176 | }else{ 177 | reverse = 1.0; 178 | } 179 | 180 | let darkOffsetX:CGFloat = (Params.shadowDarkOffsetX[tmpAddress] != nil) ? Params.shadowDarkOffsetX[tmpAddress]! : 2.0 181 | let darkOffsetY:CGFloat = (Params.shadowDarkOffsetY[tmpAddress] != nil) ? Params.shadowDarkOffsetY[tmpAddress]! : 2.0 182 | shadowLayerDark.shadowOffset = CGSize( width: reverse*darkOffsetX, height: reverse*darkOffsetY) 183 | if(self.isEnabled){ 184 | shadowLayerDark.shadowColor = (Params.darkShadowColor[tmpAddress] != nil) ? Params.darkShadowColor[tmpAddress]?.cgColor : UIColor(red: 8/255, green: 8/255, blue: 33/255, alpha: 0.12).cgColor 185 | }else{ 186 | shadowLayerDark.shadowColor = UIColor.clear.cgColor; 187 | } 188 | 189 | shadowLayerLight.name = "shadowLight" 190 | self.layer.insertSublayer(shadowLayerLight, below: self.imageView!.layer) 191 | content = CAShapeLayer() 192 | content.frame = bounds 193 | content.backgroundColor = (bgColor != nil) ? bgColor!.cgColor : UIColor.clear.cgColor; 194 | 195 | roundCorners(layer:content, corners: corners, radius: Params.cornerRadius[tmpAddress]!) 196 | content.masksToBounds = true; 197 | shadowLayerLight.addSublayer(content) 198 | 199 | shadowLayerLight.frame = bounds 200 | shadowLayerLight.shadowRadius = 4 201 | shadowLayerLight.shadowOpacity = 1 202 | 203 | let lightOffsetX:CGFloat = (Params.shadowLightOffsetX[tmpAddress] != nil) ? Params.shadowLightOffsetX[tmpAddress]! : 2.0 204 | let lightOffsetY:CGFloat = (Params.shadowLightOffsetY[tmpAddress] != nil) ? Params.shadowLightOffsetY[tmpAddress]! : 2.0 205 | shadowLayerLight.shadowOffset = CGSize( width: reverse*lightOffsetX, height: reverse*lightOffsetY) 206 | if(self.isEnabled){ 207 | shadowLayerLight.shadowColor = (Params.lightShadowColor[tmpAddress] != nil) ? Params.lightShadowColor[tmpAddress]?.cgColor : UIColor(red: 255/255, green: 255/255, blue: 255/255, alpha: 0.7).cgColor 208 | }else{ 209 | shadowLayerLight.shadowColor = UIColor.clear.cgColor; 210 | } 211 | 212 | self.backgroundColor = UIColor.clear; 213 | 214 | } 215 | 216 | override open func touchesBegan(_ touches: Set?, with event: UIEvent?) { 217 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 218 | 219 | if(Params.active[tmpAddress] != true){ 220 | super.touchesBegan(touches!, with: event) 221 | return; 222 | } 223 | 224 | if(Params.active[tmpAddress] == true){ 225 | Params.reverse[tmpAddress] = (Params.reverse[tmpAddress] != nil) ? !Params.reverse[tmpAddress]! : true 226 | setupShadows() 227 | } 228 | 229 | var bgColor:UIColor = self.backgroundColor!; 230 | if(ButtonParams.normalColor[tmpAddress] != nil) { 231 | bgColor = ButtonParams.normalColor[tmpAddress]!; 232 | } 233 | 234 | var fgColor:UIColor = self.backgroundColor!; 235 | if(ButtonParams.highligthColor[tmpAddress] != nil) { 236 | fgColor = ButtonParams.highligthColor[tmpAddress]!; 237 | } 238 | 239 | var isToggle = false; 240 | if(ButtonParams.isToggle[tmpAddress] != nil){ 241 | isToggle = (ButtonParams.isToggle[tmpAddress] != nil) ? ButtonParams.isToggle[tmpAddress]! : false 242 | } 243 | 244 | if(isToggle){ 245 | self.isSelected = !self.isSelected; 246 | if(self.isSelected){ 247 | for item in self.layer.sublayers! { 248 | if item.name == "shadowDark" { 249 | item.sublayers![0].backgroundColor = fgColor.cgColor; 250 | } 251 | if item.name == "shadowLight" { 252 | item.sublayers![0].backgroundColor = fgColor.cgColor; 253 | } 254 | } 255 | }else{ 256 | for item in self.layer.sublayers! { 257 | if item.name == "shadowDark" { 258 | item.sublayers![0].backgroundColor = bgColor.cgColor; 259 | } 260 | if item.name == "shadowLight" { 261 | item.sublayers![0].backgroundColor = bgColor.cgColor; 262 | } 263 | } 264 | } 265 | } 266 | 267 | if(ButtonParams.hapticLevel[tmpAddress] != nil) { 268 | if(ButtonParams.hapticLevel[tmpAddress] != 0) { 269 | let force:UIImpactFeedbackGenerator.FeedbackStyle = UIImpactFeedbackGenerator.FeedbackStyle(rawValue: ButtonParams.hapticLevel[tmpAddress]!-1)! 270 | UIImpactFeedbackGenerator(style: force).impactOccurred() 271 | } 272 | } 273 | 274 | if(touches != nil){ 275 | super.touchesBegan(touches!, with: event) 276 | } 277 | } 278 | 279 | override open func touchesEnded(_ touches: Set, with event: UIEvent?) { 280 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 281 | 282 | if(Params.active[tmpAddress] == false){ 283 | super.touchesEnded(touches, with: event) 284 | return; 285 | } 286 | 287 | var isToggle = false; 288 | if(ButtonParams.isToggle[tmpAddress] != nil){ 289 | isToggle = (ButtonParams.isToggle[tmpAddress] != nil) ? ButtonParams.isToggle[tmpAddress]! : false 290 | } 291 | 292 | if(Params.active[tmpAddress] == true){ 293 | if(!isToggle){ 294 | Params.reverse[tmpAddress] = (Params.reverse[tmpAddress] != nil) ? !Params.reverse[tmpAddress]! : false 295 | setupShadows() 296 | } 297 | } 298 | 299 | super.touchesEnded(touches, with: event) 300 | } 301 | 302 | override open func touchesCancelled(_ touches: Set, with event: UIEvent?) { 303 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 304 | 305 | if(Params.active[tmpAddress] == false){ 306 | super.touchesCancelled(touches, with: event) 307 | return; 308 | } 309 | 310 | var isToggle = false; 311 | if(ButtonParams.isToggle[tmpAddress] != nil){ 312 | isToggle = (ButtonParams.isToggle[tmpAddress] != nil) ? ButtonParams.isToggle[tmpAddress]! : false 313 | } 314 | 315 | if(Params.active[tmpAddress] == true){ 316 | if(!isToggle){ 317 | Params.reverse[tmpAddress] = (Params.reverse[tmpAddress] != nil) ? !Params.reverse[tmpAddress]! : false 318 | setupShadows() 319 | } 320 | } 321 | 322 | super.touchesCancelled(touches, with: event) 323 | } 324 | 325 | } 326 | -------------------------------------------------------------------------------- /NeuKit/Classes/Components/UIView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView.swift 3 | // NeuKit 4 | // 5 | // Created by Vincenzo Romano on 09/06/2020. 6 | // 7 | 8 | import UIKit 9 | 10 | private let swizzling: (AnyClass, Selector, Selector) -> () = { forClass, originalSelector, swizzledSelector in 11 | guard 12 | let originalMethod = class_getInstanceMethod(forClass, originalSelector), 13 | let swizzledMethod = class_getInstanceMethod(forClass, swizzledSelector) 14 | else { return } 15 | method_exchangeImplementations(originalMethod, swizzledMethod) 16 | } 17 | 18 | @IBDesignable 19 | extension UIView { 20 | 21 | public static let classInit: Void = { 22 | let originalSelector = #selector(layoutSubviews) 23 | let swizzledSelector = #selector(swizzled_layoutSubviews) 24 | swizzling(UIView.self, originalSelector, swizzledSelector) 25 | }() 26 | 27 | @objc func swizzled_layoutSubviews() { 28 | swizzled_layoutSubviews(); 29 | 30 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 31 | if(Params.active[tmpAddress] == true) { 32 | setup(); 33 | } 34 | } 35 | 36 | struct Params { 37 | static var active = [String:Bool]() 38 | static var cornerRadius = [String:CGFloat]() 39 | static var cornersLeft = [String:Bool]() 40 | static var cornersRight = [String:Bool]() 41 | static var reverse = [String:Bool]() 42 | static var darkShadowColor = [String:UIColor]() 43 | static var lightShadowColor = [String:UIColor]() 44 | static var shadowDarkOffsetX = [String:CGFloat]() 45 | static var shadowDarkOffsetY = [String:CGFloat]() 46 | static var shadowLightOffsetX = [String:CGFloat]() 47 | static var shadowLightOffsetY = [String:CGFloat]() 48 | static var shadowRadius = [String:CGFloat]() 49 | static var initied = [String:Bool]() 50 | } 51 | 52 | @IBInspectable 53 | public var active: Bool 54 | { 55 | set (active) { 56 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 57 | Params.active[tmpAddress] = active 58 | } 59 | 60 | get { 61 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 62 | return Params.active[tmpAddress] ?? true 63 | } 64 | } 65 | 66 | @IBInspectable 67 | public var cornerRadius: CGFloat 68 | { 69 | set (radius) { 70 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 71 | Params.cornerRadius[tmpAddress] = radius 72 | } 73 | 74 | get { 75 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 76 | return Params.cornerRadius[tmpAddress] ?? 0.0 77 | } 78 | } 79 | 80 | @IBInspectable 81 | public var shadowRadius: CGFloat 82 | { 83 | set (radius) { 84 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 85 | Params.shadowRadius[tmpAddress] = radius 86 | } 87 | 88 | get { 89 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 90 | return Params.shadowRadius[tmpAddress] ?? 4.0 91 | } 92 | } 93 | 94 | @IBInspectable 95 | public var cornersLeft: Bool 96 | { 97 | set (cornersLeft) { 98 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 99 | Params.cornersLeft[tmpAddress] = cornersLeft 100 | } 101 | 102 | get { 103 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 104 | return Params.cornersLeft[tmpAddress] ?? true 105 | } 106 | } 107 | 108 | @IBInspectable 109 | public var cornersRight: Bool 110 | { 111 | set (cornersRight) { 112 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 113 | Params.cornersRight[tmpAddress] = cornersRight 114 | } 115 | 116 | get { 117 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 118 | return Params.cornersRight[tmpAddress] ?? true 119 | } 120 | } 121 | 122 | @IBInspectable 123 | public var reverse: Bool 124 | { 125 | set (reverse) { 126 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 127 | Params.reverse[tmpAddress] = reverse 128 | } 129 | 130 | get { 131 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 132 | return Params.reverse[tmpAddress] ?? false 133 | } 134 | } 135 | 136 | @IBInspectable 137 | public var shadowDarkOffsetX: CGFloat 138 | { 139 | set (shadowDarkOffsetX) { 140 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 141 | Params.shadowDarkOffsetX[tmpAddress] = shadowDarkOffsetX 142 | } 143 | 144 | get { 145 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 146 | return Params.shadowDarkOffsetX[tmpAddress] ?? 2.0 147 | } 148 | } 149 | 150 | @IBInspectable 151 | public var shadowDarkOffsetY: CGFloat 152 | { 153 | set (shadowDarkOffsetY) { 154 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 155 | Params.shadowDarkOffsetY[tmpAddress] = shadowDarkOffsetY 156 | } 157 | 158 | get { 159 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 160 | return Params.shadowDarkOffsetY[tmpAddress] ?? 2.0 161 | } 162 | } 163 | 164 | @IBInspectable 165 | public var shadowLightOffsetX: CGFloat 166 | { 167 | set (shadowLightOffsetX) { 168 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 169 | Params.shadowLightOffsetX[tmpAddress] = shadowLightOffsetX 170 | } 171 | 172 | get { 173 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 174 | return Params.shadowLightOffsetX[tmpAddress] ?? 2.0 175 | } 176 | } 177 | 178 | @IBInspectable 179 | public var shadowLightOffsetY: CGFloat 180 | { 181 | set (shadowLightOffsetY) { 182 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 183 | Params.shadowLightOffsetY[tmpAddress] = shadowLightOffsetY 184 | } 185 | 186 | get { 187 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 188 | return Params.shadowLightOffsetY[tmpAddress] ?? 2.0 189 | } 190 | } 191 | 192 | @IBInspectable 193 | public var darkShadowColor: UIColor 194 | { 195 | set (darkShadowColor) { 196 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 197 | Params.darkShadowColor[tmpAddress] = darkShadowColor 198 | } 199 | 200 | get { 201 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 202 | return Params.darkShadowColor[tmpAddress] ?? UIColor.black 203 | } 204 | } 205 | 206 | @IBInspectable 207 | public var lightShadowColor: UIColor 208 | { 209 | set (lightShadowColor) { 210 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 211 | Params.lightShadowColor[tmpAddress] = lightShadowColor 212 | } 213 | 214 | get { 215 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 216 | return Params.lightShadowColor[tmpAddress] ?? UIColor.black 217 | } 218 | } 219 | 220 | open func initied() -> Bool { 221 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 222 | return Params.initied[tmpAddress] ?? false; 223 | } 224 | 225 | open override func awakeFromNib() { 226 | self.layer.addObserver(self, forKeyPath: "frame", options: NSKeyValueObservingOptions(rawValue: 0), context: nil); 227 | } 228 | 229 | open override class func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { 230 | if(keyPath == "frame"){ 231 | debugPrint("frame changed"); 232 | } 233 | } 234 | 235 | open func setup() { 236 | let tmpAddress = String(format: "%p", unsafeBitCast(self, to: Int.self)) 237 | Params.initied[tmpAddress] = true; 238 | 239 | if(Params.active[tmpAddress] != true){ 240 | return; 241 | } 242 | 243 | var shadowLayerDark:CAShapeLayer = CAShapeLayer(); 244 | var shadowLayerLight:CAShapeLayer = CAShapeLayer(); 245 | if(self.layer.sublayers != nil){ 246 | for item in self.layer.sublayers! { 247 | if item.name == "shadowDark" { 248 | shadowLayerDark = item as! CAShapeLayer 249 | shadowLayerDark.removeFromSuperlayer(); 250 | if(shadowLayerDark.sublayers!.count > 0){ 251 | self.backgroundColor = UIColor(cgColor: shadowLayerDark.sublayers![0].backgroundColor ?? UIColor.clear.cgColor); 252 | } 253 | } 254 | if item.name == "shadowLight" { 255 | shadowLayerLight = item as! CAShapeLayer 256 | shadowLayerLight.removeFromSuperlayer(); 257 | self.backgroundColor = UIColor(cgColor: shadowLayerLight.sublayers![0].backgroundColor ?? UIColor.clear.cgColor); 258 | } 259 | } 260 | } 261 | shadowLayerDark = CAShapeLayer(); 262 | shadowLayerLight = CAShapeLayer(); 263 | 264 | 265 | var corners:UIRectCorner = UIRectCorner() 266 | 267 | if(Params.cornersLeft[tmpAddress] != nil) { 268 | if(Params.cornersLeft[tmpAddress] == true){ 269 | corners.insert(.topLeft); 270 | corners.insert(.bottomLeft); 271 | } 272 | }else{ 273 | corners.insert(.topLeft); 274 | corners.insert(.bottomLeft); 275 | } 276 | 277 | if(Params.cornersRight[tmpAddress] != nil) { 278 | if(Params.cornersRight[tmpAddress] == true){ 279 | corners.insert(.topRight); 280 | corners.insert(.bottomRight); 281 | } 282 | }else{ 283 | corners.insert(.topRight); 284 | corners.insert(.bottomRight); 285 | } 286 | 287 | cornerRadius = (Params.cornerRadius[tmpAddress] != nil) ? Params.cornerRadius[tmpAddress]! : 0.0 288 | shadowRadius = (Params.shadowRadius[tmpAddress] != nil) ? Params.shadowRadius[tmpAddress]! : 4.0 289 | 290 | shadowLayerDark.name = "shadowDark" 291 | self.layer.insertSublayer(shadowLayerDark, at: 0) 292 | var content:CAShapeLayer = CAShapeLayer() 293 | content.frame = bounds 294 | content.backgroundColor = self.backgroundColor?.cgColor 295 | roundCorners(layer:content, corners: corners, radius: cornerRadius) 296 | content.masksToBounds = true; 297 | shadowLayerDark.addSublayer(content) 298 | 299 | shadowLayerDark.frame = bounds 300 | shadowLayerDark.shadowRadius = shadowRadius; 301 | shadowLayerDark.shadowOpacity = 1 302 | 303 | var reverse:CGFloat = 1.0; 304 | if(Params.reverse[tmpAddress] != nil){ 305 | reverse = (Params.reverse[tmpAddress]!) ? -1.0 : 1.0; 306 | } 307 | 308 | let darkOffsetX:CGFloat = (Params.shadowDarkOffsetX[tmpAddress] != nil) ? Params.shadowDarkOffsetX[tmpAddress]! : 2.0 309 | let darkOffsetY:CGFloat = (Params.shadowDarkOffsetY[tmpAddress] != nil) ? Params.shadowDarkOffsetY[tmpAddress]! : 2.0 310 | shadowLayerDark.shadowOffset = CGSize( width: reverse*darkOffsetX, height: reverse*darkOffsetY) 311 | shadowLayerDark.shadowColor = (Params.darkShadowColor[tmpAddress] != nil) ? Params.darkShadowColor[tmpAddress]?.cgColor : UIColor(red: 8/255, green: 8/255, blue: 33/255, alpha: 0.12).cgColor 312 | 313 | shadowLayerLight.name = "shadowLight" 314 | self.layer.insertSublayer(shadowLayerLight, at: 0) 315 | content = CAShapeLayer() 316 | content.frame = bounds 317 | content.backgroundColor = self.backgroundColor?.cgColor 318 | 319 | roundCorners(layer:content, corners: corners, radius: cornerRadius) 320 | content.masksToBounds = true; 321 | shadowLayerLight.addSublayer(content) 322 | 323 | shadowLayerLight.frame = bounds 324 | shadowLayerLight.shadowRadius = shadowRadius 325 | shadowLayerLight.shadowOpacity = 1 326 | 327 | let lightOffsetX:CGFloat = (Params.shadowLightOffsetX[tmpAddress] != nil) ? Params.shadowLightOffsetX[tmpAddress]! : 2.0 328 | let lightOffsetY:CGFloat = (Params.shadowLightOffsetY[tmpAddress] != nil) ? Params.shadowLightOffsetY[tmpAddress]! : 2.0 329 | shadowLayerLight.shadowOffset = CGSize( width: reverse*lightOffsetX, height: reverse*lightOffsetY) 330 | shadowLayerLight.shadowColor = (Params.lightShadowColor[tmpAddress] != nil) ? Params.lightShadowColor[tmpAddress]?.cgColor : UIColor(red: 255/255, green: 255/255, blue: 255/255, alpha: 0.7).cgColor 331 | 332 | self.backgroundColor = UIColor.clear 333 | } 334 | 335 | open func delete() { 336 | if(self.layer.sublayers != nil){ 337 | for item in self.layer.sublayers! { 338 | if item.name == "shadowDark" { 339 | self.backgroundColor = UIColor(cgColor: item.sublayers![0].backgroundColor!); 340 | item.removeFromSuperlayer(); 341 | } 342 | if item.name == "shadowLight" { 343 | self.backgroundColor = UIColor(cgColor: item.sublayers![0].backgroundColor!); 344 | item.removeFromSuperlayer(); 345 | } 346 | } 347 | } 348 | } 349 | 350 | func roundCorners(layer: CALayer, corners: UIRectCorner, radius: CGFloat) { 351 | let path = UIBezierPath(roundedRect: layer.bounds, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)) 352 | let mask = CAShapeLayer() 353 | mask.backgroundColor = UIColor.red.cgColor 354 | mask.path = path.cgPath 355 | layer.mask = mask 356 | } 357 | 358 | } 359 | -------------------------------------------------------------------------------- /Example/NeuKit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 12 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 13 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 14 | 665DF414C0111CA8D2A7D470 /* Pods_NeuKit_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DE7217ACC7ED61309DEAE121 /* Pods_NeuKit_Example.framework */; }; 15 | 905D5C7F248FBDBE006D456D /* ButtonViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 905D5C7E248FBDBE006D456D /* ButtonViewController.swift */; }; 16 | 905D5C85248FE8F0006D456D /* ViewsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 905D5C84248FE8F0006D456D /* ViewsViewController.swift */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 327DA54DB6E3524511DA40DB /* Pods-NeuKit_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NeuKit_Example.release.xcconfig"; path = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.release.xcconfig"; sourceTree = ""; }; 21 | 45BF9145BBE7BB486F14A0E2 /* Pods_NeuKit_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NeuKit_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 5928809914E48C4EE2AF8185 /* Pods-NeuKit_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NeuKit_Tests.debug.xcconfig"; path = "Target Support Files/Pods-NeuKit_Tests/Pods-NeuKit_Tests.debug.xcconfig"; sourceTree = ""; }; 23 | 607FACD01AFB9204008FA782 /* NeuKit_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NeuKit_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 24 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 25 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 26 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 28 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 29 | 6DBD16ED4ED0DEF576CB6688 /* Pods-NeuKit_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NeuKit_Tests.release.xcconfig"; path = "Target Support Files/Pods-NeuKit_Tests/Pods-NeuKit_Tests.release.xcconfig"; sourceTree = ""; }; 30 | 74228821FD683357842C137F /* NeuKit.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = NeuKit.podspec; path = ../NeuKit.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 31 | 905D5C7E248FBDBE006D456D /* ButtonViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonViewController.swift; sourceTree = ""; }; 32 | 905D5C84248FE8F0006D456D /* ViewsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewsViewController.swift; sourceTree = ""; }; 33 | 96AB3040C7D3C400F20D284C /* Pods-NeuKit_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NeuKit_Example.debug.xcconfig"; path = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.debug.xcconfig"; sourceTree = ""; }; 34 | B3C5D45BB5C9713442E66792 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | D3A05F25352A96A719F30A22 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 36 | DE7217ACC7ED61309DEAE121 /* Pods_NeuKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NeuKit_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | /* End PBXFileReference section */ 38 | 39 | /* Begin PBXFrameworksBuildPhase section */ 40 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 41 | isa = PBXFrameworksBuildPhase; 42 | buildActionMask = 2147483647; 43 | files = ( 44 | 665DF414C0111CA8D2A7D470 /* Pods_NeuKit_Example.framework in Frameworks */, 45 | ); 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXFrameworksBuildPhase section */ 49 | 50 | /* Begin PBXGroup section */ 51 | 241A139E0DE9CDF0BB72B9A2 /* Frameworks */ = { 52 | isa = PBXGroup; 53 | children = ( 54 | DE7217ACC7ED61309DEAE121 /* Pods_NeuKit_Example.framework */, 55 | 45BF9145BBE7BB486F14A0E2 /* Pods_NeuKit_Tests.framework */, 56 | ); 57 | name = Frameworks; 58 | sourceTree = ""; 59 | }; 60 | 607FACC71AFB9204008FA782 = { 61 | isa = PBXGroup; 62 | children = ( 63 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 64 | 607FACD21AFB9204008FA782 /* Example for NeuKit */, 65 | 607FACD11AFB9204008FA782 /* Products */, 66 | B304D9D612FBD50A5A4E86AD /* Pods */, 67 | 241A139E0DE9CDF0BB72B9A2 /* Frameworks */, 68 | ); 69 | sourceTree = ""; 70 | }; 71 | 607FACD11AFB9204008FA782 /* Products */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 607FACD01AFB9204008FA782 /* NeuKit_Example.app */, 75 | ); 76 | name = Products; 77 | sourceTree = ""; 78 | }; 79 | 607FACD21AFB9204008FA782 /* Example for NeuKit */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 83 | 905D5C7E248FBDBE006D456D /* ButtonViewController.swift */, 84 | 905D5C84248FE8F0006D456D /* ViewsViewController.swift */, 85 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 86 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 87 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 88 | 607FACD31AFB9204008FA782 /* Supporting Files */, 89 | ); 90 | name = "Example for NeuKit"; 91 | path = NeuKit; 92 | sourceTree = ""; 93 | }; 94 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 607FACD41AFB9204008FA782 /* Info.plist */, 98 | ); 99 | name = "Supporting Files"; 100 | sourceTree = ""; 101 | }; 102 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 74228821FD683357842C137F /* NeuKit.podspec */, 106 | B3C5D45BB5C9713442E66792 /* README.md */, 107 | D3A05F25352A96A719F30A22 /* LICENSE */, 108 | ); 109 | name = "Podspec Metadata"; 110 | sourceTree = ""; 111 | }; 112 | B304D9D612FBD50A5A4E86AD /* Pods */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 96AB3040C7D3C400F20D284C /* Pods-NeuKit_Example.debug.xcconfig */, 116 | 327DA54DB6E3524511DA40DB /* Pods-NeuKit_Example.release.xcconfig */, 117 | 5928809914E48C4EE2AF8185 /* Pods-NeuKit_Tests.debug.xcconfig */, 118 | 6DBD16ED4ED0DEF576CB6688 /* Pods-NeuKit_Tests.release.xcconfig */, 119 | ); 120 | path = Pods; 121 | sourceTree = ""; 122 | }; 123 | /* End PBXGroup section */ 124 | 125 | /* Begin PBXNativeTarget section */ 126 | 607FACCF1AFB9204008FA782 /* NeuKit_Example */ = { 127 | isa = PBXNativeTarget; 128 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NeuKit_Example" */; 129 | buildPhases = ( 130 | CEB75F970D9C061D5774279C /* [CP] Check Pods Manifest.lock */, 131 | 607FACCC1AFB9204008FA782 /* Sources */, 132 | 607FACCD1AFB9204008FA782 /* Frameworks */, 133 | 607FACCE1AFB9204008FA782 /* Resources */, 134 | 61110DDA529A5E14DC0D2B35 /* [CP] Embed Pods Frameworks */, 135 | ); 136 | buildRules = ( 137 | ); 138 | dependencies = ( 139 | ); 140 | name = NeuKit_Example; 141 | productName = NeuKit; 142 | productReference = 607FACD01AFB9204008FA782 /* NeuKit_Example.app */; 143 | productType = "com.apple.product-type.application"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 607FACC81AFB9204008FA782 /* Project object */ = { 149 | isa = PBXProject; 150 | attributes = { 151 | LastSwiftUpdateCheck = 0830; 152 | LastUpgradeCheck = 0830; 153 | ORGANIZATIONNAME = CocoaPods; 154 | TargetAttributes = { 155 | 607FACCF1AFB9204008FA782 = { 156 | CreatedOnToolsVersion = 6.3.1; 157 | DevelopmentTeam = U74M2YS5GH; 158 | LastSwiftMigration = 0900; 159 | }; 160 | }; 161 | }; 162 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NeuKit" */; 163 | compatibilityVersion = "Xcode 3.2"; 164 | developmentRegion = English; 165 | hasScannedForEncodings = 0; 166 | knownRegions = ( 167 | English, 168 | en, 169 | Base, 170 | ); 171 | mainGroup = 607FACC71AFB9204008FA782; 172 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 173 | projectDirPath = ""; 174 | projectRoot = ""; 175 | targets = ( 176 | 607FACCF1AFB9204008FA782 /* NeuKit_Example */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | 607FACCE1AFB9204008FA782 /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 187 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 188 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 189 | ); 190 | runOnlyForDeploymentPostprocessing = 0; 191 | }; 192 | /* End PBXResourcesBuildPhase section */ 193 | 194 | /* Begin PBXShellScriptBuildPhase section */ 195 | 61110DDA529A5E14DC0D2B35 /* [CP] Embed Pods Frameworks */ = { 196 | isa = PBXShellScriptBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | ); 200 | inputPaths = ( 201 | "${PODS_ROOT}/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-frameworks.sh", 202 | "${BUILT_PRODUCTS_DIR}/NeuKit/NeuKit.framework", 203 | ); 204 | name = "[CP] Embed Pods Frameworks"; 205 | outputPaths = ( 206 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NeuKit.framework", 207 | ); 208 | runOnlyForDeploymentPostprocessing = 0; 209 | shellPath = /bin/sh; 210 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-frameworks.sh\"\n"; 211 | showEnvVarsInLog = 0; 212 | }; 213 | CEB75F970D9C061D5774279C /* [CP] Check Pods Manifest.lock */ = { 214 | isa = PBXShellScriptBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | ); 218 | inputFileListPaths = ( 219 | ); 220 | inputPaths = ( 221 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 222 | "${PODS_ROOT}/Manifest.lock", 223 | ); 224 | name = "[CP] Check Pods Manifest.lock"; 225 | outputFileListPaths = ( 226 | ); 227 | outputPaths = ( 228 | "$(DERIVED_FILE_DIR)/Pods-NeuKit_Example-checkManifestLockResult.txt", 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | shellPath = /bin/sh; 232 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 233 | showEnvVarsInLog = 0; 234 | }; 235 | /* End PBXShellScriptBuildPhase section */ 236 | 237 | /* Begin PBXSourcesBuildPhase section */ 238 | 607FACCC1AFB9204008FA782 /* Sources */ = { 239 | isa = PBXSourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 905D5C7F248FBDBE006D456D /* ButtonViewController.swift in Sources */, 243 | 905D5C85248FE8F0006D456D /* ViewsViewController.swift in Sources */, 244 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 607FACDA1AFB9204008FA782 /* Base */, 255 | ); 256 | name = Main.storyboard; 257 | sourceTree = ""; 258 | }; 259 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 260 | isa = PBXVariantGroup; 261 | children = ( 262 | 607FACDF1AFB9204008FA782 /* Base */, 263 | ); 264 | name = LaunchScreen.xib; 265 | sourceTree = ""; 266 | }; 267 | /* End PBXVariantGroup section */ 268 | 269 | /* Begin XCBuildConfiguration section */ 270 | 607FACED1AFB9204008FA782 /* Debug */ = { 271 | isa = XCBuildConfiguration; 272 | buildSettings = { 273 | ALWAYS_SEARCH_USER_PATHS = NO; 274 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 275 | CLANG_CXX_LIBRARY = "libc++"; 276 | CLANG_ENABLE_MODULES = YES; 277 | CLANG_ENABLE_OBJC_ARC = YES; 278 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 279 | CLANG_WARN_BOOL_CONVERSION = YES; 280 | CLANG_WARN_COMMA = YES; 281 | CLANG_WARN_CONSTANT_CONVERSION = YES; 282 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 283 | CLANG_WARN_EMPTY_BODY = YES; 284 | CLANG_WARN_ENUM_CONVERSION = YES; 285 | CLANG_WARN_INFINITE_RECURSION = YES; 286 | CLANG_WARN_INT_CONVERSION = YES; 287 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 288 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 289 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 290 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 291 | CLANG_WARN_STRICT_PROTOTYPES = YES; 292 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 293 | CLANG_WARN_UNREACHABLE_CODE = YES; 294 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 295 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 296 | COPY_PHASE_STRIP = NO; 297 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 298 | ENABLE_STRICT_OBJC_MSGSEND = YES; 299 | ENABLE_TESTABILITY = YES; 300 | GCC_C_LANGUAGE_STANDARD = gnu99; 301 | GCC_DYNAMIC_NO_PIC = NO; 302 | GCC_NO_COMMON_BLOCKS = YES; 303 | GCC_OPTIMIZATION_LEVEL = 0; 304 | GCC_PREPROCESSOR_DEFINITIONS = ( 305 | "DEBUG=1", 306 | "$(inherited)", 307 | ); 308 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 309 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 310 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 311 | GCC_WARN_UNDECLARED_SELECTOR = YES; 312 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 313 | GCC_WARN_UNUSED_FUNCTION = YES; 314 | GCC_WARN_UNUSED_VARIABLE = YES; 315 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 316 | MTL_ENABLE_DEBUG_INFO = YES; 317 | ONLY_ACTIVE_ARCH = YES; 318 | SDKROOT = iphoneos; 319 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 320 | }; 321 | name = Debug; 322 | }; 323 | 607FACEE1AFB9204008FA782 /* Release */ = { 324 | isa = XCBuildConfiguration; 325 | buildSettings = { 326 | ALWAYS_SEARCH_USER_PATHS = NO; 327 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 328 | CLANG_CXX_LIBRARY = "libc++"; 329 | CLANG_ENABLE_MODULES = YES; 330 | CLANG_ENABLE_OBJC_ARC = YES; 331 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 332 | CLANG_WARN_BOOL_CONVERSION = YES; 333 | CLANG_WARN_COMMA = YES; 334 | CLANG_WARN_CONSTANT_CONVERSION = YES; 335 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 336 | CLANG_WARN_EMPTY_BODY = YES; 337 | CLANG_WARN_ENUM_CONVERSION = YES; 338 | CLANG_WARN_INFINITE_RECURSION = YES; 339 | CLANG_WARN_INT_CONVERSION = YES; 340 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 342 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 343 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 344 | CLANG_WARN_STRICT_PROTOTYPES = YES; 345 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 346 | CLANG_WARN_UNREACHABLE_CODE = YES; 347 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 348 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 349 | COPY_PHASE_STRIP = NO; 350 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 351 | ENABLE_NS_ASSERTIONS = NO; 352 | ENABLE_STRICT_OBJC_MSGSEND = YES; 353 | GCC_C_LANGUAGE_STANDARD = gnu99; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 356 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 357 | GCC_WARN_UNDECLARED_SELECTOR = YES; 358 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 359 | GCC_WARN_UNUSED_FUNCTION = YES; 360 | GCC_WARN_UNUSED_VARIABLE = YES; 361 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 362 | MTL_ENABLE_DEBUG_INFO = NO; 363 | SDKROOT = iphoneos; 364 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 365 | VALIDATE_PRODUCT = YES; 366 | }; 367 | name = Release; 368 | }; 369 | 607FACF01AFB9204008FA782 /* Debug */ = { 370 | isa = XCBuildConfiguration; 371 | baseConfigurationReference = 96AB3040C7D3C400F20D284C /* Pods-NeuKit_Example.debug.xcconfig */; 372 | buildSettings = { 373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 374 | DEVELOPMENT_TEAM = U74M2YS5GH; 375 | INFOPLIST_FILE = NeuKit/Info.plist; 376 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 377 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 378 | MODULE_NAME = ExampleApp; 379 | PRODUCT_BUNDLE_IDENTIFIER = eu.enzoromano.neukit; 380 | PRODUCT_NAME = "$(TARGET_NAME)"; 381 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 382 | SWIFT_VERSION = 4.0; 383 | }; 384 | name = Debug; 385 | }; 386 | 607FACF11AFB9204008FA782 /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | baseConfigurationReference = 327DA54DB6E3524511DA40DB /* Pods-NeuKit_Example.release.xcconfig */; 389 | buildSettings = { 390 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 391 | DEVELOPMENT_TEAM = U74M2YS5GH; 392 | INFOPLIST_FILE = NeuKit/Info.plist; 393 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 394 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 395 | MODULE_NAME = ExampleApp; 396 | PRODUCT_BUNDLE_IDENTIFIER = eu.enzoromano.neukit; 397 | PRODUCT_NAME = "$(TARGET_NAME)"; 398 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 399 | SWIFT_VERSION = 4.0; 400 | }; 401 | name = Release; 402 | }; 403 | /* End XCBuildConfiguration section */ 404 | 405 | /* Begin XCConfigurationList section */ 406 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NeuKit" */ = { 407 | isa = XCConfigurationList; 408 | buildConfigurations = ( 409 | 607FACED1AFB9204008FA782 /* Debug */, 410 | 607FACEE1AFB9204008FA782 /* Release */, 411 | ); 412 | defaultConfigurationIsVisible = 0; 413 | defaultConfigurationName = Release; 414 | }; 415 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NeuKit_Example" */ = { 416 | isa = XCConfigurationList; 417 | buildConfigurations = ( 418 | 607FACF01AFB9204008FA782 /* Debug */, 419 | 607FACF11AFB9204008FA782 /* Release */, 420 | ); 421 | defaultConfigurationIsVisible = 0; 422 | defaultConfigurationName = Release; 423 | }; 424 | /* End XCConfigurationList section */ 425 | }; 426 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 427 | } 428 | -------------------------------------------------------------------------------- /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 | 06374E81563D819FD237ACB31DAEE80C /* UISegmentedControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = FFD4F24AC97C4A1B7737C44A7769927A /* UISegmentedControl.swift */; }; 11 | 1ED21625F8074151B5CAD8FDBF1885FE /* UITextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 018AA734625C9665AE8083C4F4B059AC /* UITextField.swift */; }; 12 | 30716F08A00F4214E2F8A89F9477E1C1 /* NeuKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A2F5B201C716BFB1295B3842BD5BCF1 /* NeuKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 358FF1E9D00DC7A595B0CB4234B61A65 /* NeuKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EF2AF54234242CC81874421A9969DDFE /* NeuKit-dummy.m */; }; 14 | 58E6004A33BA4CC16A8ED28062FE6A75 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 15 | 5BA921B3C60C1A2949F3548E7A4CDFAB /* UIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 288E679A0A81DB1DDA8D317D5EDF1BA0 /* UIView.swift */; }; 16 | 636614A6D1399496AB152102A3E3718F /* Pods-NeuKit_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F5EDC4565DE6262C141D627607AA9F82 /* Pods-NeuKit_Example-dummy.m */; }; 17 | 714DC4CF87014E15AF6842CB2699D694 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 18 | 8EBB05B2C71F5C95DB0AD3039E5A989F /* NeuKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = A18F12D103F8D1F170C69F397410C343 /* NeuKit.swift */; }; 19 | AADF7B717B2AE03452422FFB53E01489 /* Pods-NeuKit_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A174661BC953FBCFE684A9E79EADBE76 /* Pods-NeuKit_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | F3A7399F6C85EA92A5F2144817D0B5BF /* UIButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = DBE1422BAB55D59FFABECE8724F3275A /* UIButton.swift */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | D258250E182EE8757CAFB0454623E777 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 0895F021B6ED9F4C5487881748F40A85; 29 | remoteInfo = NeuKit; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 018AA734625C9665AE8083C4F4B059AC /* UITextField.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UITextField.swift; sourceTree = ""; }; 35 | 19026C70E5FA42F005DE82C017C8B0C9 /* Pods-NeuKit_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NeuKit_Example-frameworks.sh"; sourceTree = ""; }; 36 | 1D9664A48648CB8A6BDEDCB04D8487DE /* Pods-NeuKit_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NeuKit_Example-acknowledgements.plist"; sourceTree = ""; }; 37 | 211828C4F03B9CF5D455C78A7EF61D03 /* Pods-NeuKit_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NeuKit_Example.debug.xcconfig"; sourceTree = ""; }; 38 | 2327972D8476FDBD181C4C89233CD83B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 39 | 2565415780CF9CD1A12F864343574150 /* NeuKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = NeuKit.debug.xcconfig; sourceTree = ""; }; 40 | 288E679A0A81DB1DDA8D317D5EDF1BA0 /* UIView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIView.swift; sourceTree = ""; }; 41 | 2A0D846CCC022F4BA2A0E95C7FAB7028 /* Pods_NeuKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_NeuKit_Example.framework; path = "Pods-NeuKit_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 3A2F5B201C716BFB1295B3842BD5BCF1 /* NeuKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NeuKit-umbrella.h"; sourceTree = ""; }; 43 | 43D896F4EB2B9BA278F03987A41C51C4 /* Pods-NeuKit_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-NeuKit_Example.modulemap"; sourceTree = ""; }; 44 | 54E016D5BCD3ECDB6173DC989E3EFD18 /* NeuKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = NeuKit.modulemap; sourceTree = ""; }; 45 | 6488D7A542103DB89DEA7DF09882BCDD /* NeuKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "NeuKit-Info.plist"; sourceTree = ""; }; 46 | 6FD9EACF551722B2543C18758BECF603 /* Pods-NeuKit_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NeuKit_Example-Info.plist"; sourceTree = ""; }; 47 | 719922A5086A61E12A977D88BC67A1C2 /* NeuKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NeuKit-prefix.pch"; sourceTree = ""; }; 48 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 49 | 7C4F44D2813B747304E3A301C4C813F1 /* Pods-NeuKit_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NeuKit_Example.release.xcconfig"; sourceTree = ""; }; 50 | 96A18AB4AB2FAA8603E8117DFEA3E8BB /* Pods-NeuKit_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-NeuKit_Example-acknowledgements.markdown"; sourceTree = ""; }; 51 | 9760E58CBA718FAD6CDF500D3D9AB001 /* NeuKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = NeuKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 52 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 53 | A174661BC953FBCFE684A9E79EADBE76 /* Pods-NeuKit_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-NeuKit_Example-umbrella.h"; sourceTree = ""; }; 54 | A18F12D103F8D1F170C69F397410C343 /* NeuKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NeuKit.swift; path = NeuKit/Classes/NeuKit.swift; sourceTree = ""; }; 55 | DBE1422BAB55D59FFABECE8724F3275A /* UIButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIButton.swift; sourceTree = ""; }; 56 | ECA88EC51938825D40204CBFBC58E9AC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 57 | EF2AF54234242CC81874421A9969DDFE /* NeuKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NeuKit-dummy.m"; sourceTree = ""; }; 58 | EF528B9B8E0C56849A2F3E40DE625F13 /* NeuKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = NeuKit.release.xcconfig; sourceTree = ""; }; 59 | F5EDC4565DE6262C141D627607AA9F82 /* Pods-NeuKit_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-NeuKit_Example-dummy.m"; sourceTree = ""; }; 60 | FE1F276CF422822E77720814AAF808C0 /* NeuKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = NeuKit.framework; path = NeuKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | FFD4F24AC97C4A1B7737C44A7769927A /* UISegmentedControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UISegmentedControl.swift; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | CB11DECE4C566BEFCB5C4555F278E728 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | 714DC4CF87014E15AF6842CB2699D694 /* Foundation.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | E84F8C9A9C2A75F71BDFCD43DE471677 /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 58E6004A33BA4CC16A8ED28062FE6A75 /* Foundation.framework in Frameworks */, 78 | ); 79 | runOnlyForDeploymentPostprocessing = 0; 80 | }; 81 | /* End PBXFrameworksBuildPhase section */ 82 | 83 | /* Begin PBXGroup section */ 84 | 16DE4EAE72CBFF230303DD45C10A26DB /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | FE1F276CF422822E77720814AAF808C0 /* NeuKit.framework */, 88 | 2A0D846CCC022F4BA2A0E95C7FAB7028 /* Pods_NeuKit_Example.framework */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 286FF6F7DC5EDCBF41710D1E63A6C3F8 /* Components */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | DBE1422BAB55D59FFABECE8724F3275A /* UIButton.swift */, 97 | FFD4F24AC97C4A1B7737C44A7769927A /* UISegmentedControl.swift */, 98 | 018AA734625C9665AE8083C4F4B059AC /* UITextField.swift */, 99 | 288E679A0A81DB1DDA8D317D5EDF1BA0 /* UIView.swift */, 100 | ); 101 | name = Components; 102 | path = NeuKit/Classes/Components; 103 | sourceTree = ""; 104 | }; 105 | 53D71E903285BF02132E854E58507AC6 /* Targets Support Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | EB35AF77C2A3808339203BDA6A5010E1 /* Pods-NeuKit_Example */, 109 | ); 110 | name = "Targets Support Files"; 111 | sourceTree = ""; 112 | }; 113 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 117 | ); 118 | name = iOS; 119 | sourceTree = ""; 120 | }; 121 | 840D560EB6947488D36B86B9E3F7DBE2 /* NeuKit */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | A18F12D103F8D1F170C69F397410C343 /* NeuKit.swift */, 125 | 286FF6F7DC5EDCBF41710D1E63A6C3F8 /* Components */, 126 | 88CB3C1C14DD7A8B8B2564C890F4619D /* Pod */, 127 | AC2461500E3FC9C32B8A0F90CA84859E /* Support Files */, 128 | ); 129 | name = NeuKit; 130 | path = ../..; 131 | sourceTree = ""; 132 | }; 133 | 88CB3C1C14DD7A8B8B2564C890F4619D /* Pod */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 2327972D8476FDBD181C4C89233CD83B /* LICENSE */, 137 | 9760E58CBA718FAD6CDF500D3D9AB001 /* NeuKit.podspec */, 138 | ECA88EC51938825D40204CBFBC58E9AC /* README.md */, 139 | ); 140 | name = Pod; 141 | sourceTree = ""; 142 | }; 143 | 894205ECDA716938A0EDE3B728819EA2 /* Development Pods */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 840D560EB6947488D36B86B9E3F7DBE2 /* NeuKit */, 147 | ); 148 | name = "Development Pods"; 149 | sourceTree = ""; 150 | }; 151 | AC2461500E3FC9C32B8A0F90CA84859E /* Support Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 54E016D5BCD3ECDB6173DC989E3EFD18 /* NeuKit.modulemap */, 155 | EF2AF54234242CC81874421A9969DDFE /* NeuKit-dummy.m */, 156 | 6488D7A542103DB89DEA7DF09882BCDD /* NeuKit-Info.plist */, 157 | 719922A5086A61E12A977D88BC67A1C2 /* NeuKit-prefix.pch */, 158 | 3A2F5B201C716BFB1295B3842BD5BCF1 /* NeuKit-umbrella.h */, 159 | 2565415780CF9CD1A12F864343574150 /* NeuKit.debug.xcconfig */, 160 | EF528B9B8E0C56849A2F3E40DE625F13 /* NeuKit.release.xcconfig */, 161 | ); 162 | name = "Support Files"; 163 | path = "Example/Pods/Target Support Files/NeuKit"; 164 | sourceTree = ""; 165 | }; 166 | CF1408CF629C7361332E53B88F7BD30C = { 167 | isa = PBXGroup; 168 | children = ( 169 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 170 | 894205ECDA716938A0EDE3B728819EA2 /* Development Pods */, 171 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 172 | 16DE4EAE72CBFF230303DD45C10A26DB /* Products */, 173 | 53D71E903285BF02132E854E58507AC6 /* Targets Support Files */, 174 | ); 175 | sourceTree = ""; 176 | }; 177 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 181 | ); 182 | name = Frameworks; 183 | sourceTree = ""; 184 | }; 185 | EB35AF77C2A3808339203BDA6A5010E1 /* Pods-NeuKit_Example */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | 43D896F4EB2B9BA278F03987A41C51C4 /* Pods-NeuKit_Example.modulemap */, 189 | 96A18AB4AB2FAA8603E8117DFEA3E8BB /* Pods-NeuKit_Example-acknowledgements.markdown */, 190 | 1D9664A48648CB8A6BDEDCB04D8487DE /* Pods-NeuKit_Example-acknowledgements.plist */, 191 | F5EDC4565DE6262C141D627607AA9F82 /* Pods-NeuKit_Example-dummy.m */, 192 | 19026C70E5FA42F005DE82C017C8B0C9 /* Pods-NeuKit_Example-frameworks.sh */, 193 | 6FD9EACF551722B2543C18758BECF603 /* Pods-NeuKit_Example-Info.plist */, 194 | A174661BC953FBCFE684A9E79EADBE76 /* Pods-NeuKit_Example-umbrella.h */, 195 | 211828C4F03B9CF5D455C78A7EF61D03 /* Pods-NeuKit_Example.debug.xcconfig */, 196 | 7C4F44D2813B747304E3A301C4C813F1 /* Pods-NeuKit_Example.release.xcconfig */, 197 | ); 198 | name = "Pods-NeuKit_Example"; 199 | path = "Target Support Files/Pods-NeuKit_Example"; 200 | sourceTree = ""; 201 | }; 202 | /* End PBXGroup section */ 203 | 204 | /* Begin PBXHeadersBuildPhase section */ 205 | 194CD33BC3610E3D3A9847D4BBA28E9F /* Headers */ = { 206 | isa = PBXHeadersBuildPhase; 207 | buildActionMask = 2147483647; 208 | files = ( 209 | AADF7B717B2AE03452422FFB53E01489 /* Pods-NeuKit_Example-umbrella.h in Headers */, 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | }; 213 | 99221C5CC1932F0C01E512DD72DE7FB6 /* Headers */ = { 214 | isa = PBXHeadersBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | 30716F08A00F4214E2F8A89F9477E1C1 /* NeuKit-umbrella.h in Headers */, 218 | ); 219 | runOnlyForDeploymentPostprocessing = 0; 220 | }; 221 | /* End PBXHeadersBuildPhase section */ 222 | 223 | /* Begin PBXNativeTarget section */ 224 | 0895F021B6ED9F4C5487881748F40A85 /* NeuKit */ = { 225 | isa = PBXNativeTarget; 226 | buildConfigurationList = 625A895EFF6032548A2CD78DF978B970 /* Build configuration list for PBXNativeTarget "NeuKit" */; 227 | buildPhases = ( 228 | 99221C5CC1932F0C01E512DD72DE7FB6 /* Headers */, 229 | 987A32F1ACBFE5140AA048788F03E1FA /* Sources */, 230 | CB11DECE4C566BEFCB5C4555F278E728 /* Frameworks */, 231 | 1AB48B701E7F0BF7EB3B1CB43DAA82BB /* Resources */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | ); 237 | name = NeuKit; 238 | productName = NeuKit; 239 | productReference = FE1F276CF422822E77720814AAF808C0 /* NeuKit.framework */; 240 | productType = "com.apple.product-type.framework"; 241 | }; 242 | 7AF766393CAA402BD80437B1F4D74725 /* Pods-NeuKit_Example */ = { 243 | isa = PBXNativeTarget; 244 | buildConfigurationList = B2F39936E2BEF5DA6D5E210AB327055A /* Build configuration list for PBXNativeTarget "Pods-NeuKit_Example" */; 245 | buildPhases = ( 246 | 194CD33BC3610E3D3A9847D4BBA28E9F /* Headers */, 247 | 7C85E577BD4AE4326B43F304D14A3AB5 /* Sources */, 248 | E84F8C9A9C2A75F71BDFCD43DE471677 /* Frameworks */, 249 | 30C817097D1C67AFF96AF7C2F9BEAF56 /* Resources */, 250 | ); 251 | buildRules = ( 252 | ); 253 | dependencies = ( 254 | 1148C88BC588E6A01F36433B5F0BA52B /* PBXTargetDependency */, 255 | ); 256 | name = "Pods-NeuKit_Example"; 257 | productName = "Pods-NeuKit_Example"; 258 | productReference = 2A0D846CCC022F4BA2A0E95C7FAB7028 /* Pods_NeuKit_Example.framework */; 259 | productType = "com.apple.product-type.framework"; 260 | }; 261 | /* End PBXNativeTarget section */ 262 | 263 | /* Begin PBXProject section */ 264 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 265 | isa = PBXProject; 266 | attributes = { 267 | LastSwiftUpdateCheck = 1100; 268 | LastUpgradeCheck = 1100; 269 | }; 270 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 271 | compatibilityVersion = "Xcode 3.2"; 272 | developmentRegion = en; 273 | hasScannedForEncodings = 0; 274 | knownRegions = ( 275 | en, 276 | Base, 277 | ); 278 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 279 | productRefGroup = 16DE4EAE72CBFF230303DD45C10A26DB /* Products */; 280 | projectDirPath = ""; 281 | projectRoot = ""; 282 | targets = ( 283 | 0895F021B6ED9F4C5487881748F40A85 /* NeuKit */, 284 | 7AF766393CAA402BD80437B1F4D74725 /* Pods-NeuKit_Example */, 285 | ); 286 | }; 287 | /* End PBXProject section */ 288 | 289 | /* Begin PBXResourcesBuildPhase section */ 290 | 1AB48B701E7F0BF7EB3B1CB43DAA82BB /* Resources */ = { 291 | isa = PBXResourcesBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | 30C817097D1C67AFF96AF7C2F9BEAF56 /* Resources */ = { 298 | isa = PBXResourcesBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXResourcesBuildPhase section */ 305 | 306 | /* Begin PBXSourcesBuildPhase section */ 307 | 7C85E577BD4AE4326B43F304D14A3AB5 /* Sources */ = { 308 | isa = PBXSourcesBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | 636614A6D1399496AB152102A3E3718F /* Pods-NeuKit_Example-dummy.m in Sources */, 312 | ); 313 | runOnlyForDeploymentPostprocessing = 0; 314 | }; 315 | 987A32F1ACBFE5140AA048788F03E1FA /* Sources */ = { 316 | isa = PBXSourcesBuildPhase; 317 | buildActionMask = 2147483647; 318 | files = ( 319 | 358FF1E9D00DC7A595B0CB4234B61A65 /* NeuKit-dummy.m in Sources */, 320 | 8EBB05B2C71F5C95DB0AD3039E5A989F /* NeuKit.swift in Sources */, 321 | F3A7399F6C85EA92A5F2144817D0B5BF /* UIButton.swift in Sources */, 322 | 06374E81563D819FD237ACB31DAEE80C /* UISegmentedControl.swift in Sources */, 323 | 1ED21625F8074151B5CAD8FDBF1885FE /* UITextField.swift in Sources */, 324 | 5BA921B3C60C1A2949F3548E7A4CDFAB /* UIView.swift in Sources */, 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | }; 328 | /* End PBXSourcesBuildPhase section */ 329 | 330 | /* Begin PBXTargetDependency section */ 331 | 1148C88BC588E6A01F36433B5F0BA52B /* PBXTargetDependency */ = { 332 | isa = PBXTargetDependency; 333 | name = NeuKit; 334 | target = 0895F021B6ED9F4C5487881748F40A85 /* NeuKit */; 335 | targetProxy = D258250E182EE8757CAFB0454623E777 /* PBXContainerItemProxy */; 336 | }; 337 | /* End PBXTargetDependency section */ 338 | 339 | /* Begin XCBuildConfiguration section */ 340 | 2AAF687B3AC6FF6C806D712D0A470BEE /* Release */ = { 341 | isa = XCBuildConfiguration; 342 | baseConfigurationReference = 7C4F44D2813B747304E3A301C4C813F1 /* Pods-NeuKit_Example.release.xcconfig */; 343 | buildSettings = { 344 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 345 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 346 | CLANG_ENABLE_OBJC_WEAK = NO; 347 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 348 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 349 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 350 | CURRENT_PROJECT_VERSION = 1; 351 | DEFINES_MODULE = YES; 352 | DYLIB_COMPATIBILITY_VERSION = 1; 353 | DYLIB_CURRENT_VERSION = 1; 354 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 355 | INFOPLIST_FILE = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-Info.plist"; 356 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 357 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 359 | MACH_O_TYPE = staticlib; 360 | MODULEMAP_FILE = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.modulemap"; 361 | OTHER_LDFLAGS = ""; 362 | OTHER_LIBTOOLFLAGS = ""; 363 | PODS_ROOT = "$(SRCROOT)"; 364 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 365 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 366 | SDKROOT = iphoneos; 367 | SKIP_INSTALL = YES; 368 | TARGETED_DEVICE_FAMILY = "1,2"; 369 | VALIDATE_PRODUCT = YES; 370 | VERSIONING_SYSTEM = "apple-generic"; 371 | VERSION_INFO_PREFIX = ""; 372 | }; 373 | name = Release; 374 | }; 375 | 322BF16CFF6234BA18755EBB0D33AABD /* Debug */ = { 376 | isa = XCBuildConfiguration; 377 | baseConfigurationReference = 2565415780CF9CD1A12F864343574150 /* NeuKit.debug.xcconfig */; 378 | buildSettings = { 379 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 380 | CLANG_ENABLE_OBJC_WEAK = NO; 381 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 383 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 384 | CURRENT_PROJECT_VERSION = 1; 385 | DEFINES_MODULE = YES; 386 | DYLIB_COMPATIBILITY_VERSION = 1; 387 | DYLIB_CURRENT_VERSION = 1; 388 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 389 | GCC_PREFIX_HEADER = "Target Support Files/NeuKit/NeuKit-prefix.pch"; 390 | INFOPLIST_FILE = "Target Support Files/NeuKit/NeuKit-Info.plist"; 391 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 392 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 394 | MODULEMAP_FILE = "Target Support Files/NeuKit/NeuKit.modulemap"; 395 | PRODUCT_MODULE_NAME = NeuKit; 396 | PRODUCT_NAME = NeuKit; 397 | SDKROOT = iphoneos; 398 | SKIP_INSTALL = YES; 399 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 400 | SWIFT_VERSION = 4.0; 401 | TARGETED_DEVICE_FAMILY = "1,2"; 402 | VERSIONING_SYSTEM = "apple-generic"; 403 | VERSION_INFO_PREFIX = ""; 404 | }; 405 | name = Debug; 406 | }; 407 | 3DD549A61B7BD83DCCFDD619716523E6 /* Release */ = { 408 | isa = XCBuildConfiguration; 409 | baseConfigurationReference = EF528B9B8E0C56849A2F3E40DE625F13 /* NeuKit.release.xcconfig */; 410 | buildSettings = { 411 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 412 | CLANG_ENABLE_OBJC_WEAK = NO; 413 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 414 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 415 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 416 | CURRENT_PROJECT_VERSION = 1; 417 | DEFINES_MODULE = YES; 418 | DYLIB_COMPATIBILITY_VERSION = 1; 419 | DYLIB_CURRENT_VERSION = 1; 420 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 421 | GCC_PREFIX_HEADER = "Target Support Files/NeuKit/NeuKit-prefix.pch"; 422 | INFOPLIST_FILE = "Target Support Files/NeuKit/NeuKit-Info.plist"; 423 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 424 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 425 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 426 | MODULEMAP_FILE = "Target Support Files/NeuKit/NeuKit.modulemap"; 427 | PRODUCT_MODULE_NAME = NeuKit; 428 | PRODUCT_NAME = NeuKit; 429 | SDKROOT = iphoneos; 430 | SKIP_INSTALL = YES; 431 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 432 | SWIFT_VERSION = 4.0; 433 | TARGETED_DEVICE_FAMILY = "1,2"; 434 | VALIDATE_PRODUCT = YES; 435 | VERSIONING_SYSTEM = "apple-generic"; 436 | VERSION_INFO_PREFIX = ""; 437 | }; 438 | name = Release; 439 | }; 440 | 903A0004D3E6651EFD5D2E16214D101B /* Release */ = { 441 | isa = XCBuildConfiguration; 442 | buildSettings = { 443 | ALWAYS_SEARCH_USER_PATHS = NO; 444 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 445 | CLANG_ANALYZER_NONNULL = YES; 446 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 447 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 448 | CLANG_CXX_LIBRARY = "libc++"; 449 | CLANG_ENABLE_MODULES = YES; 450 | CLANG_ENABLE_OBJC_ARC = YES; 451 | CLANG_ENABLE_OBJC_WEAK = YES; 452 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 453 | CLANG_WARN_BOOL_CONVERSION = YES; 454 | CLANG_WARN_COMMA = YES; 455 | CLANG_WARN_CONSTANT_CONVERSION = YES; 456 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 457 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 458 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 459 | CLANG_WARN_EMPTY_BODY = YES; 460 | CLANG_WARN_ENUM_CONVERSION = YES; 461 | CLANG_WARN_INFINITE_RECURSION = YES; 462 | CLANG_WARN_INT_CONVERSION = YES; 463 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 464 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 465 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 466 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 467 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 468 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 469 | CLANG_WARN_STRICT_PROTOTYPES = YES; 470 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 471 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 472 | CLANG_WARN_UNREACHABLE_CODE = YES; 473 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 474 | COPY_PHASE_STRIP = NO; 475 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 476 | ENABLE_NS_ASSERTIONS = NO; 477 | ENABLE_STRICT_OBJC_MSGSEND = YES; 478 | GCC_C_LANGUAGE_STANDARD = gnu11; 479 | GCC_NO_COMMON_BLOCKS = YES; 480 | GCC_PREPROCESSOR_DEFINITIONS = ( 481 | "POD_CONFIGURATION_RELEASE=1", 482 | "$(inherited)", 483 | ); 484 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 485 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 486 | GCC_WARN_UNDECLARED_SELECTOR = YES; 487 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 488 | GCC_WARN_UNUSED_FUNCTION = YES; 489 | GCC_WARN_UNUSED_VARIABLE = YES; 490 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 491 | MTL_ENABLE_DEBUG_INFO = NO; 492 | MTL_FAST_MATH = YES; 493 | PRODUCT_NAME = "$(TARGET_NAME)"; 494 | STRIP_INSTALLED_PRODUCT = NO; 495 | SWIFT_COMPILATION_MODE = wholemodule; 496 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 497 | SWIFT_VERSION = 5.0; 498 | SYMROOT = "${SRCROOT}/../build"; 499 | }; 500 | name = Release; 501 | }; 502 | B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */ = { 503 | isa = XCBuildConfiguration; 504 | buildSettings = { 505 | ALWAYS_SEARCH_USER_PATHS = NO; 506 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 507 | CLANG_ANALYZER_NONNULL = YES; 508 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 509 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 510 | CLANG_CXX_LIBRARY = "libc++"; 511 | CLANG_ENABLE_MODULES = YES; 512 | CLANG_ENABLE_OBJC_ARC = YES; 513 | CLANG_ENABLE_OBJC_WEAK = YES; 514 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 515 | CLANG_WARN_BOOL_CONVERSION = YES; 516 | CLANG_WARN_COMMA = YES; 517 | CLANG_WARN_CONSTANT_CONVERSION = YES; 518 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 519 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 520 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 521 | CLANG_WARN_EMPTY_BODY = YES; 522 | CLANG_WARN_ENUM_CONVERSION = YES; 523 | CLANG_WARN_INFINITE_RECURSION = YES; 524 | CLANG_WARN_INT_CONVERSION = YES; 525 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 526 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 527 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 528 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 529 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 530 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 531 | CLANG_WARN_STRICT_PROTOTYPES = YES; 532 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 533 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 534 | CLANG_WARN_UNREACHABLE_CODE = YES; 535 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 536 | COPY_PHASE_STRIP = NO; 537 | DEBUG_INFORMATION_FORMAT = dwarf; 538 | ENABLE_STRICT_OBJC_MSGSEND = YES; 539 | ENABLE_TESTABILITY = YES; 540 | GCC_C_LANGUAGE_STANDARD = gnu11; 541 | GCC_DYNAMIC_NO_PIC = NO; 542 | GCC_NO_COMMON_BLOCKS = YES; 543 | GCC_OPTIMIZATION_LEVEL = 0; 544 | GCC_PREPROCESSOR_DEFINITIONS = ( 545 | "POD_CONFIGURATION_DEBUG=1", 546 | "DEBUG=1", 547 | "$(inherited)", 548 | ); 549 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 550 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 551 | GCC_WARN_UNDECLARED_SELECTOR = YES; 552 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 553 | GCC_WARN_UNUSED_FUNCTION = YES; 554 | GCC_WARN_UNUSED_VARIABLE = YES; 555 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 556 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 557 | MTL_FAST_MATH = YES; 558 | ONLY_ACTIVE_ARCH = YES; 559 | PRODUCT_NAME = "$(TARGET_NAME)"; 560 | STRIP_INSTALLED_PRODUCT = NO; 561 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 562 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 563 | SWIFT_VERSION = 5.0; 564 | SYMROOT = "${SRCROOT}/../build"; 565 | }; 566 | name = Debug; 567 | }; 568 | DF0BDC98677A4EFD235CE57286D8AB34 /* Debug */ = { 569 | isa = XCBuildConfiguration; 570 | baseConfigurationReference = 211828C4F03B9CF5D455C78A7EF61D03 /* Pods-NeuKit_Example.debug.xcconfig */; 571 | buildSettings = { 572 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 573 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 574 | CLANG_ENABLE_OBJC_WEAK = NO; 575 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 576 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 577 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 578 | CURRENT_PROJECT_VERSION = 1; 579 | DEFINES_MODULE = YES; 580 | DYLIB_COMPATIBILITY_VERSION = 1; 581 | DYLIB_CURRENT_VERSION = 1; 582 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 583 | INFOPLIST_FILE = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example-Info.plist"; 584 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 585 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 586 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 587 | MACH_O_TYPE = staticlib; 588 | MODULEMAP_FILE = "Target Support Files/Pods-NeuKit_Example/Pods-NeuKit_Example.modulemap"; 589 | OTHER_LDFLAGS = ""; 590 | OTHER_LIBTOOLFLAGS = ""; 591 | PODS_ROOT = "$(SRCROOT)"; 592 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 593 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 594 | SDKROOT = iphoneos; 595 | SKIP_INSTALL = YES; 596 | TARGETED_DEVICE_FAMILY = "1,2"; 597 | VERSIONING_SYSTEM = "apple-generic"; 598 | VERSION_INFO_PREFIX = ""; 599 | }; 600 | name = Debug; 601 | }; 602 | /* End XCBuildConfiguration section */ 603 | 604 | /* Begin XCConfigurationList section */ 605 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 606 | isa = XCConfigurationList; 607 | buildConfigurations = ( 608 | B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */, 609 | 903A0004D3E6651EFD5D2E16214D101B /* Release */, 610 | ); 611 | defaultConfigurationIsVisible = 0; 612 | defaultConfigurationName = Release; 613 | }; 614 | 625A895EFF6032548A2CD78DF978B970 /* Build configuration list for PBXNativeTarget "NeuKit" */ = { 615 | isa = XCConfigurationList; 616 | buildConfigurations = ( 617 | 322BF16CFF6234BA18755EBB0D33AABD /* Debug */, 618 | 3DD549A61B7BD83DCCFDD619716523E6 /* Release */, 619 | ); 620 | defaultConfigurationIsVisible = 0; 621 | defaultConfigurationName = Release; 622 | }; 623 | B2F39936E2BEF5DA6D5E210AB327055A /* Build configuration list for PBXNativeTarget "Pods-NeuKit_Example" */ = { 624 | isa = XCConfigurationList; 625 | buildConfigurations = ( 626 | DF0BDC98677A4EFD235CE57286D8AB34 /* Debug */, 627 | 2AAF687B3AC6FF6C806D712D0A470BEE /* Release */, 628 | ); 629 | defaultConfigurationIsVisible = 0; 630 | defaultConfigurationName = Release; 631 | }; 632 | /* End XCConfigurationList section */ 633 | }; 634 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 635 | } 636 | --------------------------------------------------------------------------------