├── FLNiceSpinner ├── Assets │ ├── .gitkeep │ └── FLNiceSpinner.bundle │ │ ├── fl_spinner_icon@2x.png │ │ └── fl_spinner_icon@3x.png └── Classes │ ├── .gitkeep │ ├── FLNiceSpinner.h │ └── FLNiceSpinner.m ├── _Pods.xcodeproj ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests-Info.plist │ └── Tests.m ├── FLNiceSpinner │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── FLViewController.h │ ├── FLAppDelegate.h │ ├── FLNiceSpinner-Prefix.pch │ ├── main.m │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── FLNiceSpinner-Info.plist │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── FLAppDelegate.m │ └── FLViewController.m ├── Pods │ ├── Target Support Files │ │ ├── FLNiceSpinner │ │ │ ├── FLNiceSpinner.modulemap │ │ │ ├── FLNiceSpinner-dummy.m │ │ │ ├── FLNiceSpinner-prefix.pch │ │ │ ├── FLNiceSpinner-umbrella.h │ │ │ ├── FLNiceSpinner.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-FLNiceSpinner_Tests │ │ │ ├── Pods-FLNiceSpinner_Tests-acknowledgements.markdown │ │ │ ├── Pods-FLNiceSpinner_Tests.modulemap │ │ │ ├── Pods-FLNiceSpinner_Tests-dummy.m │ │ │ ├── Pods-FLNiceSpinner_Tests-umbrella.h │ │ │ ├── Pods-FLNiceSpinner_Tests.debug.xcconfig │ │ │ ├── Pods-FLNiceSpinner_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-FLNiceSpinner_Tests-acknowledgements.plist │ │ │ ├── Pods-FLNiceSpinner_Tests-frameworks.sh │ │ │ └── Pods-FLNiceSpinner_Tests-resources.sh │ │ └── Pods-FLNiceSpinner_Example │ │ │ ├── Pods-FLNiceSpinner_Example.modulemap │ │ │ ├── Pods-FLNiceSpinner_Example-dummy.m │ │ │ ├── Pods-FLNiceSpinner_Example-umbrella.h │ │ │ ├── Pods-FLNiceSpinner_Example.debug.xcconfig │ │ │ ├── Pods-FLNiceSpinner_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-FLNiceSpinner_Example-acknowledgements.markdown │ │ │ ├── Pods-FLNiceSpinner_Example-acknowledgements.plist │ │ │ ├── Pods-FLNiceSpinner_Example-frameworks.sh │ │ │ └── Pods-FLNiceSpinner_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── FLNiceSpinner.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── FLNiceSpinner.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── FLNiceSpinner-Example.xcscheme │ └── project.pbxproj ├── FLNiceSpinner.xcworkspace │ └── contents.xcworkspacedata └── Podfile.lock ├── 2017-12-13 23.09.32.gif ├── .travis.yml ├── .gitignore ├── LICENSE ├── README.md └── FLNiceSpinner.podspec /FLNiceSpinner/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FLNiceSpinner/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /2017-12-13 23.09.32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengli12321/FLNiceSpinner/HEAD/2017-12-13 23.09.32.gif -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /FLNiceSpinner/Assets/FLNiceSpinner.bundle/fl_spinner_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengli12321/FLNiceSpinner/HEAD/FLNiceSpinner/Assets/FLNiceSpinner.bundle/fl_spinner_icon@2x.png -------------------------------------------------------------------------------- /FLNiceSpinner/Assets/FLNiceSpinner.bundle/fl_spinner_icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengli12321/FLNiceSpinner/HEAD/FLNiceSpinner/Assets/FLNiceSpinner.bundle/fl_spinner_icon@3x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/FLNiceSpinner.modulemap: -------------------------------------------------------------------------------- 1 | framework module FLNiceSpinner { 2 | umbrella header "FLNiceSpinner-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/FLNiceSpinner-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FLNiceSpinner : NSObject 3 | @end 4 | @implementation PodsDummy_FLNiceSpinner 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'FLNiceSpinner_Example' do 4 | pod 'FLNiceSpinner', :path => '../' 5 | 6 | target 'FLNiceSpinner_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FLNiceSpinner_Tests { 2 | umbrella header "Pods-FLNiceSpinner_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FLNiceSpinner_Example { 2 | umbrella header "Pods-FLNiceSpinner_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FLNiceSpinner_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FLNiceSpinner_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FLNiceSpinner_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FLNiceSpinner_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/FLNiceSpinner-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/FLNiceSpinner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FLViewController.h 3 | // FLNiceSpinner 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface FLViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FLNiceSpinner (0.0.1) 3 | 4 | DEPENDENCIES: 5 | - FLNiceSpinner (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FLNiceSpinner: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | FLNiceSpinner: 9e0080e2c8de70f2c44bae16ae539bb051136b24 13 | 14 | PODFILE CHECKSUM: bcccfda365cee04d10957efbb655d627d2ea7ac0 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FLNiceSpinner (0.0.1) 3 | 4 | DEPENDENCIES: 5 | - FLNiceSpinner (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FLNiceSpinner: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | FLNiceSpinner: 9e0080e2c8de70f2c44bae16ae539bb051136b24 13 | 14 | PODFILE CHECKSUM: bcccfda365cee04d10957efbb655d627d2ea7ac0 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // FLAppDelegate.h 3 | // FLNiceSpinner 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface FLAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLNiceSpinner-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FLNiceSpinner 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "FLAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([FLAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/FLNiceSpinner-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 | #import "FLNiceSpinner.h" 14 | 15 | FOUNDATION_EXPORT double FLNiceSpinnerVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char FLNiceSpinnerVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_FLNiceSpinner_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FLNiceSpinner_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_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_FLNiceSpinner_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FLNiceSpinner_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/FLNiceSpinner.xcworkspace -scheme FLNiceSpinner-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner/FLNiceSpinner.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner/FLNiceSpinner.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/FLNiceSpinner.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "Foundation" -framework "UIKit" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner/FLNiceSpinner.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FLNiceSpinner" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FLNiceSpinner/FLNiceSpinner.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "FLNiceSpinner" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/FLNiceSpinner.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FLNiceSpinner", 3 | "version": "0.0.1", 4 | "summary": "iOS Spinner like Android", 5 | "description": "FLNiceSpinner 是一个iOS下拉框控件", 6 | "homepage": "https://github.com/fengli12321/FLNiceSpinner", 7 | "license": "MIT", 8 | "authors": { 9 | "冯里": "954751186@qq.com" 10 | }, 11 | "platforms": { 12 | "ios": "8.0" 13 | }, 14 | "source": { 15 | "git": "https://github.com/fengli12321/FLNiceSpinner.git", 16 | "tag": "0.0.1" 17 | }, 18 | "source_files": [ 19 | "FLNiceSpinner", 20 | "FLNiceSpinner/**/*.{h,m}" 21 | ], 22 | "resources": "FLNiceSpinner/**/*.bundle", 23 | "frameworks": [ 24 | "Foundation", 25 | "CoreGraphics", 26 | "UIKit" 27 | ], 28 | "requires_arc": true 29 | } 30 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // FLNiceSpinnerTests.m 3 | // FLNiceSpinnerTests 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FLNiceSpinner/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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 fengli12321@163.com <954751186@qq.com> 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/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## FLNiceSpinner 5 | 6 | Copyright (c) 2017 fengli12321@163.com <954751186@qq.com> 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLNiceSpinner-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | } 88 | ], 89 | "info" : { 90 | "version" : 1, 91 | "author" : "xcode" 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // FLAppDelegate.m 3 | // FLNiceSpinner 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | #import "FLAppDelegate.h" 10 | 11 | @implementation FLAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 fengli12321@163.com <954751186@qq.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | FLNiceSpinner 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 | -------------------------------------------------------------------------------- /FLNiceSpinner/Classes/FLNiceSpinner.h: -------------------------------------------------------------------------------- 1 | // 2 | // FLNiceSpinner.h 3 | // FLNiceSpinner 4 | // 5 | // Created by 冯里 on 2017/12/12. 6 | // Copyright © 2017年 冯里. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol FLNiceSpinnerDelegate; 12 | 13 | @interface FLNiceSpinner : UIButton 14 | 15 | @property (nonatomic, weak) NSObject *delegate; 16 | 17 | /** 18 | 当未选择时的的占位提示文字, 默认提示“请选择” 19 | */ 20 | @property (nonatomic, copy) NSString *spaceString; 21 | 22 | 23 | /** 24 | 文本框文字颜色(默认blackColor) 25 | */ 26 | @property (nonatomic, strong) UIColor *textColor; 27 | 28 | 29 | /** 30 | 文本框背景颜色(默认clearColor) 31 | */ 32 | @property (nonatomic, strong) UIColor *backColor; 33 | 34 | 35 | /** 36 | 文本框选中后背景颜色(默认 rgb(220, 220, 220)) 37 | */ 38 | @property (nonatomic, strong) UIColor *selectedBackColor; 39 | 40 | 41 | /** 42 | 文本框字体大小 (默认14) 43 | */ 44 | @property (nonatomic, strong) UIFont *font; 45 | 46 | 47 | /** 48 | 清空项提示字符(默认:“清空选择”) 49 | */ 50 | @property (nonatomic, strong) NSString *clearNoteString; 51 | 52 | /** 53 | 列表项文字大小,默认14pt 54 | */ 55 | @property (nonatomic, strong) UIFont *listItemFont; 56 | 57 | 58 | /** 59 | 列表项高度,默认35 60 | */ 61 | @property (nonatomic, assign) CGFloat listItemHeight; 62 | 63 | 64 | /** 65 | 列表文字颜色,默认黑色 66 | */ 67 | @property (nonatomic, strong) UIColor *listItemTextColor; 68 | 69 | 70 | /** 71 | 弹出时最大显示行数,默认5 72 | */ 73 | @property (nonatomic, assign) NSUInteger maxShowLines; 74 | 75 | 76 | /** 77 | 弹出框的背景颜色,默认为whiteColor 78 | */ 79 | @property (nonatomic, strong) UIColor *spinnerBackColor; 80 | 81 | 82 | /** 83 | 按钮圆角,默认为3 84 | */ 85 | @property (nonatomic, assign) CGFloat cornerRadius; 86 | 87 | 88 | /** 89 | 展开收起提示用图标 90 | */ 91 | @property (nonatomic, copy) NSString *noteImage; 92 | 93 | /** 94 | 选中项的下标,-1时表示未选择 95 | */ 96 | @property (nonatomic, assign) NSInteger selectedIndex; 97 | 98 | 99 | /** 100 | 是否是异步的方式获取数据,默认为NO,同步方式获取数据(fl_spinner:showItemStringAtIndex) 101 | */ 102 | @property (nonatomic, assign) BOOL isAsyncGetData; 103 | 104 | 105 | 106 | @end 107 | 108 | @protocol FLNiceSpinnerDelegate 109 | 110 | 111 | @optional 112 | 113 | 114 | /** 115 | fl_spinner:requestDataSuccess:fail: 方法 和 fl_spinner:showItemStringAtIndex 方法二者选其一 116 | 前者用于异步数据的返回,例如下拉数据需要通过网络进行异步请求 117 | 后者和fl_itemsCountOfSpinner:组合使用,用于立即可以得到的数据 118 | 119 | 默认通过 fl_spinner:showItemStringAtIndex 方法同步获取数据源 120 | 通过属性 isAsyncGetData 进行设置 121 | */ 122 | 123 | 124 | /** 125 | 数据源,用于异步请求数据 126 | 127 | @param spinner 下拉视图 128 | @param success 返回需要展示的数据,数组中存放下拉展示字符串 129 | @param fail 数据请求失败 130 | */ 131 | - (void)fl_spinner:(FLNiceSpinner *)spinner requestDataSuccess:(void(^)(NSArray * listShowStrings))success fail:(void(^)(void))fail; 132 | 133 | /** 134 | 下拉菜单数据总数 135 | 136 | @param spinner 下拉视图 137 | @return 数量 138 | */ 139 | - (NSInteger)fl_itemsCountOfSpinner:(FLNiceSpinner *)spinner; 140 | 141 | 142 | /** 143 | 某行展示字符 144 | 145 | @param spinner 下拉视图 146 | @param index 行数 147 | @return 展示字符 148 | */ 149 | - (NSString *)fl_spinner:(FLNiceSpinner *)spinner showItemStringAtIndex:(NSInteger)index; 150 | 151 | 152 | /** 153 | 选中了某行数据(-1表示数据清空) 154 | 155 | @param spinner 下拉视图 156 | @param index 选中行 157 | */ 158 | - (void)fl_spinner:(FLNiceSpinner *)spinner didSelectedItemAtIndex:(NSInteger)index; 159 | 160 | @end 161 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/FLNiceSpinner/FLNiceSpinner.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/FLNiceSpinner/FLNiceSpinner.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner.xcodeproj/xcshareddata/xcschemes/FLNiceSpinner-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 66 | 68 | 74 | 75 | 76 | 77 | 78 | 79 | 85 | 87 | 93 | 94 | 95 | 96 | 98 | 99 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FLNiceSpinner 2 | 3 | [![CI Status](http://img.shields.io/travis/fengli12321@163.com/FLNiceSpinner.svg?style=flat)](https://travis-ci.org/fengli12321@163.com/FLNiceSpinner) 4 | [![Version](https://img.shields.io/cocoapods/v/FLNiceSpinner.svg?style=flat)](http://cocoapods.org/pods/FLNiceSpinner) 5 | [![License](https://img.shields.io/cocoapods/l/FLNiceSpinner.svg?style=flat)](http://cocoapods.org/pods/FLNiceSpinner) 6 | [![Platform](https://img.shields.io/cocoapods/p/FLNiceSpinner.svg?style=flat)](http://cocoapods.org/pods/FLNiceSpinner) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | 13 | ![2017-12-13 23.09.32.gif](https://github.com/fengli12321/FLNiceSpinner/blob/master/2017-12-13%2023.09.32.gif) 14 | 15 | 16 | ##### 1.同步数据 17 | ```objc 18 | FLNiceSpinner *spinner = [[FLNiceSpinner alloc] initWithFrame:CGRectMake(50, 100, 100, 30)]; 19 | spinner.delegate = self; 20 | [self.view addSubview:spinner]; 21 | ``` 22 | 23 | ###### 实现协议方法 24 | ```objc 25 | - (NSString *)fl_spinner:(FLNiceSpinner *)spinner showItemStringAtIndex:(NSInteger)index { 26 | if ([spinner isEqual:_spinner1]) { 27 | return _arr1[index]; 28 | } 29 | else if ([spinner isEqual:_spinner2]) { 30 | return _arr2[index]; 31 | } 32 | else if ([spinner isEqual:_spinner3]) { 33 | return _arr3[index]; 34 | } 35 | else if ([spinner isEqual:_spinner4]) { 36 | return _arr4[index]; 37 | } 38 | else if ([spinner isEqual:_spinner5]) { 39 | return _arr5[index]; 40 | } 41 | else if ([spinner isEqual:_spinner6]) { 42 | return _arr6[index]; 43 | } 44 | else if ([spinner isEqual:_spinner7]) { 45 | return _arr7[index]; 46 | } 47 | else if ([spinner isEqual:_spinner8]) { 48 | return _arr8[index]; 49 | } 50 | else if ([spinner isEqual:_spinner9]) { 51 | return _arr9[index]; 52 | } 53 | return nil; 54 | } 55 | - (NSInteger)fl_itemsCountOfSpinner:(FLNiceSpinner *)spinner { 56 | if ([spinner isEqual:_spinner1]) { 57 | 58 | return _arr1.count; 59 | } 60 | else if ([spinner isEqual:_spinner2]) { 61 | return _arr2.count; 62 | } 63 | else if ([spinner isEqual:_spinner3]) { 64 | return _arr3.count; 65 | } 66 | else if ([spinner isEqual:_spinner4]) { 67 | return _arr4.count; 68 | } 69 | else if ([spinner isEqual:_spinner5]) { 70 | return _arr5.count; 71 | } 72 | else if ([spinner isEqual:_spinner6]) { 73 | return _arr6.count; 74 | } 75 | else if ([spinner isEqual:_spinner7]) { 76 | return _arr7.count; 77 | } 78 | else if ([spinner isEqual:_spinner8]) { 79 | return _arr8.count; 80 | } 81 | else if ([spinner isEqual:_spinner9]) { 82 | return _arr9.count; 83 | } 84 | return 0; 85 | } 86 | ``` 87 | 88 | ##### 2.异步方法 89 | ###### 用于异步数据加载,例如数据需要通过网络加载 90 | ```objc 91 | FLNiceSpinner *spinner = [[FLNiceSpinner alloc] initWithFrame:CGRectMake(50, 100, 100, 30)]; 92 | spinner.delegate = self; 93 | spinner.isAsyncGetData = YES 94 | [self.view addSubview:spinner]; 95 | ``` 96 | ###### 实现代理方法 97 | ```objc 98 | - (void)fl_spinner:(FLNiceSpinner *)spinner requestDataSuccess:(void (^)(NSArray *))success fail:(void (^)(void))fail { 99 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ 100 | success(@[@"中文", @"英文", @"法语", @"德语", @"西班牙语", @"四川话"]); 101 | }); 102 | } 103 | ``` 104 | 105 | | 属性 | 名称 | 值 | 106 | | ------------- |:-------------:| -----:| 107 | | 占位提示文字 | spaceString | NSString | 108 | | 文本框文字颜色 | textColor | UIColor | 109 | | 文本框背景颜色 | backColor | UIColor | 110 | |文本框选中后背景颜色|selectedBackColor|UIColor| 111 | |文本框字体大小|font|UIFont| 112 | |清空项提示字符|clearNoteString|NSString| 113 | |列表项文字大小|listItemFont|UIFont| 114 | |列表项高度|listItemHeight|CGFlot| 115 | |列表文字颜色|listItemTextColor|UIColor| 116 | |弹出时最大显示行数|maxShowLines|NSUInteger| 117 | |弹出框的背景颜色|spinnerBackColor|UIColor| 118 | |按钮圆角|cornerRadius|CGFloat| 119 | |展开收起提示用图标|noteImage|NSString| 120 | |选中项的下标|selectedIndex|NSInteager| 121 | |是否是异步的方式获取数据|isAsyncGetData|BOOL| 122 | 123 | 124 | ## Requirements 125 | 126 | iOS8.0+ 127 | 128 | ## Installation 129 | 130 | FLNiceSpinner is available through [CocoaPods](http://cocoapods.org). To install 131 | it, simply add the following line to your Podfile: 132 | 133 | ```ruby 134 | pod 'FLNiceSpinner' 135 | ``` 136 | 137 | ## Author 138 | 139 | fengli12321@163.com, 954751186@qq.com 140 | 141 | ## License 142 | 143 | FLNiceSpinner is available under the MIT license. See the LICENSE file for more info. 144 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/FLViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // FLViewController.m 3 | // FLNiceSpinner 4 | // 5 | // Created by fengli12321@163.com on 12/13/2017. 6 | // Copyright (c) 2017 fengli12321@163.com. All rights reserved. 7 | // 8 | 9 | #import "FLViewController.h" 10 | #import "FLNiceSpinner.h" 11 | 12 | @interface FLViewController () 13 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner1; 14 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner2; 15 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner3; 16 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner4; 17 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner5; 18 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner6; 19 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner7; 20 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner8; 21 | @property (weak, nonatomic) IBOutlet FLNiceSpinner *spinner9; 22 | @property (nonatomic, strong) NSArray *arr1; 23 | @property (nonatomic, strong) NSArray *arr2; 24 | @property (nonatomic, strong) NSArray *arr3; 25 | @property (nonatomic, strong) NSArray *arr4; 26 | @property (nonatomic, strong) NSArray *arr5; 27 | @property (nonatomic, strong) NSArray *arr6; 28 | @property (nonatomic, strong) NSArray *arr7; 29 | @property (nonatomic, strong) NSArray *arr8; 30 | @property (nonatomic, strong) NSArray *arr9; 31 | 32 | @end 33 | 34 | @implementation FLViewController 35 | 36 | - (void)viewDidLoad 37 | { 38 | [super viewDidLoad]; 39 | _spinner1.delegate = self; 40 | _spinner1.textColor = [UIColor yellowColor]; 41 | _spinner1.spaceString = @"请选择姓名"; 42 | _spinner1.backColor = [UIColor blueColor]; 43 | _spinner1.selectedBackColor = [UIColor orangeColor]; 44 | _spinner2.delegate = self; 45 | _spinner2.isAsyncGetData = YES; 46 | _spinner2.font = [UIFont systemFontOfSize:20]; 47 | _spinner1.listItemFont = [UIFont systemFontOfSize:12]; 48 | _spinner3.delegate = self; 49 | _spinner4.delegate = self; 50 | _spinner5.delegate = self; 51 | _spinner6.delegate = self; 52 | _spinner7.delegate = self; 53 | _spinner8.delegate = self; 54 | _spinner9.delegate = self; 55 | 56 | _arr1 = @[@"小明", @"西方", @"东方不败", @"西方失败"]; 57 | _arr2 = @[@"男", @"女"]; 58 | 59 | _arr3 = @[@"一班", @"二班", @"三班"]; 60 | 61 | NSMutableArray *arr = [NSMutableArray array]; 62 | for (int i = 1; i < 10; i ++) { 63 | [arr addObject:[NSString stringWithFormat:@"第%d组", i]]; 64 | } 65 | _arr4 = [arr copy]; 66 | 67 | _arr5 = @[@"中文", @"英文", @"法语", @"德语", @"西班牙语", @"四川话"]; 68 | _arr6 = @[@"软件工程", @"通信技术", @"机械设计", @"搬砖"]; 69 | arr = [@[] mutableCopy]; 70 | for (int i = 0; i < 30; i ++) { 71 | [arr addObject:[NSString stringWithFormat:@"%dcm", 150 + i]]; 72 | } 73 | _arr7 = [arr copy]; 74 | arr = [@[] mutableCopy]; 75 | for (int i = 0; i < 30; i ++) { 76 | [arr addObject:[NSString stringWithFormat:@"%dkg", 40 + i]]; 77 | } 78 | _arr8 = [arr copy]; 79 | 80 | arr = [@[] mutableCopy]; 81 | for (int i = 0; i < 100; i ++) { 82 | [arr addObject:[NSString stringWithFormat:@"%d score", i]]; 83 | } 84 | _arr9 = [arr copy]; 85 | } 86 | 87 | - (NSString *)fl_spinner:(FLNiceSpinner *)spinner showItemStringAtIndex:(NSInteger)index { 88 | if ([spinner isEqual:_spinner1]) { 89 | return _arr1[index]; 90 | } 91 | else if ([spinner isEqual:_spinner2]) { 92 | return _arr2[index]; 93 | } 94 | else if ([spinner isEqual:_spinner3]) { 95 | return _arr3[index]; 96 | } 97 | else if ([spinner isEqual:_spinner4]) { 98 | return _arr4[index]; 99 | } 100 | else if ([spinner isEqual:_spinner5]) { 101 | return _arr5[index]; 102 | } 103 | else if ([spinner isEqual:_spinner6]) { 104 | return _arr6[index]; 105 | } 106 | else if ([spinner isEqual:_spinner7]) { 107 | return _arr7[index]; 108 | } 109 | else if ([spinner isEqual:_spinner8]) { 110 | return _arr8[index]; 111 | } 112 | else if ([spinner isEqual:_spinner9]) { 113 | return _arr9[index]; 114 | } 115 | return nil; 116 | } 117 | - (NSInteger)fl_itemsCountOfSpinner:(FLNiceSpinner *)spinner { 118 | if ([spinner isEqual:_spinner1]) { 119 | 120 | return _arr1.count; 121 | } 122 | else if ([spinner isEqual:_spinner2]) { 123 | return _arr2.count; 124 | } 125 | else if ([spinner isEqual:_spinner3]) { 126 | return _arr3.count; 127 | } 128 | else if ([spinner isEqual:_spinner4]) { 129 | return _arr4.count; 130 | } 131 | else if ([spinner isEqual:_spinner5]) { 132 | return _arr5.count; 133 | } 134 | else if ([spinner isEqual:_spinner6]) { 135 | return _arr6.count; 136 | } 137 | else if ([spinner isEqual:_spinner7]) { 138 | return _arr7.count; 139 | } 140 | else if ([spinner isEqual:_spinner8]) { 141 | return _arr8.count; 142 | } 143 | else if ([spinner isEqual:_spinner9]) { 144 | return _arr9.count; 145 | } 146 | return 0; 147 | } 148 | 149 | - (void)fl_spinner:(FLNiceSpinner *)spinner requestDataSuccess:(void (^)(NSArray *))success fail:(void (^)(void))fail { 150 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ 151 | success(_arr2); 152 | }); 153 | } 154 | 155 | - (void)didReceiveMemoryWarning 156 | { 157 | [super didReceiveMemoryWarning]; 158 | // Dispose of any resources that can be recreated. 159 | } 160 | 161 | @end 162 | -------------------------------------------------------------------------------- /FLNiceSpinner.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod spec lint FLNiceSpinner.podspec' to ensure this is a 3 | # valid spec and to remove all comments including this before submitting the spec. 4 | # 5 | # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html 6 | # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | 11 | # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 12 | # 13 | # These will help people to find your library, and whilst it 14 | # can feel like a chore to fill in it's definitely to your advantage. The 15 | # summary should be tweet-length, and the description more in depth. 16 | # 17 | 18 | s.name = "FLNiceSpinner" 19 | s.version = "0.0.1" 20 | s.summary = "iOS Spinner like Android" 21 | 22 | # This description is used to generate tags and improve search results. 23 | # * Think: What does it do? Why did you write it? What is the focus? 24 | # * Try to keep it short, snappy and to the point. 25 | # * Write the description between the DESC delimiters below. 26 | # * Finally, don't worry about the indent, CocoaPods strips it! 27 | s.description = <<-DESC 28 | FLNiceSpinner 是一个iOS下拉框控件 29 | DESC 30 | 31 | s.homepage = "https://github.com/fengli12321/FLNiceSpinner" 32 | # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" 33 | 34 | 35 | # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 36 | # 37 | # Licensing your code is important. See http://choosealicense.com for more info. 38 | # CocoaPods will detect a license file if there is a named LICENSE* 39 | # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. 40 | # 41 | 42 | s.license = "MIT" 43 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 44 | 45 | 46 | # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 47 | # 48 | # Specify the authors of the library, with email addresses. Email addresses 49 | # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also 50 | # accepts just a name if you'd rather not provide an email address. 51 | # 52 | # Specify a social_media_url where others can refer to, for example a twitter 53 | # profile URL. 54 | # 55 | 56 | s.author = { "冯里" => "954751186@qq.com" } 57 | # Or just: s.author = "冯里" 58 | # s.authors = { "冯里" => "" } 59 | # s.social_media_url = "http://twitter.com/冯里" 60 | 61 | # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 62 | # 63 | # If this Pod runs only on iOS or OS X, then specify the platform and 64 | # the deployment target. You can optionally include the target after the platform. 65 | # 66 | 67 | # s.platform = :ios 68 | s.platform = :ios, "8.0" 69 | 70 | # When using multiple platforms 71 | # s.ios.deployment_target = "5.0" 72 | # s.osx.deployment_target = "10.7" 73 | # s.watchos.deployment_target = "2.0" 74 | # s.tvos.deployment_target = "9.0" 75 | 76 | 77 | # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 78 | # 79 | # Specify the location from where the source should be retrieved. 80 | # Supports git, hg, bzr, svn and HTTP. 81 | # 82 | 83 | s.source = { :git => "https://github.com/fengli12321/FLNiceSpinner.git", :tag => "#{s.version}"} 84 | 85 | 86 | # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 87 | # 88 | # CocoaPods is smart about how it includes source code. For source files 89 | # giving a folder will include any swift, h, m, mm, c & cpp files. 90 | # For header files it will include any header in the folder. 91 | # Not including the public_header_files will make all headers public. 92 | # 93 | 94 | s.source_files = "FLNiceSpinner", "FLNiceSpinner/**/*.{h,m}" 95 | s.resources = "FLNiceSpinner/**/*.bundle" 96 | # s.exclude_files = "Classes/Exclude" 97 | 98 | # s.public_header_files = "Classes/**/*.h" 99 | 100 | 101 | # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 102 | # 103 | # A list of resources included with the Pod. These are copied into the 104 | # target bundle with a build phase script. Anything else will be cleaned. 105 | # You can preserve files from being cleaned, please don't preserve 106 | # non-essential files like tests, examples and documentation. 107 | # 108 | 109 | # s.resource = "icon.png" 110 | # s.resources = "Resources/*.png" 111 | 112 | # s.preserve_paths = "FilesToSave", "MoreFilesToSave" 113 | 114 | 115 | # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 116 | # 117 | # Link your library with frameworks, or libraries. Libraries do not include 118 | # the lib prefix of their name. 119 | # 120 | 121 | # s.framework = "UIKit" 122 | s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit' 123 | # s.frameworks = "SomeFramework", "AnotherFramework" 124 | 125 | # s.library = "iconv" 126 | # s.libraries = "iconv", "xml2" 127 | 128 | 129 | # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 130 | # 131 | # If your library depends on compiler flags you can set them in the xcconfig hash 132 | # where they will only apply to your library. If you depend on other Podspecs 133 | # you can include multiple dependencies to ensure it works. 134 | 135 | s.requires_arc = true 136 | 137 | # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } 138 | # s.dependency "JSONKit", "~> 1.4" 139 | 140 | end 141 | -------------------------------------------------------------------------------- /FLNiceSpinner/Classes/FLNiceSpinner.m: -------------------------------------------------------------------------------- 1 | // 2 | // FLNiceSpinner.m 3 | // FLNiceSpinner 4 | // 5 | // Created by 冯里 on 2017/12/12. 6 | // Copyright © 2017年 冯里. All rights reserved. 7 | // 8 | 9 | #import "FLNiceSpinner.h" 10 | 11 | @interface FLNiceSpinner() 12 | 13 | // 展开收起提示图片 14 | @property (nonatomic, strong) UIImageView *unfoldImage; 15 | // 展示列表 16 | @property (nonatomic, strong) UITableView *table; 17 | // 阴影 18 | @property (nonatomic, strong) CALayer *shadowLayer; 19 | // 遮罩视图 20 | @property (nonatomic, strong) UIView *coverView; 21 | 22 | // 数据源 23 | @property (nonatomic, strong) NSArray *dataArray; 24 | 25 | @property (nonatomic, strong) UIActivityIndicatorView *indicatorView; // 菊花转 26 | 27 | 28 | @end 29 | 30 | @implementation FLNiceSpinner 31 | #pragma mark - Lazy 32 | - (UITableView *)table { 33 | 34 | if (!_table) { 35 | _table = [[UITableView alloc] init]; 36 | _table.delegate = self; 37 | _table.dataSource = self; 38 | _table.rowHeight = self.listItemHeight; 39 | [_table setSeparatorStyle:UITableViewCellSeparatorStyleNone]; 40 | _table.layer.borderWidth = 0.5; 41 | _table.layer.borderColor = [UIColor colorWithRed:183/255.0 green:183/255.0 blue:183/255.0 alpha:1].CGColor; 42 | _table.layer.cornerRadius = 5; 43 | _table.bounces = YES; 44 | 45 | // 添加阴影 46 | self.shadowLayer = [[CALayer alloc] init]; 47 | self.shadowLayer.bounds = _table.bounds; 48 | self.shadowLayer.backgroundColor = [UIColor whiteColor].CGColor; 49 | self.shadowLayer.cornerRadius = 5; 50 | // 设置阴影 51 | self.shadowLayer.shadowColor = [UIColor grayColor].CGColor; 52 | self.shadowLayer.shadowOffset = CGSizeMake(2, 2); 53 | self.shadowLayer.shadowOpacity = 0.9; 54 | } 55 | return _table; 56 | } 57 | - (UIView *)coverView { 58 | if (!_coverView) { 59 | _coverView = [[UIView alloc] initWithFrame:[self getWindow].bounds]; 60 | _coverView.backgroundColor = [UIColor clearColor]; 61 | UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(showTable)]; 62 | [_coverView addGestureRecognizer:tap]; 63 | 64 | UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(hide)]; 65 | 66 | [_coverView addGestureRecognizer:pan]; 67 | } 68 | return _coverView; 69 | } 70 | #pragma mark - LifeCycle 71 | - (instancetype)initWithFrame:(CGRect)frame { 72 | self = [super initWithFrame:frame]; 73 | if (self) { 74 | 75 | [self initialize]; 76 | [self creatUI]; 77 | } 78 | return self; 79 | } 80 | 81 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 82 | if (self = [super initWithCoder:aDecoder]) { 83 | 84 | [self initialize]; 85 | [self creatUI]; 86 | } 87 | return self; 88 | } 89 | 90 | /** 91 | 数据初始化 92 | */ 93 | - (void)initialize { 94 | self.spaceString = @"请选择"; 95 | self.selectedIndex = -1; 96 | self.textColor = [UIColor blackColor]; 97 | self.backColor = [UIColor clearColor]; 98 | self.font = [UIFont systemFontOfSize:14]; 99 | _selectedBackColor = [UIColor colorWithRed:220/255.0 green:220/255.0 blue:220/255.0 alpha:1]; 100 | _clearNoteString = @"清空选择"; 101 | _listItemFont = [UIFont systemFontOfSize:14]; 102 | _listItemHeight = 35.0f; 103 | _listItemTextColor = [UIColor blackColor]; 104 | _maxShowLines = 5; 105 | _spinnerBackColor = [UIColor whiteColor]; 106 | self.cornerRadius = 3; 107 | 108 | self.isAsyncGetData = NO; 109 | } 110 | 111 | - (void)layoutSubviews { 112 | [super layoutSubviews]; 113 | 114 | self.unfoldImage.frame = CGRectMake(self.frame.size.width - 10 - 12, self.frame.size.height/2.0 - 12/2.0, 12, 12); 115 | 116 | CGRect frame = self.indicatorView.frame; 117 | frame.origin.y = (self.frame.size.height - frame.size.height)/2.0; 118 | frame.origin.x = CGRectGetMinX(self.unfoldImage.frame) - frame.size.width - 10; 119 | self.indicatorView.frame = frame; 120 | } 121 | #pragma mark - UI 122 | - (void)creatUI { 123 | 124 | [self addTarget:self action:@selector(showTable) forControlEvents:UIControlEventTouchUpInside]; 125 | [self setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft]; 126 | 127 | self.unfoldImage = [[UIImageView alloc] init]; 128 | self.unfoldImage.image = [self imageNamedFromMyBundle:@"fl_spinner_icon"];; 129 | [self.unfoldImage setContentMode:UIViewContentModeScaleAspectFit]; 130 | [self addSubview:self.unfoldImage]; 131 | 132 | // 菊花转 133 | self.indicatorView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; 134 | [self addSubview:self.indicatorView]; 135 | } 136 | 137 | - (UIImage *)imageNamedFromMyBundle:(NSString *)name { 138 | NSBundle *imageBundle = [self tz_imagePickerBundle]; 139 | name = [name stringByAppendingString:@"@2x"]; 140 | NSString *imagePath = [imageBundle pathForResource:name ofType:@"png"]; 141 | UIImage *image = [UIImage imageWithContentsOfFile:imagePath]; 142 | if (!image) { 143 | // 兼容业务方自己设置图片的方式 144 | name = [name stringByReplacingOccurrencesOfString:@"@2x" withString:@""]; 145 | image = [UIImage imageNamed:name]; 146 | } 147 | return image; 148 | } 149 | 150 | - (NSBundle *)tz_imagePickerBundle { 151 | NSBundle *bundle = [NSBundle bundleForClass:[FLNiceSpinner class]]; 152 | NSURL *url = [bundle URLForResource:@"FLNiceSpinner" withExtension:@"bundle"]; 153 | bundle = [NSBundle bundleWithURL:url]; 154 | return bundle; 155 | } 156 | #pragma mark - private 157 | 158 | - (void)setSelected:(BOOL)selected { 159 | [super setSelected:selected]; 160 | self.backgroundColor = selected?_selectedBackColor:_backColor; 161 | } 162 | 163 | 164 | - (void)showTable { 165 | 166 | if (self.selected) { 167 | [self hide]; 168 | } 169 | else { 170 | 171 | if (self.isAsyncGetData) { 172 | 173 | NSAssert(self.delegate && [self.delegate respondsToSelector:@selector(fl_spinner:requestDataSuccess:fail:)], @"未实现协议方法fl_spinner:requestDataSuccess:fail:"); 174 | 175 | __weak typeof(self) weakSelf = self; 176 | [self.indicatorView startAnimating]; 177 | [self.delegate fl_spinner:self requestDataSuccess:^(NSArray *listShowStrings) { 178 | 179 | weakSelf.dataArray = listShowStrings; 180 | [weakSelf.indicatorView stopAnimating]; 181 | [weakSelf show]; 182 | 183 | } fail:^{ 184 | [weakSelf.indicatorView stopAnimating]; 185 | weakSelf.selected = !weakSelf.selected; 186 | }]; 187 | 188 | } 189 | else { 190 | [self show]; 191 | } 192 | 193 | } 194 | 195 | self.selected = !self.selected; 196 | } 197 | 198 | /** 199 | 展示列表 200 | */ 201 | - (void)show { 202 | 203 | 204 | 205 | [self.table reloadData]; 206 | 207 | NSInteger count = 0; 208 | if (self.delegate && [self.delegate respondsToSelector:@selector(fl_itemsCountOfSpinner:)]) { 209 | count = [self.delegate fl_itemsCountOfSpinner:self] + 1; 210 | } 211 | 212 | NSInteger padding = 5; 213 | CGFloat tableHeight = count > _maxShowLines ? _listItemHeight * _maxShowLines : _listItemHeight * count - 5; 214 | CGRect selfFrame = [self convertRect:self.bounds toView:[self getWindow]]; 215 | 216 | UIScrollView *superScrollView = [self findSuperScrollViewWithView:self]; 217 | 218 | CGFloat rotation = M_PI/2.0; 219 | if (superScrollView) { 220 | 221 | CGRect selfFrameInScrollView = [self convertRect:self.bounds toView:superScrollView]; 222 | 223 | CGFloat insertV = CGRectGetMaxY(selfFrameInScrollView) + padding + tableHeight - superScrollView.frame.size.height - superScrollView.contentOffset.y; 224 | if (insertV > 0) { 225 | 226 | if (superScrollView.contentOffset.y + superScrollView.frame.size.height + insertV < superScrollView.contentSize.height) { 227 | 228 | CGPoint offset = superScrollView.contentOffset; 229 | offset.y += insertV; 230 | [superScrollView setContentOffset:offset]; 231 | _table.frame = CGRectMake(selfFrame.origin.x, CGRectGetMaxY(selfFrame) + 5 - insertV, selfFrame.size.width, tableHeight); 232 | } 233 | else { 234 | rotation = -rotation; 235 | _table.frame = CGRectMake(selfFrame.origin.x, selfFrame.origin.y - padding - tableHeight, selfFrame.size.width, tableHeight); 236 | } 237 | } 238 | else { 239 | _table.frame = CGRectMake(selfFrame.origin.x, CGRectGetMaxY(selfFrame) + 5, selfFrame.size.width, tableHeight); 240 | } 241 | } 242 | else { 243 | 244 | CGRect selfFrameInScrollView = [self convertRect:self.bounds toView:[self getWindow]]; 245 | 246 | CGFloat insertV = CGRectGetMaxY(selfFrameInScrollView) + padding + tableHeight - [self getWindow].frame.size.height; 247 | if (insertV > 0) { 248 | rotation = -rotation; 249 | _table.frame = CGRectMake(selfFrame.origin.x, selfFrame.origin.y - padding - tableHeight, selfFrame.size.width, tableHeight); 250 | } 251 | else { 252 | 253 | _table.frame = CGRectMake(selfFrame.origin.x, CGRectGetMaxY(selfFrame) + 5, selfFrame.size.width, tableHeight); 254 | } 255 | } 256 | 257 | 258 | 259 | 260 | // 阴影 261 | //设置中心点 262 | self.shadowLayer.position = CGPointMake(_table.frame.origin.x + _table.frame.size.width/2, _table.frame.origin.y + _table.frame.size.height/2); 263 | //设置大小 264 | self.shadowLayer.bounds = _table.bounds; 265 | 266 | 267 | [UIView animateWithDuration:0.15 animations:^{ 268 | 269 | 270 | [self.unfoldImage setTransform:CGAffineTransformRotate(CGAffineTransformIdentity, rotation)]; 271 | } completion:^(BOOL finished) { 272 | 273 | [[self getWindow] addSubview:self.coverView]; 274 | [[self getWindow].layer addSublayer:self.shadowLayer]; 275 | [[self getWindow] addSubview:self.table]; 276 | }]; 277 | } 278 | 279 | 280 | /** 281 | 收起列表 282 | */ 283 | - (void)hide { 284 | 285 | [self.coverView removeFromSuperview]; 286 | [self.shadowLayer removeFromSuperlayer]; 287 | [self.table removeFromSuperview]; 288 | [UIView animateWithDuration:0.3 animations:^{ 289 | 290 | [self.unfoldImage setTransform:CGAffineTransformIdentity]; 291 | }]; 292 | } 293 | 294 | - (UIWindow *)getWindow { 295 | return [UIApplication sharedApplication].delegate.window; 296 | } 297 | 298 | #pragma mark - Set 299 | - (void)setFont:(UIFont *)font { 300 | _font = font; 301 | self.titleLabel.font = font; 302 | } 303 | - (void)setSpaceString:(NSString *)spaceString { 304 | _spaceString = [spaceString copy]; 305 | [self setTitle:spaceString forState:UIControlStateNormal]; 306 | } 307 | - (void)setCornerRadius:(CGFloat)cornerRadius { 308 | _cornerRadius = cornerRadius; 309 | self.layer.cornerRadius = cornerRadius; 310 | } 311 | - (void)setSelectedIndex:(NSInteger)selectedIndex { 312 | _selectedIndex = selectedIndex; 313 | if (selectedIndex == -1) { 314 | [self setTitle:self.spaceString forState:UIControlStateNormal]; 315 | } 316 | else { 317 | if (self.isAsyncGetData) { 318 | [self setTitle:self.dataArray[selectedIndex] forState:UIControlStateNormal]; 319 | } 320 | else { 321 | NSString *string; 322 | if (self.delegate && [self.delegate respondsToSelector:@selector(fl_spinner:showItemStringAtIndex:)]) { 323 | string = [self.delegate fl_spinner:self showItemStringAtIndex:selectedIndex]; 324 | } 325 | [self setTitle:string forState:UIControlStateNormal]; 326 | } 327 | 328 | } 329 | } 330 | 331 | // 找寻上层滚动视图 332 | - (UIScrollView *)findSuperScrollViewWithView:(UIView *)view { 333 | if ([view isEqual:[self getWindow]]) { // 找到顶层,没有找到 334 | return nil; 335 | } 336 | else if ([view.superview isKindOfClass:[UIScrollView class]]) { 337 | 338 | if ([view.superview.superview isKindOfClass:[UITableView class]]) { // 如果是tableview,往上找 339 | UITableView *tableView = (UITableView *)view.superview.superview; 340 | 341 | UIScrollView *scrollView = [self findSuperScrollViewWithView:tableView]; 342 | if (scrollView) { // tableView往上找到,返回 343 | 344 | return scrollView; 345 | } 346 | else { // tableview往上没有找到,返回tableview 347 | return tableView; 348 | } 349 | 350 | } 351 | else if ([view.superview isKindOfClass:[UITableView class]]) { 352 | UITableView *tableView = (UITableView *)view.superview; 353 | 354 | UIScrollView *scrollView = [self findSuperScrollViewWithView:tableView]; 355 | if (scrollView) { // tableView往上找到,返回 356 | 357 | return scrollView; 358 | } 359 | else { // tableview往上没有找到,返回tableview 360 | return tableView; 361 | } 362 | } 363 | else { 364 | UIScrollView *scrollView = (UIScrollView *)view.superview; 365 | if (scrollView.contentSize.height > scrollView.frame.size.height) { // 如果是纵向滚动的tableView, 返回 366 | return scrollView; 367 | } 368 | else { 369 | return nil; 370 | } 371 | } 372 | } 373 | else { // 没有找到往上继续 374 | return [self findSuperScrollViewWithView:view.superview]; 375 | } 376 | } 377 | 378 | - (void)setNoteImage:(NSString *)noteImage { 379 | _noteImage = noteImage; 380 | UIImage *image = [UIImage imageNamed:noteImage]; 381 | if (image != nil) { 382 | self.unfoldImage.image = [UIImage imageNamed:noteImage]; 383 | } 384 | 385 | } 386 | 387 | - (void)setTextColor:(UIColor *)textColor { 388 | _textColor = textColor; 389 | [self setTitleColor:textColor forState:UIControlStateNormal]; 390 | } 391 | 392 | - (void)setBackColor:(UIColor *)backColor { 393 | _backColor = backColor; 394 | self.backgroundColor = backColor; 395 | } 396 | 397 | #pragma mark - UITableViewDataSource 398 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 399 | 400 | if (self.isAsyncGetData) { 401 | return self.dataArray.count + 1; 402 | } 403 | else { 404 | if (self.delegate && [self.delegate respondsToSelector:@selector(fl_itemsCountOfSpinner:)]) { 405 | return [self.delegate fl_itemsCountOfSpinner:self] + 1; 406 | } 407 | } 408 | return 0; 409 | } 410 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 411 | 412 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"]; 413 | if (!cell) { 414 | cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"]; 415 | } 416 | CGRect frame = cell.frame; 417 | frame.origin.x -= 15; 418 | cell.textLabel.frame = frame; 419 | NSString *str = @"代理方法未实现"; 420 | 421 | if (indexPath.row == 0) { 422 | str = self.clearNoteString; 423 | } 424 | else { 425 | if (self.isAsyncGetData) { 426 | str = self.dataArray[indexPath.row - 1]; 427 | } 428 | else { 429 | 430 | if (self.delegate && [self.delegate respondsToSelector:@selector(fl_spinner:showItemStringAtIndex:)]) { 431 | str = [self.delegate fl_spinner:self showItemStringAtIndex:indexPath.row - 1]; 432 | } 433 | } 434 | } 435 | 436 | cell.textLabel.text = str; 437 | cell.textLabel.font = self.listItemFont; 438 | cell.textLabel.textColor = self.listItemTextColor; 439 | cell.backgroundColor = self.spinnerBackColor; 440 | 441 | return cell; 442 | } 443 | #pragma mark - UITableViewDelegate 444 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { 445 | 446 | self.selectedIndex = indexPath.row - 1; 447 | if (self.delegate && [self.delegate respondsToSelector:@selector(fl_spinner:didSelectedItemAtIndex:)]) { 448 | [self.delegate fl_spinner:self didSelectedItemAtIndex:indexPath.row - 1]; 449 | } 450 | [self showTable]; 451 | } 452 | 453 | - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { 454 | 455 | cell.layer.anchorPoint = CGPointMake(0, 0.5); 456 | //为了防止cell视图移动,重新把cell放回原来的位置 457 | cell.layer.position = CGPointMake(0, cell.layer.position.y); 458 | [cell.layer setTransform:CATransform3DTranslate(CATransform3DIdentity, 0, -15, 0)]; 459 | cell.alpha = 0.2; 460 | [UIView animateWithDuration:0.5 animations:^{ 461 | cell.layer.transform = CATransform3DIdentity; 462 | cell.alpha = 1.0; 463 | }]; 464 | } 465 | 466 | @end 467 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 34 | 38 | 44 | 50 | 56 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 90 | 94 | 100 | 106 | 112 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 146 | 150 | 156 | 162 | 168 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | -------------------------------------------------------------------------------- /Example/FLNiceSpinner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 10C64762D96D5B11C6BDD71A /* Pods_FLNiceSpinner_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E4DD19181E81FF522A3B61D /* Pods_FLNiceSpinner_Example.framework */; }; 11 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 12 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 13 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 14 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 15 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 16 | 6003F59E195388D20070C39A /* FLAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* FLAppDelegate.m */; }; 17 | 6003F5A7195388D20070C39A /* FLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* FLViewController.m */; }; 18 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 19 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 20 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 21 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 22 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 23 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 24 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 25 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 26 | 8C1D88DF1E4C14193A7F4C8F /* Pods_FLNiceSpinner_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6518E607110FBF2BEF2A372A /* Pods_FLNiceSpinner_Tests.framework */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = FLNiceSpinner; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 3BFD8AF646A1641932911FA5 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 41 | 6003F58A195388D20070C39A /* FLNiceSpinner_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FLNiceSpinner_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 43 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 44 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 45 | 6003F595195388D20070C39A /* FLNiceSpinner-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FLNiceSpinner-Info.plist"; sourceTree = ""; }; 46 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 47 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 48 | 6003F59B195388D20070C39A /* FLNiceSpinner-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FLNiceSpinner-Prefix.pch"; sourceTree = ""; }; 49 | 6003F59C195388D20070C39A /* FLAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FLAppDelegate.h; sourceTree = ""; }; 50 | 6003F59D195388D20070C39A /* FLAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FLAppDelegate.m; sourceTree = ""; }; 51 | 6003F5A5195388D20070C39A /* FLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FLViewController.h; sourceTree = ""; }; 52 | 6003F5A6195388D20070C39A /* FLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FLViewController.m; sourceTree = ""; }; 53 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 54 | 6003F5AE195388D20070C39A /* FLNiceSpinner_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FLNiceSpinner_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 56 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 57 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 58 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 59 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 60 | 6518E607110FBF2BEF2A372A /* Pods_FLNiceSpinner_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FLNiceSpinner_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 62 | 7E4DD19181E81FF522A3B61D /* Pods_FLNiceSpinner_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FLNiceSpinner_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 64 | 90205BC721343F5FFCAEFCE1 /* Pods-FLNiceSpinner_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FLNiceSpinner_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.debug.xcconfig"; sourceTree = ""; }; 65 | A8CF5B6E568A947D752FB8A8 /* Pods-FLNiceSpinner_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FLNiceSpinner_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.debug.xcconfig"; sourceTree = ""; }; 66 | B2BE187E192F969F6038D1CD /* Pods-FLNiceSpinner_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FLNiceSpinner_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.release.xcconfig"; sourceTree = ""; }; 67 | BC72CD5E9D98F591B3C17F70 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 68 | EDA34C95BA9D9CA0DE01F782 /* FLNiceSpinner.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = FLNiceSpinner.podspec; path = ../FLNiceSpinner.podspec; sourceTree = ""; }; 69 | F698F6FECCF14BF1B19B8E1A /* Pods-FLNiceSpinner_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FLNiceSpinner_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.release.xcconfig"; sourceTree = ""; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 6003F587195388D20070C39A /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 78 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 79 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 80 | 10C64762D96D5B11C6BDD71A /* Pods_FLNiceSpinner_Example.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 6003F5AB195388D20070C39A /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 89 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 90 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 91 | 8C1D88DF1E4C14193A7F4C8F /* Pods_FLNiceSpinner_Tests.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 6003F581195388D10070C39A = { 99 | isa = PBXGroup; 100 | children = ( 101 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 102 | 6003F593195388D20070C39A /* Example for FLNiceSpinner */, 103 | 6003F5B5195388D20070C39A /* Tests */, 104 | 6003F58C195388D20070C39A /* Frameworks */, 105 | 6003F58B195388D20070C39A /* Products */, 106 | D5BC986470F0B333BED390FE /* Pods */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 6003F58B195388D20070C39A /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 6003F58A195388D20070C39A /* FLNiceSpinner_Example.app */, 114 | 6003F5AE195388D20070C39A /* FLNiceSpinner_Tests.xctest */, 115 | ); 116 | name = Products; 117 | sourceTree = ""; 118 | }; 119 | 6003F58C195388D20070C39A /* Frameworks */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 6003F58D195388D20070C39A /* Foundation.framework */, 123 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 124 | 6003F591195388D20070C39A /* UIKit.framework */, 125 | 6003F5AF195388D20070C39A /* XCTest.framework */, 126 | 7E4DD19181E81FF522A3B61D /* Pods_FLNiceSpinner_Example.framework */, 127 | 6518E607110FBF2BEF2A372A /* Pods_FLNiceSpinner_Tests.framework */, 128 | ); 129 | name = Frameworks; 130 | sourceTree = ""; 131 | }; 132 | 6003F593195388D20070C39A /* Example for FLNiceSpinner */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 6003F59C195388D20070C39A /* FLAppDelegate.h */, 136 | 6003F59D195388D20070C39A /* FLAppDelegate.m */, 137 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 138 | 6003F5A5195388D20070C39A /* FLViewController.h */, 139 | 6003F5A6195388D20070C39A /* FLViewController.m */, 140 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 141 | 6003F5A8195388D20070C39A /* Images.xcassets */, 142 | 6003F594195388D20070C39A /* Supporting Files */, 143 | ); 144 | name = "Example for FLNiceSpinner"; 145 | path = FLNiceSpinner; 146 | sourceTree = ""; 147 | }; 148 | 6003F594195388D20070C39A /* Supporting Files */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 6003F595195388D20070C39A /* FLNiceSpinner-Info.plist */, 152 | 6003F596195388D20070C39A /* InfoPlist.strings */, 153 | 6003F599195388D20070C39A /* main.m */, 154 | 6003F59B195388D20070C39A /* FLNiceSpinner-Prefix.pch */, 155 | ); 156 | name = "Supporting Files"; 157 | sourceTree = ""; 158 | }; 159 | 6003F5B5195388D20070C39A /* Tests */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 6003F5BB195388D20070C39A /* Tests.m */, 163 | 6003F5B6195388D20070C39A /* Supporting Files */, 164 | ); 165 | path = Tests; 166 | sourceTree = ""; 167 | }; 168 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 172 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 173 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 174 | ); 175 | name = "Supporting Files"; 176 | sourceTree = ""; 177 | }; 178 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | EDA34C95BA9D9CA0DE01F782 /* FLNiceSpinner.podspec */, 182 | BC72CD5E9D98F591B3C17F70 /* README.md */, 183 | 3BFD8AF646A1641932911FA5 /* LICENSE */, 184 | ); 185 | name = "Podspec Metadata"; 186 | sourceTree = ""; 187 | }; 188 | D5BC986470F0B333BED390FE /* Pods */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | A8CF5B6E568A947D752FB8A8 /* Pods-FLNiceSpinner_Example.debug.xcconfig */, 192 | F698F6FECCF14BF1B19B8E1A /* Pods-FLNiceSpinner_Example.release.xcconfig */, 193 | 90205BC721343F5FFCAEFCE1 /* Pods-FLNiceSpinner_Tests.debug.xcconfig */, 194 | B2BE187E192F969F6038D1CD /* Pods-FLNiceSpinner_Tests.release.xcconfig */, 195 | ); 196 | name = Pods; 197 | sourceTree = ""; 198 | }; 199 | /* End PBXGroup section */ 200 | 201 | /* Begin PBXNativeTarget section */ 202 | 6003F589195388D20070C39A /* FLNiceSpinner_Example */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "FLNiceSpinner_Example" */; 205 | buildPhases = ( 206 | A12A6DF610E20A5C5CB84F2D /* [CP] Check Pods Manifest.lock */, 207 | 6003F586195388D20070C39A /* Sources */, 208 | 6003F587195388D20070C39A /* Frameworks */, 209 | 6003F588195388D20070C39A /* Resources */, 210 | E77B7E704EBACAEB3572DFFF /* [CP] Embed Pods Frameworks */, 211 | 7F9FBAC92D19F59297F24BEA /* [CP] Copy Pods Resources */, 212 | ); 213 | buildRules = ( 214 | ); 215 | dependencies = ( 216 | ); 217 | name = FLNiceSpinner_Example; 218 | productName = FLNiceSpinner; 219 | productReference = 6003F58A195388D20070C39A /* FLNiceSpinner_Example.app */; 220 | productType = "com.apple.product-type.application"; 221 | }; 222 | 6003F5AD195388D20070C39A /* FLNiceSpinner_Tests */ = { 223 | isa = PBXNativeTarget; 224 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "FLNiceSpinner_Tests" */; 225 | buildPhases = ( 226 | 9A05EDE3EA62EF14E7D1010A /* [CP] Check Pods Manifest.lock */, 227 | 6003F5AA195388D20070C39A /* Sources */, 228 | 6003F5AB195388D20070C39A /* Frameworks */, 229 | 6003F5AC195388D20070C39A /* Resources */, 230 | 4C5D4F0B3E2BEF7F0BA59B1B /* [CP] Embed Pods Frameworks */, 231 | E32FA1889940F032111D0CEF /* [CP] Copy Pods Resources */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 237 | ); 238 | name = FLNiceSpinner_Tests; 239 | productName = FLNiceSpinnerTests; 240 | productReference = 6003F5AE195388D20070C39A /* FLNiceSpinner_Tests.xctest */; 241 | productType = "com.apple.product-type.bundle.unit-test"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | 6003F582195388D10070C39A /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | CLASSPREFIX = FL; 250 | LastUpgradeCheck = 0920; 251 | ORGANIZATIONNAME = "fengli12321@163.com"; 252 | TargetAttributes = { 253 | 6003F5AD195388D20070C39A = { 254 | TestTargetID = 6003F589195388D20070C39A; 255 | }; 256 | }; 257 | }; 258 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "FLNiceSpinner" */; 259 | compatibilityVersion = "Xcode 3.2"; 260 | developmentRegion = English; 261 | hasScannedForEncodings = 0; 262 | knownRegions = ( 263 | en, 264 | Base, 265 | ); 266 | mainGroup = 6003F581195388D10070C39A; 267 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 268 | projectDirPath = ""; 269 | projectRoot = ""; 270 | targets = ( 271 | 6003F589195388D20070C39A /* FLNiceSpinner_Example */, 272 | 6003F5AD195388D20070C39A /* FLNiceSpinner_Tests */, 273 | ); 274 | }; 275 | /* End PBXProject section */ 276 | 277 | /* Begin PBXResourcesBuildPhase section */ 278 | 6003F588195388D20070C39A /* Resources */ = { 279 | isa = PBXResourcesBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 283 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 284 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 285 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 286 | ); 287 | runOnlyForDeploymentPostprocessing = 0; 288 | }; 289 | 6003F5AC195388D20070C39A /* Resources */ = { 290 | isa = PBXResourcesBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | /* End PBXResourcesBuildPhase section */ 298 | 299 | /* Begin PBXShellScriptBuildPhase section */ 300 | 4C5D4F0B3E2BEF7F0BA59B1B /* [CP] Embed Pods Frameworks */ = { 301 | isa = PBXShellScriptBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | ); 305 | inputPaths = ( 306 | ); 307 | name = "[CP] Embed Pods Frameworks"; 308 | outputPaths = ( 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | shellPath = /bin/sh; 312 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-frameworks.sh\"\n"; 313 | showEnvVarsInLog = 0; 314 | }; 315 | 7F9FBAC92D19F59297F24BEA /* [CP] Copy Pods Resources */ = { 316 | isa = PBXShellScriptBuildPhase; 317 | buildActionMask = 2147483647; 318 | files = ( 319 | ); 320 | inputPaths = ( 321 | ); 322 | name = "[CP] Copy Pods Resources"; 323 | outputPaths = ( 324 | ); 325 | runOnlyForDeploymentPostprocessing = 0; 326 | shellPath = /bin/sh; 327 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-resources.sh\"\n"; 328 | showEnvVarsInLog = 0; 329 | }; 330 | 9A05EDE3EA62EF14E7D1010A /* [CP] Check Pods Manifest.lock */ = { 331 | isa = PBXShellScriptBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | ); 335 | inputPaths = ( 336 | ); 337 | name = "[CP] Check Pods Manifest.lock"; 338 | outputPaths = ( 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | shellPath = /bin/sh; 342 | 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"; 343 | showEnvVarsInLog = 0; 344 | }; 345 | A12A6DF610E20A5C5CB84F2D /* [CP] Check Pods Manifest.lock */ = { 346 | isa = PBXShellScriptBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | ); 350 | inputPaths = ( 351 | ); 352 | name = "[CP] Check Pods Manifest.lock"; 353 | outputPaths = ( 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | shellPath = /bin/sh; 357 | 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"; 358 | showEnvVarsInLog = 0; 359 | }; 360 | E32FA1889940F032111D0CEF /* [CP] Copy Pods Resources */ = { 361 | isa = PBXShellScriptBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | ); 365 | inputPaths = ( 366 | ); 367 | name = "[CP] Copy Pods Resources"; 368 | outputPaths = ( 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | shellPath = /bin/sh; 372 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests-resources.sh\"\n"; 373 | showEnvVarsInLog = 0; 374 | }; 375 | E77B7E704EBACAEB3572DFFF /* [CP] Embed Pods Frameworks */ = { 376 | isa = PBXShellScriptBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | ); 380 | inputPaths = ( 381 | ); 382 | name = "[CP] Embed Pods Frameworks"; 383 | outputPaths = ( 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | shellPath = /bin/sh; 387 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example-frameworks.sh\"\n"; 388 | showEnvVarsInLog = 0; 389 | }; 390 | /* End PBXShellScriptBuildPhase section */ 391 | 392 | /* Begin PBXSourcesBuildPhase section */ 393 | 6003F586195388D20070C39A /* Sources */ = { 394 | isa = PBXSourcesBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | 6003F59E195388D20070C39A /* FLAppDelegate.m in Sources */, 398 | 6003F5A7195388D20070C39A /* FLViewController.m in Sources */, 399 | 6003F59A195388D20070C39A /* main.m in Sources */, 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | 6003F5AA195388D20070C39A /* Sources */ = { 404 | isa = PBXSourcesBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | /* End PBXSourcesBuildPhase section */ 412 | 413 | /* Begin PBXTargetDependency section */ 414 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 415 | isa = PBXTargetDependency; 416 | target = 6003F589195388D20070C39A /* FLNiceSpinner_Example */; 417 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 418 | }; 419 | /* End PBXTargetDependency section */ 420 | 421 | /* Begin PBXVariantGroup section */ 422 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 423 | isa = PBXVariantGroup; 424 | children = ( 425 | 6003F597195388D20070C39A /* en */, 426 | ); 427 | name = InfoPlist.strings; 428 | sourceTree = ""; 429 | }; 430 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 431 | isa = PBXVariantGroup; 432 | children = ( 433 | 6003F5B9195388D20070C39A /* en */, 434 | ); 435 | name = InfoPlist.strings; 436 | sourceTree = ""; 437 | }; 438 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 439 | isa = PBXVariantGroup; 440 | children = ( 441 | 71719F9E1E33DC2100824A3D /* Base */, 442 | ); 443 | name = LaunchScreen.storyboard; 444 | sourceTree = ""; 445 | }; 446 | /* End PBXVariantGroup section */ 447 | 448 | /* Begin XCBuildConfiguration section */ 449 | 6003F5BD195388D20070C39A /* Debug */ = { 450 | isa = XCBuildConfiguration; 451 | buildSettings = { 452 | ALWAYS_SEARCH_USER_PATHS = NO; 453 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 454 | CLANG_CXX_LIBRARY = "libc++"; 455 | CLANG_ENABLE_MODULES = YES; 456 | CLANG_ENABLE_OBJC_ARC = YES; 457 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 458 | CLANG_WARN_BOOL_CONVERSION = YES; 459 | CLANG_WARN_COMMA = YES; 460 | CLANG_WARN_CONSTANT_CONVERSION = YES; 461 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 462 | CLANG_WARN_EMPTY_BODY = YES; 463 | CLANG_WARN_ENUM_CONVERSION = YES; 464 | CLANG_WARN_INFINITE_RECURSION = YES; 465 | CLANG_WARN_INT_CONVERSION = YES; 466 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 467 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 468 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 469 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 470 | CLANG_WARN_STRICT_PROTOTYPES = YES; 471 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 472 | CLANG_WARN_UNREACHABLE_CODE = YES; 473 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 474 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 475 | COPY_PHASE_STRIP = NO; 476 | ENABLE_STRICT_OBJC_MSGSEND = YES; 477 | ENABLE_TESTABILITY = YES; 478 | GCC_C_LANGUAGE_STANDARD = gnu99; 479 | GCC_DYNAMIC_NO_PIC = NO; 480 | GCC_NO_COMMON_BLOCKS = YES; 481 | GCC_OPTIMIZATION_LEVEL = 0; 482 | GCC_PREPROCESSOR_DEFINITIONS = ( 483 | "DEBUG=1", 484 | "$(inherited)", 485 | ); 486 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 487 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 488 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 489 | GCC_WARN_UNDECLARED_SELECTOR = YES; 490 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 491 | GCC_WARN_UNUSED_FUNCTION = YES; 492 | GCC_WARN_UNUSED_VARIABLE = YES; 493 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 494 | ONLY_ACTIVE_ARCH = YES; 495 | SDKROOT = iphoneos; 496 | TARGETED_DEVICE_FAMILY = "1,2"; 497 | }; 498 | name = Debug; 499 | }; 500 | 6003F5BE195388D20070C39A /* Release */ = { 501 | isa = XCBuildConfiguration; 502 | buildSettings = { 503 | ALWAYS_SEARCH_USER_PATHS = NO; 504 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 505 | CLANG_CXX_LIBRARY = "libc++"; 506 | CLANG_ENABLE_MODULES = YES; 507 | CLANG_ENABLE_OBJC_ARC = YES; 508 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 509 | CLANG_WARN_BOOL_CONVERSION = YES; 510 | CLANG_WARN_COMMA = YES; 511 | CLANG_WARN_CONSTANT_CONVERSION = YES; 512 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 513 | CLANG_WARN_EMPTY_BODY = YES; 514 | CLANG_WARN_ENUM_CONVERSION = YES; 515 | CLANG_WARN_INFINITE_RECURSION = YES; 516 | CLANG_WARN_INT_CONVERSION = YES; 517 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 518 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 519 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 520 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 521 | CLANG_WARN_STRICT_PROTOTYPES = YES; 522 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 523 | CLANG_WARN_UNREACHABLE_CODE = YES; 524 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 525 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 526 | COPY_PHASE_STRIP = YES; 527 | ENABLE_NS_ASSERTIONS = NO; 528 | ENABLE_STRICT_OBJC_MSGSEND = YES; 529 | GCC_C_LANGUAGE_STANDARD = gnu99; 530 | GCC_NO_COMMON_BLOCKS = YES; 531 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 532 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 533 | GCC_WARN_UNDECLARED_SELECTOR = YES; 534 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 535 | GCC_WARN_UNUSED_FUNCTION = YES; 536 | GCC_WARN_UNUSED_VARIABLE = YES; 537 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 538 | SDKROOT = iphoneos; 539 | TARGETED_DEVICE_FAMILY = "1,2"; 540 | VALIDATE_PRODUCT = YES; 541 | }; 542 | name = Release; 543 | }; 544 | 6003F5C0195388D20070C39A /* Debug */ = { 545 | isa = XCBuildConfiguration; 546 | baseConfigurationReference = A8CF5B6E568A947D752FB8A8 /* Pods-FLNiceSpinner_Example.debug.xcconfig */; 547 | buildSettings = { 548 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 549 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 550 | GCC_PREFIX_HEADER = "FLNiceSpinner/FLNiceSpinner-Prefix.pch"; 551 | INFOPLIST_FILE = "FLNiceSpinner/FLNiceSpinner-Info.plist"; 552 | MODULE_NAME = ExampleApp; 553 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 554 | PRODUCT_NAME = "$(TARGET_NAME)"; 555 | WRAPPER_EXTENSION = app; 556 | }; 557 | name = Debug; 558 | }; 559 | 6003F5C1195388D20070C39A /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = F698F6FECCF14BF1B19B8E1A /* Pods-FLNiceSpinner_Example.release.xcconfig */; 562 | buildSettings = { 563 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 564 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 565 | GCC_PREFIX_HEADER = "FLNiceSpinner/FLNiceSpinner-Prefix.pch"; 566 | INFOPLIST_FILE = "FLNiceSpinner/FLNiceSpinner-Info.plist"; 567 | MODULE_NAME = ExampleApp; 568 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 569 | PRODUCT_NAME = "$(TARGET_NAME)"; 570 | WRAPPER_EXTENSION = app; 571 | }; 572 | name = Release; 573 | }; 574 | 6003F5C3195388D20070C39A /* Debug */ = { 575 | isa = XCBuildConfiguration; 576 | baseConfigurationReference = 90205BC721343F5FFCAEFCE1 /* Pods-FLNiceSpinner_Tests.debug.xcconfig */; 577 | buildSettings = { 578 | BUNDLE_LOADER = "$(TEST_HOST)"; 579 | FRAMEWORK_SEARCH_PATHS = ( 580 | "$(SDKROOT)/Developer/Library/Frameworks", 581 | "$(inherited)", 582 | "$(DEVELOPER_FRAMEWORKS_DIR)", 583 | ); 584 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 585 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 586 | GCC_PREPROCESSOR_DEFINITIONS = ( 587 | "DEBUG=1", 588 | "$(inherited)", 589 | ); 590 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 591 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 592 | PRODUCT_NAME = "$(TARGET_NAME)"; 593 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FLNiceSpinner_Example.app/FLNiceSpinner_Example"; 594 | WRAPPER_EXTENSION = xctest; 595 | }; 596 | name = Debug; 597 | }; 598 | 6003F5C4195388D20070C39A /* Release */ = { 599 | isa = XCBuildConfiguration; 600 | baseConfigurationReference = B2BE187E192F969F6038D1CD /* Pods-FLNiceSpinner_Tests.release.xcconfig */; 601 | buildSettings = { 602 | BUNDLE_LOADER = "$(TEST_HOST)"; 603 | FRAMEWORK_SEARCH_PATHS = ( 604 | "$(SDKROOT)/Developer/Library/Frameworks", 605 | "$(inherited)", 606 | "$(DEVELOPER_FRAMEWORKS_DIR)", 607 | ); 608 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 609 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 610 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 611 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 612 | PRODUCT_NAME = "$(TARGET_NAME)"; 613 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FLNiceSpinner_Example.app/FLNiceSpinner_Example"; 614 | WRAPPER_EXTENSION = xctest; 615 | }; 616 | name = Release; 617 | }; 618 | /* End XCBuildConfiguration section */ 619 | 620 | /* Begin XCConfigurationList section */ 621 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "FLNiceSpinner" */ = { 622 | isa = XCConfigurationList; 623 | buildConfigurations = ( 624 | 6003F5BD195388D20070C39A /* Debug */, 625 | 6003F5BE195388D20070C39A /* Release */, 626 | ); 627 | defaultConfigurationIsVisible = 0; 628 | defaultConfigurationName = Release; 629 | }; 630 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "FLNiceSpinner_Example" */ = { 631 | isa = XCConfigurationList; 632 | buildConfigurations = ( 633 | 6003F5C0195388D20070C39A /* Debug */, 634 | 6003F5C1195388D20070C39A /* Release */, 635 | ); 636 | defaultConfigurationIsVisible = 0; 637 | defaultConfigurationName = Release; 638 | }; 639 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "FLNiceSpinner_Tests" */ = { 640 | isa = XCConfigurationList; 641 | buildConfigurations = ( 642 | 6003F5C3195388D20070C39A /* Debug */, 643 | 6003F5C4195388D20070C39A /* Release */, 644 | ); 645 | defaultConfigurationIsVisible = 0; 646 | defaultConfigurationName = Release; 647 | }; 648 | /* End XCConfigurationList section */ 649 | }; 650 | rootObject = 6003F582195388D10070C39A /* Project object */; 651 | } 652 | -------------------------------------------------------------------------------- /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 | 0EBEB7CE16536F5A5CB8DADF12B61A02 /* Pods-FLNiceSpinner_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1710B61FA25472F40113DF557D0DA5D5 /* Pods-FLNiceSpinner_Example-dummy.m */; }; 11 | 3457AD57AF993BD2DEFE167D07AEDC34 /* FLNiceSpinner-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AF53D15BDC36990B2A965F2B256A153 /* FLNiceSpinner-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 5DF32B67529B2041A2AB9714037E394B /* FLNiceSpinner.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 8B3B11BC6DFB3DB40837795BE83438D9 /* FLNiceSpinner.bundle */; }; 13 | 624833AC6AF7168531EEAF12179B16E0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE59B0D97841C2542CA3D20540685C26 /* Foundation.framework */; }; 14 | 67E29A8540BD40B7CF742B0129368FAF /* Pods-FLNiceSpinner_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 02F9440998F101406080CA18B22AE396 /* Pods-FLNiceSpinner_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 684B6782B88E124262D7BC2A7CC6EB67 /* Pods-FLNiceSpinner_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DECC419CE55C0C29D157C0C21B222CA9 /* Pods-FLNiceSpinner_Tests-dummy.m */; }; 16 | 74E1D729690FCFD20936FC49F6E4F113 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE59B0D97841C2542CA3D20540685C26 /* Foundation.framework */; }; 17 | 95AA0995EF217A0FE50EE803A8D0E58D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE59B0D97841C2542CA3D20540685C26 /* Foundation.framework */; }; 18 | B2A67A8E126475BD64DC932E5F2AF91F /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99C06B1B209CA23EC16EBF65CF890313 /* CoreGraphics.framework */; }; 19 | C4D80EB3FB7D03387910243990408F8B /* FLNiceSpinner.h in Headers */ = {isa = PBXBuildFile; fileRef = BECEC37B42A3CE325EEEBAA0A33B0E13 /* FLNiceSpinner.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | C58C38B7F669DC021924FF4EE7507AC6 /* Pods-FLNiceSpinner_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F286247D5B04C80A5AFADE71B454F243 /* Pods-FLNiceSpinner_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | CD0762D1A231A1C8F027EB6C5149D805 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A5224A726D9EABB2D5F18E4597390EF3 /* UIKit.framework */; }; 22 | D83B6D72DDE60EF2B46E9B20F252EFD4 /* FLNiceSpinner-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7F3460A86F4D40404E1385C3D75257 /* FLNiceSpinner-dummy.m */; }; 23 | FF1A992999A16057F144427819D5D667 /* FLNiceSpinner.m in Sources */ = {isa = PBXBuildFile; fileRef = 84421F5B6FD668B3887EDC05AC407809 /* FLNiceSpinner.m */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 66150AC49925F7EB2FF023068E143624 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = F7E608BED3F3AF375564DE1E1163B43F; 32 | remoteInfo = FLNiceSpinner; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 02F9440998F101406080CA18B22AE396 /* Pods-FLNiceSpinner_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FLNiceSpinner_Example-umbrella.h"; sourceTree = ""; }; 38 | 1710B61FA25472F40113DF557D0DA5D5 /* Pods-FLNiceSpinner_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FLNiceSpinner_Example-dummy.m"; sourceTree = ""; }; 39 | 1C41FEB2EFDF2FBF916DB189138155D0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 1EB9849F69A1889A5E96C39367580A69 /* FLNiceSpinner.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FLNiceSpinner.xcconfig; sourceTree = ""; }; 41 | 242DBEEF1BA0464BD564F7DA36AD4CF1 /* Pods-FLNiceSpinner_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FLNiceSpinner_Tests.release.xcconfig"; sourceTree = ""; }; 42 | 3A6AA84B1A7EF4D24B57264472ED1E19 /* Pods-FLNiceSpinner_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-FLNiceSpinner_Tests.modulemap"; sourceTree = ""; }; 43 | 3AFC7B45578278CCF78D433E80CAB2C7 /* Pods-FLNiceSpinner_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FLNiceSpinner_Example.release.xcconfig"; sourceTree = ""; }; 44 | 45CBF9E9D61703501BEA107506055E7D /* Pods-FLNiceSpinner_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FLNiceSpinner_Tests-acknowledgements.markdown"; sourceTree = ""; }; 45 | 5E05B6AB6F522F555D7A20AD3F8F6A65 /* Pods-FLNiceSpinner_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FLNiceSpinner_Example-resources.sh"; sourceTree = ""; }; 46 | 5E270811CD812081C984BD018A0755AD /* FLNiceSpinner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = FLNiceSpinner.framework; path = FLNiceSpinner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 5F9C4CE34B7A7A59CA93C7C5AB37D0F1 /* Pods-FLNiceSpinner_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FLNiceSpinner_Tests-acknowledgements.plist"; sourceTree = ""; }; 48 | 5FBD0D73D23C9B09872EE41CF68352C3 /* Pods_FLNiceSpinner_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_FLNiceSpinner_Tests.framework; path = "Pods-FLNiceSpinner_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 6398724DC691B17042EAB265D319CE2D /* Pods-FLNiceSpinner_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FLNiceSpinner_Tests.debug.xcconfig"; sourceTree = ""; }; 50 | 64BABE3B5702D1EC3D7467E1D0E19A22 /* Pods-FLNiceSpinner_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FLNiceSpinner_Example.debug.xcconfig"; sourceTree = ""; }; 51 | 6502F6677207E818D238D3E96E84C4CB /* Pods-FLNiceSpinner_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FLNiceSpinner_Tests-resources.sh"; sourceTree = ""; }; 52 | 6B7F3460A86F4D40404E1385C3D75257 /* FLNiceSpinner-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FLNiceSpinner-dummy.m"; sourceTree = ""; }; 53 | 7AF53D15BDC36990B2A965F2B256A153 /* FLNiceSpinner-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FLNiceSpinner-umbrella.h"; sourceTree = ""; }; 54 | 83E4EA706BCD08B13E69C18CAD8949EC /* Pods-FLNiceSpinner_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FLNiceSpinner_Tests-frameworks.sh"; sourceTree = ""; }; 55 | 84421F5B6FD668B3887EDC05AC407809 /* FLNiceSpinner.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = FLNiceSpinner.m; sourceTree = ""; }; 56 | 8B3B11BC6DFB3DB40837795BE83438D9 /* FLNiceSpinner.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; path = FLNiceSpinner.bundle; sourceTree = ""; }; 57 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 58 | 9890FEBA27AED92C1ED4EB70B366ADEE /* FLNiceSpinner-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FLNiceSpinner-prefix.pch"; sourceTree = ""; }; 59 | 99C06B1B209CA23EC16EBF65CF890313 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; }; 60 | 9F948DD0029F70E80724294271B60D0C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 61 | A1845D33449487A9558C1E8EE4D8DA2E /* Pods-FLNiceSpinner_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FLNiceSpinner_Example-frameworks.sh"; sourceTree = ""; }; 62 | A5224A726D9EABB2D5F18E4597390EF3 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 63 | A72C15D97DAF514E62F3C154D467121E /* FLNiceSpinner.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = FLNiceSpinner.modulemap; sourceTree = ""; }; 64 | BECEC37B42A3CE325EEEBAA0A33B0E13 /* FLNiceSpinner.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = FLNiceSpinner.h; sourceTree = ""; }; 65 | BFDB36A64C70D7C7F8DFF4BE5C54B900 /* Pods-FLNiceSpinner_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FLNiceSpinner_Example-acknowledgements.plist"; sourceTree = ""; }; 66 | C3C0589E5317EDA93CBD982F6C5EE9D9 /* Pods-FLNiceSpinner_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-FLNiceSpinner_Example.modulemap"; sourceTree = ""; }; 67 | C97F2450AF60ADDB8DD3E82A64D0A638 /* Pods_FLNiceSpinner_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_FLNiceSpinner_Example.framework; path = "Pods-FLNiceSpinner_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | CE59B0D97841C2542CA3D20540685C26 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 69 | D0BC307688F9CFA4BC3E6D28EBF2B5BF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 70 | DECC419CE55C0C29D157C0C21B222CA9 /* Pods-FLNiceSpinner_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FLNiceSpinner_Tests-dummy.m"; sourceTree = ""; }; 71 | EECC71410AED46A6BB4E862B966F2FC7 /* Pods-FLNiceSpinner_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FLNiceSpinner_Example-acknowledgements.markdown"; sourceTree = ""; }; 72 | F286247D5B04C80A5AFADE71B454F243 /* Pods-FLNiceSpinner_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FLNiceSpinner_Tests-umbrella.h"; sourceTree = ""; }; 73 | /* End PBXFileReference section */ 74 | 75 | /* Begin PBXFrameworksBuildPhase section */ 76 | 311124BCE88D693180AF50FF6ECB4627 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 74E1D729690FCFD20936FC49F6E4F113 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 58F85B3BAF51BD713B31CF5BAE80E63B /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | B2A67A8E126475BD64DC932E5F2AF91F /* CoreGraphics.framework in Frameworks */, 89 | 95AA0995EF217A0FE50EE803A8D0E58D /* Foundation.framework in Frameworks */, 90 | CD0762D1A231A1C8F027EB6C5149D805 /* UIKit.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | 8AC944D6DBF73BD9D44F99AB3B204AE8 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 624833AC6AF7168531EEAF12179B16E0 /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 93FD095B5FC2A2BCC81B8E3CFC167E67 /* iOS */, 109 | ); 110 | name = Frameworks; 111 | sourceTree = ""; 112 | }; 113 | 1F88C68902E076F65F3C250B8A651CE5 /* Pods-FLNiceSpinner_Tests */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 9F948DD0029F70E80724294271B60D0C /* Info.plist */, 117 | 3A6AA84B1A7EF4D24B57264472ED1E19 /* Pods-FLNiceSpinner_Tests.modulemap */, 118 | 45CBF9E9D61703501BEA107506055E7D /* Pods-FLNiceSpinner_Tests-acknowledgements.markdown */, 119 | 5F9C4CE34B7A7A59CA93C7C5AB37D0F1 /* Pods-FLNiceSpinner_Tests-acknowledgements.plist */, 120 | DECC419CE55C0C29D157C0C21B222CA9 /* Pods-FLNiceSpinner_Tests-dummy.m */, 121 | 83E4EA706BCD08B13E69C18CAD8949EC /* Pods-FLNiceSpinner_Tests-frameworks.sh */, 122 | 6502F6677207E818D238D3E96E84C4CB /* Pods-FLNiceSpinner_Tests-resources.sh */, 123 | F286247D5B04C80A5AFADE71B454F243 /* Pods-FLNiceSpinner_Tests-umbrella.h */, 124 | 6398724DC691B17042EAB265D319CE2D /* Pods-FLNiceSpinner_Tests.debug.xcconfig */, 125 | 242DBEEF1BA0464BD564F7DA36AD4CF1 /* Pods-FLNiceSpinner_Tests.release.xcconfig */, 126 | ); 127 | name = "Pods-FLNiceSpinner_Tests"; 128 | path = "Target Support Files/Pods-FLNiceSpinner_Tests"; 129 | sourceTree = ""; 130 | }; 131 | 237CD4A445CA154655DA095416135AAE /* Support Files */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | A72C15D97DAF514E62F3C154D467121E /* FLNiceSpinner.modulemap */, 135 | 1EB9849F69A1889A5E96C39367580A69 /* FLNiceSpinner.xcconfig */, 136 | 6B7F3460A86F4D40404E1385C3D75257 /* FLNiceSpinner-dummy.m */, 137 | 9890FEBA27AED92C1ED4EB70B366ADEE /* FLNiceSpinner-prefix.pch */, 138 | 7AF53D15BDC36990B2A965F2B256A153 /* FLNiceSpinner-umbrella.h */, 139 | D0BC307688F9CFA4BC3E6D28EBF2B5BF /* Info.plist */, 140 | ); 141 | name = "Support Files"; 142 | path = "Example/Pods/Target Support Files/FLNiceSpinner"; 143 | sourceTree = ""; 144 | }; 145 | 287B0F6E86167308275A35B890632EC5 /* Targets Support Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | B4E305B1132700AA3B043447EBB8ED9E /* Pods-FLNiceSpinner_Example */, 149 | 1F88C68902E076F65F3C250B8A651CE5 /* Pods-FLNiceSpinner_Tests */, 150 | ); 151 | name = "Targets Support Files"; 152 | sourceTree = ""; 153 | }; 154 | 3F0D61D2A4A02E25FDA271F28C725A19 /* Assets */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 8B3B11BC6DFB3DB40837795BE83438D9 /* FLNiceSpinner.bundle */, 158 | ); 159 | name = Assets; 160 | path = Assets; 161 | sourceTree = ""; 162 | }; 163 | 42CDB310F2473867202E1BD1A3CE2E0C /* FLNiceSpinner */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 6C6748AD347A54408CBE10B287877AC4 /* FLNiceSpinner */, 167 | 8A6D0883299B302B191556FDD1E742E1 /* Resources */, 168 | 237CD4A445CA154655DA095416135AAE /* Support Files */, 169 | ); 170 | name = FLNiceSpinner; 171 | path = ../..; 172 | sourceTree = ""; 173 | }; 174 | 609F153D69B9135CEE3907D81FA1A1F8 /* Development Pods */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | 42CDB310F2473867202E1BD1A3CE2E0C /* FLNiceSpinner */, 178 | ); 179 | name = "Development Pods"; 180 | sourceTree = ""; 181 | }; 182 | 6C6748AD347A54408CBE10B287877AC4 /* FLNiceSpinner */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | 9955F2CB9BBAE204836928F6533D4D30 /* Classes */, 186 | ); 187 | name = FLNiceSpinner; 188 | path = FLNiceSpinner; 189 | sourceTree = ""; 190 | }; 191 | 7DB346D0F39D3F0E887471402A8071AB = { 192 | isa = PBXGroup; 193 | children = ( 194 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 195 | 609F153D69B9135CEE3907D81FA1A1F8 /* Development Pods */, 196 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */, 197 | D6D9AEC0584BE5AB3F4FCFCC616C420E /* Products */, 198 | 287B0F6E86167308275A35B890632EC5 /* Targets Support Files */, 199 | ); 200 | sourceTree = ""; 201 | }; 202 | 8A6D0883299B302B191556FDD1E742E1 /* Resources */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | CF54C7857228F2BB6079D25D739961D4 /* FLNiceSpinner */, 206 | ); 207 | name = Resources; 208 | sourceTree = ""; 209 | }; 210 | 93FD095B5FC2A2BCC81B8E3CFC167E67 /* iOS */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 99C06B1B209CA23EC16EBF65CF890313 /* CoreGraphics.framework */, 214 | CE59B0D97841C2542CA3D20540685C26 /* Foundation.framework */, 215 | A5224A726D9EABB2D5F18E4597390EF3 /* UIKit.framework */, 216 | ); 217 | name = iOS; 218 | sourceTree = ""; 219 | }; 220 | 9955F2CB9BBAE204836928F6533D4D30 /* Classes */ = { 221 | isa = PBXGroup; 222 | children = ( 223 | BECEC37B42A3CE325EEEBAA0A33B0E13 /* FLNiceSpinner.h */, 224 | 84421F5B6FD668B3887EDC05AC407809 /* FLNiceSpinner.m */, 225 | ); 226 | name = Classes; 227 | path = Classes; 228 | sourceTree = ""; 229 | }; 230 | B4E305B1132700AA3B043447EBB8ED9E /* Pods-FLNiceSpinner_Example */ = { 231 | isa = PBXGroup; 232 | children = ( 233 | 1C41FEB2EFDF2FBF916DB189138155D0 /* Info.plist */, 234 | C3C0589E5317EDA93CBD982F6C5EE9D9 /* Pods-FLNiceSpinner_Example.modulemap */, 235 | EECC71410AED46A6BB4E862B966F2FC7 /* Pods-FLNiceSpinner_Example-acknowledgements.markdown */, 236 | BFDB36A64C70D7C7F8DFF4BE5C54B900 /* Pods-FLNiceSpinner_Example-acknowledgements.plist */, 237 | 1710B61FA25472F40113DF557D0DA5D5 /* Pods-FLNiceSpinner_Example-dummy.m */, 238 | A1845D33449487A9558C1E8EE4D8DA2E /* Pods-FLNiceSpinner_Example-frameworks.sh */, 239 | 5E05B6AB6F522F555D7A20AD3F8F6A65 /* Pods-FLNiceSpinner_Example-resources.sh */, 240 | 02F9440998F101406080CA18B22AE396 /* Pods-FLNiceSpinner_Example-umbrella.h */, 241 | 64BABE3B5702D1EC3D7467E1D0E19A22 /* Pods-FLNiceSpinner_Example.debug.xcconfig */, 242 | 3AFC7B45578278CCF78D433E80CAB2C7 /* Pods-FLNiceSpinner_Example.release.xcconfig */, 243 | ); 244 | name = "Pods-FLNiceSpinner_Example"; 245 | path = "Target Support Files/Pods-FLNiceSpinner_Example"; 246 | sourceTree = ""; 247 | }; 248 | CF54C7857228F2BB6079D25D739961D4 /* FLNiceSpinner */ = { 249 | isa = PBXGroup; 250 | children = ( 251 | 3F0D61D2A4A02E25FDA271F28C725A19 /* Assets */, 252 | ); 253 | name = FLNiceSpinner; 254 | path = FLNiceSpinner; 255 | sourceTree = ""; 256 | }; 257 | D6D9AEC0584BE5AB3F4FCFCC616C420E /* Products */ = { 258 | isa = PBXGroup; 259 | children = ( 260 | 5E270811CD812081C984BD018A0755AD /* FLNiceSpinner.framework */, 261 | C97F2450AF60ADDB8DD3E82A64D0A638 /* Pods_FLNiceSpinner_Example.framework */, 262 | 5FBD0D73D23C9B09872EE41CF68352C3 /* Pods_FLNiceSpinner_Tests.framework */, 263 | ); 264 | name = Products; 265 | sourceTree = ""; 266 | }; 267 | /* End PBXGroup section */ 268 | 269 | /* Begin PBXHeadersBuildPhase section */ 270 | 2F88D25ACD677B7268629829BFC56D53 /* Headers */ = { 271 | isa = PBXHeadersBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | C58C38B7F669DC021924FF4EE7507AC6 /* Pods-FLNiceSpinner_Tests-umbrella.h in Headers */, 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | }; 278 | C432FA4ECD410ACEE213F2A9640D3BDA /* Headers */ = { 279 | isa = PBXHeadersBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | 67E29A8540BD40B7CF742B0129368FAF /* Pods-FLNiceSpinner_Example-umbrella.h in Headers */, 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | DB9182F5F94AB241A379BF6D89E32E7B /* Headers */ = { 287 | isa = PBXHeadersBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | 3457AD57AF993BD2DEFE167D07AEDC34 /* FLNiceSpinner-umbrella.h in Headers */, 291 | C4D80EB3FB7D03387910243990408F8B /* FLNiceSpinner.h in Headers */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | /* End PBXHeadersBuildPhase section */ 296 | 297 | /* Begin PBXNativeTarget section */ 298 | 72D73185BCE4410CB5EC237743130138 /* Pods-FLNiceSpinner_Example */ = { 299 | isa = PBXNativeTarget; 300 | buildConfigurationList = 3A072AD2A514411FE2E6E48DA58D9CCE /* Build configuration list for PBXNativeTarget "Pods-FLNiceSpinner_Example" */; 301 | buildPhases = ( 302 | A947D7189F155C6206962B1B71C29CBD /* Sources */, 303 | 311124BCE88D693180AF50FF6ECB4627 /* Frameworks */, 304 | C432FA4ECD410ACEE213F2A9640D3BDA /* Headers */, 305 | ); 306 | buildRules = ( 307 | ); 308 | dependencies = ( 309 | 17D067B745B30F1B37162B9199F30FC5 /* PBXTargetDependency */, 310 | ); 311 | name = "Pods-FLNiceSpinner_Example"; 312 | productName = "Pods-FLNiceSpinner_Example"; 313 | productReference = C97F2450AF60ADDB8DD3E82A64D0A638 /* Pods_FLNiceSpinner_Example.framework */; 314 | productType = "com.apple.product-type.framework"; 315 | }; 316 | CBA3DCAF241B6B82AB9EBD6CE2F7ECF7 /* Pods-FLNiceSpinner_Tests */ = { 317 | isa = PBXNativeTarget; 318 | buildConfigurationList = 986A9BA58AFE703EEE004FBCA2C407AF /* Build configuration list for PBXNativeTarget "Pods-FLNiceSpinner_Tests" */; 319 | buildPhases = ( 320 | CC8CDEAA10EDA18B39A90A0C5F2DAC7F /* Sources */, 321 | 8AC944D6DBF73BD9D44F99AB3B204AE8 /* Frameworks */, 322 | 2F88D25ACD677B7268629829BFC56D53 /* Headers */, 323 | ); 324 | buildRules = ( 325 | ); 326 | dependencies = ( 327 | ); 328 | name = "Pods-FLNiceSpinner_Tests"; 329 | productName = "Pods-FLNiceSpinner_Tests"; 330 | productReference = 5FBD0D73D23C9B09872EE41CF68352C3 /* Pods_FLNiceSpinner_Tests.framework */; 331 | productType = "com.apple.product-type.framework"; 332 | }; 333 | F7E608BED3F3AF375564DE1E1163B43F /* FLNiceSpinner */ = { 334 | isa = PBXNativeTarget; 335 | buildConfigurationList = EA4320072A3765F75AA27593B168EB8D /* Build configuration list for PBXNativeTarget "FLNiceSpinner" */; 336 | buildPhases = ( 337 | 132FE6A20B3E85AE3CCE5D0050F7FC17 /* Sources */, 338 | 58F85B3BAF51BD713B31CF5BAE80E63B /* Frameworks */, 339 | DB9182F5F94AB241A379BF6D89E32E7B /* Headers */, 340 | 5644B302890A0E8034D495DD48B9F082 /* Resources */, 341 | ); 342 | buildRules = ( 343 | ); 344 | dependencies = ( 345 | ); 346 | name = FLNiceSpinner; 347 | productName = FLNiceSpinner; 348 | productReference = 5E270811CD812081C984BD018A0755AD /* FLNiceSpinner.framework */; 349 | productType = "com.apple.product-type.framework"; 350 | }; 351 | /* End PBXNativeTarget section */ 352 | 353 | /* Begin PBXProject section */ 354 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 355 | isa = PBXProject; 356 | attributes = { 357 | LastSwiftUpdateCheck = 0830; 358 | LastUpgradeCheck = 0700; 359 | }; 360 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 361 | compatibilityVersion = "Xcode 3.2"; 362 | developmentRegion = English; 363 | hasScannedForEncodings = 0; 364 | knownRegions = ( 365 | en, 366 | ); 367 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 368 | productRefGroup = D6D9AEC0584BE5AB3F4FCFCC616C420E /* Products */; 369 | projectDirPath = ""; 370 | projectRoot = ""; 371 | targets = ( 372 | F7E608BED3F3AF375564DE1E1163B43F /* FLNiceSpinner */, 373 | 72D73185BCE4410CB5EC237743130138 /* Pods-FLNiceSpinner_Example */, 374 | CBA3DCAF241B6B82AB9EBD6CE2F7ECF7 /* Pods-FLNiceSpinner_Tests */, 375 | ); 376 | }; 377 | /* End PBXProject section */ 378 | 379 | /* Begin PBXResourcesBuildPhase section */ 380 | 5644B302890A0E8034D495DD48B9F082 /* Resources */ = { 381 | isa = PBXResourcesBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | 5DF32B67529B2041A2AB9714037E394B /* FLNiceSpinner.bundle in Resources */, 385 | ); 386 | runOnlyForDeploymentPostprocessing = 0; 387 | }; 388 | /* End PBXResourcesBuildPhase section */ 389 | 390 | /* Begin PBXSourcesBuildPhase section */ 391 | 132FE6A20B3E85AE3CCE5D0050F7FC17 /* Sources */ = { 392 | isa = PBXSourcesBuildPhase; 393 | buildActionMask = 2147483647; 394 | files = ( 395 | D83B6D72DDE60EF2B46E9B20F252EFD4 /* FLNiceSpinner-dummy.m in Sources */, 396 | FF1A992999A16057F144427819D5D667 /* FLNiceSpinner.m in Sources */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | A947D7189F155C6206962B1B71C29CBD /* Sources */ = { 401 | isa = PBXSourcesBuildPhase; 402 | buildActionMask = 2147483647; 403 | files = ( 404 | 0EBEB7CE16536F5A5CB8DADF12B61A02 /* Pods-FLNiceSpinner_Example-dummy.m in Sources */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | CC8CDEAA10EDA18B39A90A0C5F2DAC7F /* Sources */ = { 409 | isa = PBXSourcesBuildPhase; 410 | buildActionMask = 2147483647; 411 | files = ( 412 | 684B6782B88E124262D7BC2A7CC6EB67 /* Pods-FLNiceSpinner_Tests-dummy.m in Sources */, 413 | ); 414 | runOnlyForDeploymentPostprocessing = 0; 415 | }; 416 | /* End PBXSourcesBuildPhase section */ 417 | 418 | /* Begin PBXTargetDependency section */ 419 | 17D067B745B30F1B37162B9199F30FC5 /* PBXTargetDependency */ = { 420 | isa = PBXTargetDependency; 421 | name = FLNiceSpinner; 422 | target = F7E608BED3F3AF375564DE1E1163B43F /* FLNiceSpinner */; 423 | targetProxy = 66150AC49925F7EB2FF023068E143624 /* PBXContainerItemProxy */; 424 | }; 425 | /* End PBXTargetDependency section */ 426 | 427 | /* Begin XCBuildConfiguration section */ 428 | 022A7A4C1EFE035DC9CE0C8C02FA02A6 /* Debug */ = { 429 | isa = XCBuildConfiguration; 430 | baseConfigurationReference = 6398724DC691B17042EAB265D319CE2D /* Pods-FLNiceSpinner_Tests.debug.xcconfig */; 431 | buildSettings = { 432 | CODE_SIGN_IDENTITY = ""; 433 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 435 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 436 | CURRENT_PROJECT_VERSION = 1; 437 | DEBUG_INFORMATION_FORMAT = dwarf; 438 | DEFINES_MODULE = YES; 439 | DYLIB_COMPATIBILITY_VERSION = 1; 440 | DYLIB_CURRENT_VERSION = 1; 441 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 442 | ENABLE_STRICT_OBJC_MSGSEND = YES; 443 | GCC_NO_COMMON_BLOCKS = YES; 444 | INFOPLIST_FILE = "Target Support Files/Pods-FLNiceSpinner_Tests/Info.plist"; 445 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 446 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 447 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 448 | MACH_O_TYPE = staticlib; 449 | MODULEMAP_FILE = "Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.modulemap"; 450 | MTL_ENABLE_DEBUG_INFO = YES; 451 | OTHER_LDFLAGS = ""; 452 | OTHER_LIBTOOLFLAGS = ""; 453 | PODS_ROOT = "$(SRCROOT)"; 454 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 455 | PRODUCT_NAME = Pods_FLNiceSpinner_Tests; 456 | SDKROOT = iphoneos; 457 | SKIP_INSTALL = YES; 458 | TARGETED_DEVICE_FAMILY = "1,2"; 459 | VERSIONING_SYSTEM = "apple-generic"; 460 | VERSION_INFO_PREFIX = ""; 461 | }; 462 | name = Debug; 463 | }; 464 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */ = { 465 | isa = XCBuildConfiguration; 466 | buildSettings = { 467 | ALWAYS_SEARCH_USER_PATHS = NO; 468 | CLANG_ANALYZER_NONNULL = YES; 469 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 470 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 471 | CLANG_CXX_LIBRARY = "libc++"; 472 | CLANG_ENABLE_MODULES = YES; 473 | CLANG_ENABLE_OBJC_ARC = YES; 474 | CLANG_WARN_BOOL_CONVERSION = YES; 475 | CLANG_WARN_CONSTANT_CONVERSION = YES; 476 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 477 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 478 | CLANG_WARN_EMPTY_BODY = YES; 479 | CLANG_WARN_ENUM_CONVERSION = YES; 480 | CLANG_WARN_INFINITE_RECURSION = YES; 481 | CLANG_WARN_INT_CONVERSION = YES; 482 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 483 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 484 | CLANG_WARN_UNREACHABLE_CODE = YES; 485 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 486 | CODE_SIGNING_REQUIRED = NO; 487 | COPY_PHASE_STRIP = YES; 488 | ENABLE_NS_ASSERTIONS = NO; 489 | GCC_C_LANGUAGE_STANDARD = gnu99; 490 | GCC_PREPROCESSOR_DEFINITIONS = ( 491 | "POD_CONFIGURATION_RELEASE=1", 492 | "$(inherited)", 493 | ); 494 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 495 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 496 | GCC_WARN_UNDECLARED_SELECTOR = YES; 497 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 498 | GCC_WARN_UNUSED_FUNCTION = YES; 499 | GCC_WARN_UNUSED_VARIABLE = YES; 500 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 501 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 502 | STRIP_INSTALLED_PRODUCT = NO; 503 | SYMROOT = "${SRCROOT}/../build"; 504 | VALIDATE_PRODUCT = YES; 505 | }; 506 | name = Release; 507 | }; 508 | 1D0240353877C6A76DF43BD1AF1B587E /* Release */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = 3AFC7B45578278CCF78D433E80CAB2C7 /* Pods-FLNiceSpinner_Example.release.xcconfig */; 511 | buildSettings = { 512 | CODE_SIGN_IDENTITY = ""; 513 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 514 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 515 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 516 | CURRENT_PROJECT_VERSION = 1; 517 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 518 | DEFINES_MODULE = YES; 519 | DYLIB_COMPATIBILITY_VERSION = 1; 520 | DYLIB_CURRENT_VERSION = 1; 521 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 522 | ENABLE_STRICT_OBJC_MSGSEND = YES; 523 | GCC_NO_COMMON_BLOCKS = YES; 524 | INFOPLIST_FILE = "Target Support Files/Pods-FLNiceSpinner_Example/Info.plist"; 525 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 526 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 527 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 528 | MACH_O_TYPE = staticlib; 529 | MODULEMAP_FILE = "Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.modulemap"; 530 | MTL_ENABLE_DEBUG_INFO = NO; 531 | OTHER_LDFLAGS = ""; 532 | OTHER_LIBTOOLFLAGS = ""; 533 | PODS_ROOT = "$(SRCROOT)"; 534 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 535 | PRODUCT_NAME = Pods_FLNiceSpinner_Example; 536 | SDKROOT = iphoneos; 537 | SKIP_INSTALL = YES; 538 | TARGETED_DEVICE_FAMILY = "1,2"; 539 | VERSIONING_SYSTEM = "apple-generic"; 540 | VERSION_INFO_PREFIX = ""; 541 | }; 542 | name = Release; 543 | }; 544 | 7F2B5879EC69386BABAFB10EFE8CE816 /* Release */ = { 545 | isa = XCBuildConfiguration; 546 | baseConfigurationReference = 242DBEEF1BA0464BD564F7DA36AD4CF1 /* Pods-FLNiceSpinner_Tests.release.xcconfig */; 547 | buildSettings = { 548 | CODE_SIGN_IDENTITY = ""; 549 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 550 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 552 | CURRENT_PROJECT_VERSION = 1; 553 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 554 | DEFINES_MODULE = YES; 555 | DYLIB_COMPATIBILITY_VERSION = 1; 556 | DYLIB_CURRENT_VERSION = 1; 557 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 558 | ENABLE_STRICT_OBJC_MSGSEND = YES; 559 | GCC_NO_COMMON_BLOCKS = YES; 560 | INFOPLIST_FILE = "Target Support Files/Pods-FLNiceSpinner_Tests/Info.plist"; 561 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 562 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 563 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 564 | MACH_O_TYPE = staticlib; 565 | MODULEMAP_FILE = "Target Support Files/Pods-FLNiceSpinner_Tests/Pods-FLNiceSpinner_Tests.modulemap"; 566 | MTL_ENABLE_DEBUG_INFO = NO; 567 | OTHER_LDFLAGS = ""; 568 | OTHER_LIBTOOLFLAGS = ""; 569 | PODS_ROOT = "$(SRCROOT)"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 571 | PRODUCT_NAME = Pods_FLNiceSpinner_Tests; 572 | SDKROOT = iphoneos; 573 | SKIP_INSTALL = YES; 574 | TARGETED_DEVICE_FAMILY = "1,2"; 575 | VERSIONING_SYSTEM = "apple-generic"; 576 | VERSION_INFO_PREFIX = ""; 577 | }; 578 | name = Release; 579 | }; 580 | 897C133DF4DCEAF849FF21A232627F4D /* Release */ = { 581 | isa = XCBuildConfiguration; 582 | baseConfigurationReference = 1EB9849F69A1889A5E96C39367580A69 /* FLNiceSpinner.xcconfig */; 583 | buildSettings = { 584 | CODE_SIGN_IDENTITY = ""; 585 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 586 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 587 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 588 | CURRENT_PROJECT_VERSION = 1; 589 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 590 | DEFINES_MODULE = YES; 591 | DYLIB_COMPATIBILITY_VERSION = 1; 592 | DYLIB_CURRENT_VERSION = 1; 593 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 594 | ENABLE_STRICT_OBJC_MSGSEND = YES; 595 | GCC_NO_COMMON_BLOCKS = YES; 596 | GCC_PREFIX_HEADER = "Target Support Files/FLNiceSpinner/FLNiceSpinner-prefix.pch"; 597 | INFOPLIST_FILE = "Target Support Files/FLNiceSpinner/Info.plist"; 598 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 599 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 600 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 601 | MODULEMAP_FILE = "Target Support Files/FLNiceSpinner/FLNiceSpinner.modulemap"; 602 | MTL_ENABLE_DEBUG_INFO = NO; 603 | PRODUCT_NAME = FLNiceSpinner; 604 | SDKROOT = iphoneos; 605 | SKIP_INSTALL = YES; 606 | TARGETED_DEVICE_FAMILY = "1,2"; 607 | VERSIONING_SYSTEM = "apple-generic"; 608 | VERSION_INFO_PREFIX = ""; 609 | }; 610 | name = Release; 611 | }; 612 | A77D54FFB19C6527D4177B1585BC1D64 /* Debug */ = { 613 | isa = XCBuildConfiguration; 614 | baseConfigurationReference = 1EB9849F69A1889A5E96C39367580A69 /* FLNiceSpinner.xcconfig */; 615 | buildSettings = { 616 | CODE_SIGN_IDENTITY = ""; 617 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 618 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 619 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 620 | CURRENT_PROJECT_VERSION = 1; 621 | DEBUG_INFORMATION_FORMAT = dwarf; 622 | DEFINES_MODULE = YES; 623 | DYLIB_COMPATIBILITY_VERSION = 1; 624 | DYLIB_CURRENT_VERSION = 1; 625 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 626 | ENABLE_STRICT_OBJC_MSGSEND = YES; 627 | GCC_NO_COMMON_BLOCKS = YES; 628 | GCC_PREFIX_HEADER = "Target Support Files/FLNiceSpinner/FLNiceSpinner-prefix.pch"; 629 | INFOPLIST_FILE = "Target Support Files/FLNiceSpinner/Info.plist"; 630 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 631 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 632 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 633 | MODULEMAP_FILE = "Target Support Files/FLNiceSpinner/FLNiceSpinner.modulemap"; 634 | MTL_ENABLE_DEBUG_INFO = YES; 635 | PRODUCT_NAME = FLNiceSpinner; 636 | SDKROOT = iphoneos; 637 | SKIP_INSTALL = YES; 638 | TARGETED_DEVICE_FAMILY = "1,2"; 639 | VERSIONING_SYSTEM = "apple-generic"; 640 | VERSION_INFO_PREFIX = ""; 641 | }; 642 | name = Debug; 643 | }; 644 | D596C6A46D4B3F867DB1AFB6F69FBD60 /* Debug */ = { 645 | isa = XCBuildConfiguration; 646 | baseConfigurationReference = 64BABE3B5702D1EC3D7467E1D0E19A22 /* Pods-FLNiceSpinner_Example.debug.xcconfig */; 647 | buildSettings = { 648 | CODE_SIGN_IDENTITY = ""; 649 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 650 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 651 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 652 | CURRENT_PROJECT_VERSION = 1; 653 | DEBUG_INFORMATION_FORMAT = dwarf; 654 | DEFINES_MODULE = YES; 655 | DYLIB_COMPATIBILITY_VERSION = 1; 656 | DYLIB_CURRENT_VERSION = 1; 657 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 658 | ENABLE_STRICT_OBJC_MSGSEND = YES; 659 | GCC_NO_COMMON_BLOCKS = YES; 660 | INFOPLIST_FILE = "Target Support Files/Pods-FLNiceSpinner_Example/Info.plist"; 661 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 662 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 663 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 664 | MACH_O_TYPE = staticlib; 665 | MODULEMAP_FILE = "Target Support Files/Pods-FLNiceSpinner_Example/Pods-FLNiceSpinner_Example.modulemap"; 666 | MTL_ENABLE_DEBUG_INFO = YES; 667 | OTHER_LDFLAGS = ""; 668 | OTHER_LIBTOOLFLAGS = ""; 669 | PODS_ROOT = "$(SRCROOT)"; 670 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 671 | PRODUCT_NAME = Pods_FLNiceSpinner_Example; 672 | SDKROOT = iphoneos; 673 | SKIP_INSTALL = YES; 674 | TARGETED_DEVICE_FAMILY = "1,2"; 675 | VERSIONING_SYSTEM = "apple-generic"; 676 | VERSION_INFO_PREFIX = ""; 677 | }; 678 | name = Debug; 679 | }; 680 | D7B1487F48E36BAD2CEF0AFCA4908B67 /* Debug */ = { 681 | isa = XCBuildConfiguration; 682 | buildSettings = { 683 | ALWAYS_SEARCH_USER_PATHS = NO; 684 | CLANG_ANALYZER_NONNULL = YES; 685 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 686 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 687 | CLANG_CXX_LIBRARY = "libc++"; 688 | CLANG_ENABLE_MODULES = YES; 689 | CLANG_ENABLE_OBJC_ARC = YES; 690 | CLANG_WARN_BOOL_CONVERSION = YES; 691 | CLANG_WARN_CONSTANT_CONVERSION = YES; 692 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 693 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 694 | CLANG_WARN_EMPTY_BODY = YES; 695 | CLANG_WARN_ENUM_CONVERSION = YES; 696 | CLANG_WARN_INFINITE_RECURSION = YES; 697 | CLANG_WARN_INT_CONVERSION = YES; 698 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 699 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 700 | CLANG_WARN_UNREACHABLE_CODE = YES; 701 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 702 | CODE_SIGNING_REQUIRED = NO; 703 | COPY_PHASE_STRIP = NO; 704 | ENABLE_TESTABILITY = YES; 705 | GCC_C_LANGUAGE_STANDARD = gnu99; 706 | GCC_DYNAMIC_NO_PIC = NO; 707 | GCC_OPTIMIZATION_LEVEL = 0; 708 | GCC_PREPROCESSOR_DEFINITIONS = ( 709 | "POD_CONFIGURATION_DEBUG=1", 710 | "DEBUG=1", 711 | "$(inherited)", 712 | ); 713 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 714 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 715 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 716 | GCC_WARN_UNDECLARED_SELECTOR = YES; 717 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 718 | GCC_WARN_UNUSED_FUNCTION = YES; 719 | GCC_WARN_UNUSED_VARIABLE = YES; 720 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 721 | ONLY_ACTIVE_ARCH = YES; 722 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 723 | STRIP_INSTALLED_PRODUCT = NO; 724 | SYMROOT = "${SRCROOT}/../build"; 725 | }; 726 | name = Debug; 727 | }; 728 | /* End XCBuildConfiguration section */ 729 | 730 | /* Begin XCConfigurationList section */ 731 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 732 | isa = XCConfigurationList; 733 | buildConfigurations = ( 734 | D7B1487F48E36BAD2CEF0AFCA4908B67 /* Debug */, 735 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */, 736 | ); 737 | defaultConfigurationIsVisible = 0; 738 | defaultConfigurationName = Release; 739 | }; 740 | 3A072AD2A514411FE2E6E48DA58D9CCE /* Build configuration list for PBXNativeTarget "Pods-FLNiceSpinner_Example" */ = { 741 | isa = XCConfigurationList; 742 | buildConfigurations = ( 743 | D596C6A46D4B3F867DB1AFB6F69FBD60 /* Debug */, 744 | 1D0240353877C6A76DF43BD1AF1B587E /* Release */, 745 | ); 746 | defaultConfigurationIsVisible = 0; 747 | defaultConfigurationName = Release; 748 | }; 749 | 986A9BA58AFE703EEE004FBCA2C407AF /* Build configuration list for PBXNativeTarget "Pods-FLNiceSpinner_Tests" */ = { 750 | isa = XCConfigurationList; 751 | buildConfigurations = ( 752 | 022A7A4C1EFE035DC9CE0C8C02FA02A6 /* Debug */, 753 | 7F2B5879EC69386BABAFB10EFE8CE816 /* Release */, 754 | ); 755 | defaultConfigurationIsVisible = 0; 756 | defaultConfigurationName = Release; 757 | }; 758 | EA4320072A3765F75AA27593B168EB8D /* Build configuration list for PBXNativeTarget "FLNiceSpinner" */ = { 759 | isa = XCConfigurationList; 760 | buildConfigurations = ( 761 | A77D54FFB19C6527D4177B1585BC1D64 /* Debug */, 762 | 897C133DF4DCEAF849FF21A232627F4D /* Release */, 763 | ); 764 | defaultConfigurationIsVisible = 0; 765 | defaultConfigurationName = Release; 766 | }; 767 | /* End XCConfigurationList section */ 768 | }; 769 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 770 | } 771 | --------------------------------------------------------------------------------