├── MMTabBarAnimation ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── ImageAnimateLayer.swift │ ├── UIViewExtension.swift │ ├── MMTabBarAnimateController.swift │ └── AnimateItem.swift ├── .swift-version ├── _Pods.xcodeproj ├── demoGood.gif ├── Example ├── Pods │ ├── Target Support Files │ │ ├── MMTabBarAnimation │ │ │ ├── MMTabBarAnimation-prefix.pch │ │ │ ├── MMTabBarAnimation.modulemap │ │ │ ├── MMTabBarAnimation-dummy.m │ │ │ ├── MMTabBarAnimation-umbrella.h │ │ │ ├── MMTabBarAnimation.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-MMTabBarAnimation_Tests │ │ │ ├── Pods-MMTabBarAnimation_Tests-acknowledgements.markdown │ │ │ ├── Pods-MMTabBarAnimation_Tests.modulemap │ │ │ ├── Pods-MMTabBarAnimation_Tests-dummy.m │ │ │ ├── Pods-MMTabBarAnimation_Tests-umbrella.h │ │ │ ├── Pods-MMTabBarAnimation_Tests.debug.xcconfig │ │ │ ├── Pods-MMTabBarAnimation_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-MMTabBarAnimation_Tests-acknowledgements.plist │ │ │ ├── Pods-MMTabBarAnimation_Tests-frameworks.sh │ │ │ └── Pods-MMTabBarAnimation_Tests-resources.sh │ │ └── Pods-MMTabBarAnimation_Example │ │ │ ├── Pods-MMTabBarAnimation_Example.modulemap │ │ │ ├── Pods-MMTabBarAnimation_Example-dummy.m │ │ │ ├── Pods-MMTabBarAnimation_Example-umbrella.h │ │ │ ├── Pods-MMTabBarAnimation_Example.debug.xcconfig │ │ │ ├── Pods-MMTabBarAnimation_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-MMTabBarAnimation_Example-acknowledgements.markdown │ │ │ ├── Pods-MMTabBarAnimation_Example-acknowledgements.plist │ │ │ ├── Pods-MMTabBarAnimation_Example-frameworks.sh │ │ │ └── Pods-MMTabBarAnimation_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── MMTabBarAnimation.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── MMTabBarAnimation │ ├── Images.xcassets │ │ ├── icon_tab_home_on.imageset │ │ │ ├── icon_tab_home_on.png │ │ │ ├── icon_tab_home_on@2x.png │ │ │ ├── icon_tab_home_on@3x.png │ │ │ └── Contents.json │ │ ├── icon_tab_home_off.imageset │ │ │ ├── icon_tab_home_off.png │ │ │ ├── icon_tab_home_off@2x.png │ │ │ ├── icon_tab_home_off@3x.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── ViewController.swift │ ├── TabController │ │ ├── ViewController5.swift │ │ ├── ViewController2.swift │ │ ├── ViewController4.swift │ │ ├── ViewController3.swift │ │ └── ViewController1.swift │ ├── Info.plist │ ├── BaseTabBarViewController.swift │ ├── AppDelegate.swift │ └── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard ├── Podfile ├── MMTabBarAnimation.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── MMTabBarAnimation-Example.xcscheme │ └── project.pbxproj ├── MMTabBarAnimation.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── LICENSE ├── MMTabBarAnimation.podspec └── README.md /MMTabBarAnimation/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0-GM-CANDIDATE 2 | -------------------------------------------------------------------------------- /MMTabBarAnimation/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /demoGood.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/demoGood.gif -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/MMTabBarAnimation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/MMTabBarAnimation.modulemap: -------------------------------------------------------------------------------- 1 | framework module MMTabBarAnimation { 2 | umbrella header "MMTabBarAnimation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/MMTabBarAnimation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MMTabBarAnimation : NSObject 3 | @end 4 | @implementation PodsDummy_MMTabBarAnimation 5 | @end 6 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off.png -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off@2x.png -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/icon_tab_home_off@3x.png -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on@2x.png -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MillmanY/MMTabBarAnimation/HEAD/Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/icon_tab_home_on@3x.png -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'MMTabBarAnimation_Example' do 4 | pod 'MMTabBarAnimation', :path => '../' 5 | 6 | target 'MMTabBarAnimation_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_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/MMTabBarAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MMTabBarAnimation_Tests { 2 | umbrella header "Pods-MMTabBarAnimation_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MMTabBarAnimation_Example { 2 | umbrella header "Pods-MMTabBarAnimation_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MMTabBarAnimation_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MMTabBarAnimation_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MMTabBarAnimation_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MMTabBarAnimation_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/MMTabBarAnimation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double MMTabBarAnimationVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char MMTabBarAnimationVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double Pods_MMTabBarAnimation_TestsVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char Pods_MMTabBarAnimation_TestsVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double Pods_MMTabBarAnimation_ExampleVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char Pods_MMTabBarAnimation_ExampleVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MMTabBarAnimation (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MMTabBarAnimation (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MMTabBarAnimation: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MMTabBarAnimation: a7ca207ee8e94ebaced42cfd85dd2f98796960eb 13 | 14 | PODFILE CHECKSUM: e3deec639a90cd6e74abf19ab386a423784b445a 15 | 16 | COCOAPODS: 1.1.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MMTabBarAnimation (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MMTabBarAnimation (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MMTabBarAnimation: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MMTabBarAnimation: a7ca207ee8e94ebaced42cfd85dd2f98796960eb 13 | 14 | PODFILE CHECKSUM: e3deec639a90cd6e74abf19ab386a423784b445a 15 | 16 | COCOAPODS: 1.1.1 17 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_on.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_tab_home_on.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_tab_home_on@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "icon_tab_home_on@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Images.xcassets/icon_tab_home_off.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_tab_home_off.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_tab_home_off@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "icon_tab_home_off@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /.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 -workspace Example/MMTabBarAnimation.xcworkspace -scheme MMTabBarAnimation-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/MMTabBarAnimation.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 12/17/2016. 6 | // Copyright (c) 2016 Millman YANG. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation/MMTabBarAnimation.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation/MMTabBarAnimation.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/MMTabBarAnimation.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MMTabBarAnimation", 3 | "version": "0.1.0", 4 | "summary": "A short description of MMTabBarAnimation.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com//MMTabBarAnimation", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Millman YANG": "millmanyang@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com//MMTabBarAnimation.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "MMTabBarAnimation/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /.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/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation/MMTabBarAnimation.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "MMTabBarAnimation" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MMTabBarAnimation/MMTabBarAnimation.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "MMTabBarAnimation" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import MMTabBarAnimation 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MMTabBarAnimation/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_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-MMTabBarAnimation_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/MMTabBarAnimation/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 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/TabController/ViewController5.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController5.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController5: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 30 | // Get the new view controller using segue.destinationViewController. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | } 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Millman YANG 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/MMTabBarAnimation/TabController/ViewController2.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController2.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MMTabBarAnimation 11 | class ViewController2: UIViewController { 12 | var idx = 0 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | @IBAction func addBadgeAction() { 20 | if let item = self.tabBarController?.tabBar.items?[1] { 21 | item.badgeValue = "\(idx)" 22 | idx += 1 23 | } 24 | } 25 | 26 | override func didReceiveMemoryWarning() { 27 | super.didReceiveMemoryWarning() 28 | // Dispose of any resources that can be recreated. 29 | } 30 | 31 | 32 | /* 33 | // MARK: - Navigation 34 | 35 | // In a storyboard-based application, you will often want to do a little preparation before navigation 36 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 37 | // Get the new view controller using segue.destinationViewController. 38 | // Pass the selected object to the new view controller. 39 | } 40 | */ 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/TabController/ViewController4.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController4.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MMTabBarAnimation 11 | 12 | class ViewController4: UIViewController { 13 | var idx = 0 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | // Do any additional setup after loading the view. 18 | } 19 | 20 | override func didReceiveMemoryWarning() { 21 | super.didReceiveMemoryWarning() 22 | // Dispose of any resources that can be recreated. 23 | } 24 | 25 | 26 | @IBAction func addBadgeAction() { 27 | if let item = self.tabBarController?.tabBar.items?[3] { 28 | item.badgeValue = "\(idx)" 29 | idx += 1 30 | } 31 | } 32 | 33 | /* 34 | // MARK: - Navigation 35 | 36 | // In a storyboard-based application, you will often want to do a little preparation before navigation 37 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 38 | // Get the new view controller using segue.destinationViewController. 39 | // Pass the selected object to the new view controller. 40 | } 41 | */ 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/TabController/ViewController3.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController3.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MMTabBarAnimation 11 | class ViewController3: UIViewController { 12 | var idx = 0 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | @IBAction func addBadgeAction() { 20 | if let item = self.tabBarController?.tabBar.items?[2] { 21 | item.badgeValue = "\(idx)" 22 | idx += 1 23 | } 24 | } 25 | 26 | 27 | override func didReceiveMemoryWarning() { 28 | super.didReceiveMemoryWarning() 29 | // Dispose of any resources that can be recreated. 30 | } 31 | 32 | 33 | /* 34 | // MARK: - Navigation 35 | 36 | // In a storyboard-based application, you will often want to do a little preparation before navigation 37 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 38 | // Get the new view controller using segue.destinationViewController. 39 | // Pass the selected object to the new view controller. 40 | } 41 | */ 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/TabController/ViewController1.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController1.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MMTabBarAnimation 11 | class ViewController1: UIViewController { 12 | var idx = 0 13 | @IBOutlet weak var btnBadge:UIButton! 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | @IBAction func addBadgeAction() { 20 | if let item = self.tabBarController?.tabBar.items?[0] { 21 | item.badgeValue = "\(idx)" 22 | idx += 1 23 | } 24 | } 25 | 26 | override func didReceiveMemoryWarning() { 27 | super.didReceiveMemoryWarning() 28 | // Dispose of any resources that can be recreated. 29 | } 30 | 31 | 32 | /* 33 | // MARK: - Navigation 34 | 35 | // In a storyboard-based application, you will often want to do a little preparation before navigation 36 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 37 | // Get the new view controller using segue.destinationViewController. 38 | // Pass the selected object to the new view controller. 39 | } 40 | */ 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## MMTabBarAnimation 5 | 6 | Copyright (c) 2016 Millman YANG 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 | -------------------------------------------------------------------------------- /MMTabBarAnimation.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint MMTabBarAnimation.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'MMTabBarAnimation' 11 | s.version = '0.2.9' 12 | s.summary = 'Custom TabBar Animation' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = 'Custom Animation on tabBar Item' 21 | 22 | s.homepage = 'https://github.com/MillmanY/MMTabBarAnimation' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'Millman YANG' => 'millmanyang@gmail.com' } 26 | s.source = { :git => 'https://github.com/MillmanY/MMTabBarAnimation.git', :tag => s.version.to_s } 27 | # s.social_media_url = 'https://twitter.com/' 28 | 29 | s.ios.deployment_target = '8.0' 30 | 31 | s.source_files = 'MMTabBarAnimation/Classes/**/*' 32 | 33 | # s.resource_bundles = { 34 | # 'MMTabBarAnimation' => ['MMTabBarAnimation/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /MMTabBarAnimation/Classes/ImageAnimateLayer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ImageAnimateLayer.swift 3 | // Pods 4 | // 5 | // Created by Millman YANG on 2016/12/20. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | class ImageAnimateLayer: CAShapeLayer { 12 | var selectImage:UIImage? { 13 | didSet { 14 | self.contents = selectImage?.cgImage 15 | } 16 | } 17 | 18 | func animate(show:Bool , duration:TimeInterval) { 19 | let animate = CABasicAnimation.init(keyPath: "transform.scale") 20 | animate.timingFunction = CAMediaTimingFunction.init(name: kCAMediaTimingFunctionEaseOut) 21 | animate.duration = duration 22 | animate.fromValue = show ? 0.0 : 1.2 23 | animate.toValue = show ? 1.2 : 0.0 24 | animate.isRemovedOnCompletion = false 25 | animate.delegate = self 26 | animate.fillMode = kCAFillModeBoth 27 | self.mask = generateMask() 28 | self.mask?.add(animate, forKey: "Scale") 29 | } 30 | 31 | func generateMask() -> CAShapeLayer { 32 | let rect = self.bounds.insetBy(dx: 0, dy: 0) 33 | let maxValue = max(rect.width, rect.height) 34 | let bezier = UIBezierPath.init(ovalIn: rect) 35 | 36 | let mask = CAShapeLayer() 37 | mask.cornerRadius = maxValue/2 38 | // mask.anchorPoint = CGPoint(x: 0.0, y: 1.0) 39 | mask.path = bezier.cgPath 40 | mask.frame = self.bounds 41 | mask.strokeColor = UIColor.clear.cgColor 42 | mask.fillColor = UIColor.red.cgColor 43 | mask.masksToBounds = true 44 | return mask 45 | } 46 | } 47 | 48 | extension ImageAnimateLayer : CAAnimationDelegate { 49 | public func animationDidStop(_ anim: CAAnimation, finished flag: Bool) { 50 | 51 | } 52 | 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/BaseTabBarViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BaseTabBarViewController.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MMTabBarAnimation 11 | class BaseTabBarViewController: MMTabBarAnimateController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // .iconExpand type dont set select Image or you will not animation 16 | super.setAnimate(index: 0, animate: .iconExpand(image: #imageLiteral(resourceName: "icon_tab_home_on")), duration: 0.2) 17 | 18 | super.setAnimate(index: 1, animate: .icon(type: .rotation(type: .left))) 19 | super.setAnimate(index: 2, animate: .icon(type: .scale(rate: 1.2))) 20 | super.setAnimate(index: 3, animate: .label(type: .shake)) 21 | super.setAnimate(index: 4, animate: .icon(type: .jump)) 22 | 23 | super.setBadgeAnimate(index: 0, animate: .jump) 24 | super.setBadgeAnimate(index: 1, animate: .rotation(type: .left)) 25 | super.setBadgeAnimate(index: 2, animate: .scale(rate: 1.2)) 26 | super.setBadgeAnimate(index: 3, animate: .shake) 27 | } 28 | 29 | override func didReceiveMemoryWarning() { 30 | super.didReceiveMemoryWarning() 31 | // Dispose of any resources that can be recreated. 32 | } 33 | 34 | 35 | /* 36 | // MARK: - Navigation 37 | 38 | // In a storyboard-based application, you will often want to do a little preparation before navigation 39 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 40 | // Get the new view controller using segue.destinationViewController. 41 | // Pass the selected object to the new view controller. 42 | } 43 | */ 44 | 45 | } 46 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // MMTabBarAnimation 4 | // 5 | // Created by Millman YANG on 12/17/2016. 6 | // Copyright (c) 2016 Millman YANG. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_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) 2016 Millman YANG <millmanyang@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | MMTabBarAnimation 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 | -------------------------------------------------------------------------------- /MMTabBarAnimation/Classes/UIViewExtension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewExtension.swift 3 | // TabBarDemo 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 Millman YANG. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum RotationType { 12 | case left 13 | case right 14 | case circle 15 | } 16 | 17 | public struct TabBarAnimate { 18 | internal let view: UIView 19 | var duration:TimeInterval = 0.3 20 | 21 | public func scaleBounce(rate:Float) { 22 | let animation = CAKeyframeAnimation(keyPath: "transform.scale") 23 | animation.duration = duration 24 | animation.values = [1.0,rate,1.1,0.8,1.0] 25 | self.view.layer.add(animation, forKey: "Scale") 26 | } 27 | 28 | public func rotation(type:RotationType) { 29 | switch type { 30 | case .left,.right: 31 | let option:UIViewAnimationOptions = (type == .left) ? .transitionFlipFromLeft : .transitionFlipFromRight 32 | UIView.transition(with: self.view, duration: duration, options: option, animations: nil, completion: nil) 33 | case .circle: 34 | self.rotaitonZ() 35 | } 36 | } 37 | 38 | fileprivate func rotaitonZ() { 39 | 40 | let animation = CABasicAnimation(keyPath: "transform.rotation.z") 41 | animation.fromValue = 0.0 42 | animation.toValue = CGFloat(M_PI * 2.0) 43 | animation.duration = duration 44 | animation.isRemovedOnCompletion = false 45 | self.view.layer.add(animation, forKey: "Rotation") 46 | } 47 | 48 | public func shake() { 49 | let animation = CAKeyframeAnimation.init(keyPath: "position.x") 50 | let x = self.view.center.x 51 | animation.values = [(x-3),(x+3),(x-2),(x+2),(x-1),(x+1),(x)] 52 | animation.duration = duration 53 | self.view.layer.add(animation, forKey: "Shake") 54 | } 55 | 56 | public func jumpY() { 57 | let animation = CAKeyframeAnimation.init(keyPath: "position.y") 58 | let y = self.view.center.y 59 | animation.values = [(y-5),(y),(y-3),(y),(y-1),(y)] 60 | animation.duration = duration 61 | self.view.layer.add(animation, forKey: "JumpY") 62 | } 63 | 64 | internal init(view: UIView) { 65 | self.view = view 66 | } 67 | } 68 | 69 | private var animateKey = "TabBarAnimateKey" 70 | extension UIView { 71 | public var animate: TabBarAnimate { 72 | set { 73 | objc_setAssociatedObject(self, &animateKey, newValue, .OBJC_ASSOCIATION_RETAIN) 74 | } get { 75 | if let animate = objc_getAssociatedObject(self, &animateKey) as? TabBarAnimate { 76 | return animate 77 | } else { 78 | self.animate = TabBarAnimate(view: self) 79 | return self.animate 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MMTabBarAnimation 2 | 3 | [![CI Status](http://img.shields.io/travis/Millman YANG/MMTabBarAnimation.svg?style=flat)](https://travis-ci.org/Millman YANG/MMTabBarAnimation) 4 | [![Version](https://img.shields.io/cocoapods/v/MMTabBarAnimation.svg?style=flat)](http://cocoapods.org/pods/MMTabBarAnimation) 5 | [![License](https://img.shields.io/cocoapods/l/MMTabBarAnimation.svg?style=flat)](http://cocoapods.org/pods/MMTabBarAnimation) 6 | [![Platform](https://img.shields.io/cocoapods/p/MMTabBarAnimation.svg?style=flat)](http://cocoapods.org/pods/MMTabBarAnimation) 7 | 8 | ## Demo 9 | 10 | ![demo](https://github.com/MillmanY/MMTabBarAnimation/blob/master/demoGood.gif) 11 | 12 | 13 | 14 | ## Requirements 15 | 16 | iOS 8.0+ 17 | Xcode 8.0+ 18 | Swift 3.0+ 19 | 20 | ## Use 21 | 22 | 1. Inherit MMTabBarAnimation on your TabBarController 23 | class BaseTabBarViewController: MMTabBarAnimateController { 24 | } 25 | 26 | 2. Set function 27 | // Default duration = 0.3 28 | public func setAnimateAllItem(animate: MMTabBarAnimation.ItemAnimateType, duration: TimeInterval) 29 | public func setAnimateAllItem(animate: MMTabBarAnimation.ItemAnimateType) 30 | public func setAnimate(index: Int, animate: MMTabBarAnimation.ItemAnimateType, duration: TimeInterval) 31 | public func setAnimate(index: Int, animate: MMTabBarAnimation.ItemAnimateType) 32 | public func setBadgeAnimate(index: Int, animate: MMTabBarAnimation.AnimateType) 33 | public func setAllBadgeAnimate(animate: MMTabBarAnimation.AnimateType) 34 | 35 | 36 | 3. Choose Animation Type 37 | 38 | public enum AnimateType { 39 | case scale(rate: Float) 40 | case jump 41 | case rotation(type: MMTabBarAnimation.RotationType) // .left .right .circle 42 | case shake 43 | case none // Disable Animation 44 | } 45 | 46 | 4. Choose Animation on which item 47 | 48 | public enum ItemAnimateType { 49 | case content(type: MMTabBarAnimation.AnimateType) // tabBarView 50 | case icon(type: MMTabBarAnimation.AnimateType) // tabBarIcon 51 | case label(type: MMTabBarAnimation.AnimateType) // tabBarTitleLabel 52 | case iconExpand(image: UIImage) // Expand Select Image with Animation (Dont Set selectImage on storyBoard) 53 | } 54 | 55 | ## Example 56 | 57 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 58 | 59 | ## Installation 60 | 61 | MMTabBarAnimation is available through [CocoaPods](http://cocoapods.org). To install 62 | it, simply add the following line to your Podfile: 63 | 64 | ```ruby 65 | pod 'MMTabBarAnimation' 66 | ``` 67 | 68 | ## Author 69 | 70 | Millman YANG, millmanyang@gmail.com 71 | 72 | ## License 73 | 74 | MMTabBarAnimation is available under the MIT license. See the LICENSE file for more info. 75 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_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 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /MMTabBarAnimation/Classes/MMTabBarAnimateController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MMTabBarAnimateController.swift 3 | // Pods 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | open class MMTabBarAnimateController: UITabBarController { 12 | var animateItems = [MMAnimateItem]() 13 | 14 | required public init?(coder aDecoder: NSCoder) { 15 | super.init(coder: aDecoder) 16 | self.initAnimateItem() 17 | self.resetBarItem() 18 | } 19 | 20 | override open var selectedViewController: UIViewController? { 21 | didSet { 22 | if let select = selectedViewController, let currentValue = self.viewControllers?.index(of: select) , 23 | currentValue < animateItems.count { 24 | animateItems[currentValue].animate(isSelect: true) 25 | 26 | if let preSelect = oldValue , let preValue = self.viewControllers?.index(of: preSelect) , 27 | currentValue != preValue , preValue < animateItems.count{ 28 | switch animateItems[preValue].animateType { 29 | case .iconExpand(_): 30 | animateItems[preValue].animate(isSelect: false) 31 | default:break 32 | } 33 | } 34 | } 35 | } 36 | } 37 | 38 | open override func viewDidLayoutSubviews() { 39 | super.viewDidLayoutSubviews() 40 | self.resetBarItem() 41 | } 42 | 43 | public func setAnimateAllItem(animate:ItemAnimateType,duration:TimeInterval) { 44 | animateItems.forEach { (item) in 45 | item.animateType = animate 46 | item.duration = duration 47 | } 48 | } 49 | 50 | public func setAnimateAllItem(animate:ItemAnimateType) { 51 | self.setAnimateAllItem(animate: animate, duration: 0.3) 52 | } 53 | 54 | public func setAnimate(index:Int,animate:ItemAnimateType,duration:TimeInterval) { 55 | if index < animateItems.count { 56 | animateItems[index].animateType = animate 57 | animateItems[index].duration = duration 58 | } else { 59 | print("Out of Range") 60 | } 61 | } 62 | 63 | public func setAnimate(index:Int,animate:ItemAnimateType) { 64 | self.setAnimate(index: index, animate: animate, duration: 0.3) 65 | } 66 | 67 | public func setBadgeAnimate(index:Int,animate:AnimateType) { 68 | if index < animateItems.count { 69 | animateItems[index].badgeAnimateType = animate 70 | } else { 71 | print("Out of Range") 72 | } 73 | } 74 | 75 | public func setAllBadgeAnimate(animate:AnimateType) { 76 | animateItems.forEach { (item) in 77 | item.badgeAnimateType = animate 78 | } 79 | } 80 | } 81 | 82 | //Private 83 | extension MMTabBarAnimateController { 84 | 85 | fileprivate func initAnimateItem() { 86 | tabBar.items?.forEach{ _ in animateItems.append(MMAnimateItem())} 87 | } 88 | 89 | fileprivate func resetBarItem() { 90 | if let classType = NSClassFromString("UITabBarButton") { 91 | 92 | let tabBarSubView = tabBar.subviews.flatMap({ (vi) -> UIView? in 93 | return vi.isKind(of: classType) ? vi : nil 94 | }).sorted(by: { $0.0.frame.origin.x < $0.1.frame.origin.y }) 95 | 96 | tabBarSubView.enumerated().forEach({ (idx,view) in 97 | animateItems[idx].item = tabBar.items?[idx] 98 | animateItems[idx].tabBarView = view 99 | }) 100 | } 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_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 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/MMTabBarAnimation/MMTabBarAnimation.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/MMTabBarAnimation/MMTabBarAnimation.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /MMTabBarAnimation/Classes/AnimateItem.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AnimateItem.swift 3 | // TabBarDemo 4 | // 5 | // Created by Millman YANG on 2016/12/17. 6 | // Copyright © 2016年 Millman YANG. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum AnimateType { 12 | case scale(rate:Float) 13 | case jump 14 | case rotation(type:RotationType) 15 | case shake 16 | case none 17 | } 18 | 19 | public enum ItemAnimateType { 20 | case content(type:AnimateType) 21 | case icon(type:AnimateType) 22 | case label(type:AnimateType) 23 | case iconExpand(image:UIImage) 24 | } 25 | 26 | class MMAnimateItem: NSObject { 27 | 28 | var label:UILabel? 29 | var badgeAnimateType:AnimateType = .none 30 | var animateType:ItemAnimateType = .content(type: .none) 31 | var duration:TimeInterval = 0.3 32 | var badge:UIView? 33 | 34 | var imgAnimateLayer:ImageAnimateLayer = { 35 | let layer = ImageAnimateLayer() 36 | return layer 37 | }() 38 | 39 | var item:UITabBarItem? { 40 | didSet { 41 | self.observerBadge() 42 | } 43 | } 44 | 45 | var icon:UIImageView? { 46 | didSet { 47 | if let i = icon { 48 | imgAnimateLayer.frame = i.bounds 49 | } 50 | } 51 | } 52 | 53 | var tabBarView:UIView? { 54 | didSet { 55 | self.setItem() 56 | } 57 | } 58 | 59 | fileprivate func setItem() { 60 | if let contentImageClass = NSClassFromString("UITabBarSwappableImageView"), 61 | let contentLabelClass = NSClassFromString("UITabBarButtonLabel") { 62 | 63 | tabBarView?.subviews.forEach({ (view) in 64 | if let v = view as? UIImageView , view.isKind(of: contentImageClass) { 65 | icon = v 66 | icon?.layer.addSublayer(imgAnimateLayer) 67 | } else if let v = view as? UILabel, view.isKind(of: contentLabelClass) { 68 | label = v 69 | } else if let _ = NSClassFromString("_UIBadgeView") { 70 | badge = view 71 | } 72 | }) 73 | } 74 | } 75 | 76 | fileprivate func observerBadge() { 77 | if let barItem = self.item , barItem.observationInfo == nil{ 78 | barItem.addObserver(self, forKeyPath: "badgeValue", options: .new, context: nil) 79 | } 80 | } 81 | 82 | func animateBadge(type:AnimateType) { 83 | var delay = 0.0 84 | if badge == nil { 85 | self.setItem() 86 | delay = 0.1 87 | } 88 | 89 | DispatchQueue.main.asyncAfter(deadline: .now() + delay) { 90 | if let badge = self.badge { 91 | self.animateItem(item: badge, type: type) 92 | } 93 | } 94 | } 95 | 96 | func animate(isSelect:Bool) { 97 | self.imgAnimateLayer.selectImage = nil 98 | switch animateType { 99 | case .content(let type): 100 | if let view = tabBarView { 101 | self.animateItem(item: view, type: type) 102 | } 103 | case .icon(let type): 104 | if let i = icon { 105 | self.animateItem(item: i, type: type) 106 | } 107 | case .label(let type): 108 | if let l = label { 109 | self.animateItem(item: l, type: type) 110 | } 111 | case .iconExpand(let image): 112 | self.imgAnimateLayer.selectImage = image 113 | self.imgAnimateLayer.animate(show: isSelect, duration: duration) 114 | break 115 | } 116 | } 117 | 118 | fileprivate func animateItem(item:UIView,type:AnimateType) { 119 | item.animate.duration = duration 120 | switch type { 121 | case .scale(let rate): 122 | item.animate.scaleBounce(rate: rate) 123 | case .jump: 124 | item.animate.jumpY() 125 | case .rotation(let type): 126 | item.animate.rotation(type: type) 127 | case .shake: 128 | item.animate.shake() 129 | case .none: 130 | break 131 | } 132 | } 133 | } 134 | 135 | extension MMAnimateItem { 136 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { 137 | if keyPath == "badgeValue" { 138 | self.animateBadge(type: badgeAnimateType) 139 | } else { 140 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context) 141 | } 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation.xcodeproj/xcshareddata/xcschemes/MMTabBarAnimation-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_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 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | install_resource() 27 | { 28 | if [[ "$1" = /* ]] ; then 29 | RESOURCE_PATH="$1" 30 | else 31 | RESOURCE_PATH="${PODS_ROOT}/$1" 32 | fi 33 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 34 | cat << EOM 35 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 36 | EOM 37 | exit 1 38 | fi 39 | case $RESOURCE_PATH in 40 | *.storyboard) 41 | 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}" 42 | 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} 43 | ;; 44 | *.xib) 45 | 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}" 46 | 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} 47 | ;; 48 | *.framework) 49 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 50 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 51 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 52 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | ;; 54 | *.xcdatamodel) 55 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 56 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 57 | ;; 58 | *.xcdatamodeld) 59 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 60 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 61 | ;; 62 | *.xcmappingmodel) 63 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 64 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 65 | ;; 66 | *.xcassets) 67 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 68 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 69 | ;; 70 | *) 71 | echo "$RESOURCE_PATH" 72 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 73 | ;; 74 | esac 75 | } 76 | 77 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 79 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 80 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | fi 83 | rm -f "$RESOURCES_TO_COPY" 84 | 85 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 86 | then 87 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 88 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 89 | while read line; do 90 | if [[ $line != "${PODS_ROOT}*" ]]; then 91 | XCASSET_FILES+=("$line") 92 | fi 93 | done <<<"$OTHER_XCASSETS" 94 | 95 | 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}" 96 | fi 97 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_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 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | install_resource() 27 | { 28 | if [[ "$1" = /* ]] ; then 29 | RESOURCE_PATH="$1" 30 | else 31 | RESOURCE_PATH="${PODS_ROOT}/$1" 32 | fi 33 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 34 | cat << EOM 35 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 36 | EOM 37 | exit 1 38 | fi 39 | case $RESOURCE_PATH in 40 | *.storyboard) 41 | 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}" 42 | 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} 43 | ;; 44 | *.xib) 45 | 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}" 46 | 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} 47 | ;; 48 | *.framework) 49 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 50 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 51 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 52 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | ;; 54 | *.xcdatamodel) 55 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 56 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 57 | ;; 58 | *.xcdatamodeld) 59 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 60 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 61 | ;; 62 | *.xcmappingmodel) 63 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 64 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 65 | ;; 66 | *.xcassets) 67 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 68 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 69 | ;; 70 | *) 71 | echo "$RESOURCE_PATH" 72 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 73 | ;; 74 | esac 75 | } 76 | 77 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 79 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 80 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | fi 83 | rm -f "$RESOURCES_TO_COPY" 84 | 85 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 86 | then 87 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 88 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 89 | while read line; do 90 | if [[ $line != "${PODS_ROOT}*" ]]; then 91 | XCASSET_FILES+=("$line") 92 | fi 93 | done <<<"$OTHER_XCASSETS" 94 | 95 | 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}" 96 | fi 97 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 31 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 76 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 121 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 198 | 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 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | -------------------------------------------------------------------------------- /Example/MMTabBarAnimation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 5EFEFB311E05708600164961 /* BaseTabBarViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB301E05708600164961 /* BaseTabBarViewController.swift */; }; 11 | 5EFEFB341E0586B000164961 /* ViewController1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB331E0586B000164961 /* ViewController1.swift */; }; 12 | 5EFEFB361E0586B800164961 /* ViewController2.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB351E0586B800164961 /* ViewController2.swift */; }; 13 | 5EFEFB381E0586C000164961 /* ViewController3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB371E0586C000164961 /* ViewController3.swift */; }; 14 | 5EFEFB3A1E0586C600164961 /* ViewController4.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB391E0586C600164961 /* ViewController4.swift */; }; 15 | 5EFEFB3C1E05882700164961 /* ViewController5.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB3B1E05882700164961 /* ViewController5.swift */; }; 16 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 17 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 18 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 19 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 20 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 21 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 22 | 80A21E838E3AC82D531F36B7 /* Pods_MMTabBarAnimation_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B690B7DE20DB0F603FB190F /* Pods_MMTabBarAnimation_Tests.framework */; }; 23 | C95023C84C26E64EA20B1044 /* Pods_MMTabBarAnimation_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E0F471D07B5AEE4BED79C94 /* Pods_MMTabBarAnimation_Example.framework */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 32 | remoteInfo = MMTabBarAnimation; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 1E0F471D07B5AEE4BED79C94 /* Pods_MMTabBarAnimation_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MMTabBarAnimation_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 1E1A676AD094DF8B57E1120C /* Pods-MMTabBarAnimation_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MMTabBarAnimation_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.debug.xcconfig"; sourceTree = ""; }; 39 | 2B690B7DE20DB0F603FB190F /* Pods_MMTabBarAnimation_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MMTabBarAnimation_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 38CFED5A3DBFA22A47D32F15 /* MMTabBarAnimation.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MMTabBarAnimation.podspec; path = ../MMTabBarAnimation.podspec; sourceTree = ""; }; 41 | 3D61664363D52AF8355DB867 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 42 | 5EFEFB301E05708600164961 /* BaseTabBarViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseTabBarViewController.swift; sourceTree = ""; }; 43 | 5EFEFB331E0586B000164961 /* ViewController1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController1.swift; sourceTree = ""; }; 44 | 5EFEFB351E0586B800164961 /* ViewController2.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController2.swift; sourceTree = ""; }; 45 | 5EFEFB371E0586C000164961 /* ViewController3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController3.swift; sourceTree = ""; }; 46 | 5EFEFB391E0586C600164961 /* ViewController4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController4.swift; sourceTree = ""; }; 47 | 5EFEFB3B1E05882700164961 /* ViewController5.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController5.swift; sourceTree = ""; }; 48 | 607FACD01AFB9204008FA782 /* MMTabBarAnimation_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MMTabBarAnimation_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 51 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 52 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 54 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 55 | 607FACE51AFB9204008FA782 /* MMTabBarAnimation_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MMTabBarAnimation_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 58 | 715AA61F6115A3EBBE4C7E59 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 59 | 9331CDFE6B56A69756ED0728 /* Pods-MMTabBarAnimation_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MMTabBarAnimation_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.release.xcconfig"; sourceTree = ""; }; 60 | E58C009B92C3D7DF7D9E8C14 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MMTabBarAnimation_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.release.xcconfig"; sourceTree = ""; }; 61 | E6FC951B22A8E3B43DB95D26 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MMTabBarAnimation_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.debug.xcconfig"; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | C95023C84C26E64EA20B1044 /* Pods_MMTabBarAnimation_Example.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 80A21E838E3AC82D531F36B7 /* Pods_MMTabBarAnimation_Tests.framework in Frameworks */, 78 | ); 79 | runOnlyForDeploymentPostprocessing = 0; 80 | }; 81 | /* End PBXFrameworksBuildPhase section */ 82 | 83 | /* Begin PBXGroup section */ 84 | 5EFEFB321E05869F00164961 /* TabController */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 5EFEFB331E0586B000164961 /* ViewController1.swift */, 88 | 5EFEFB351E0586B800164961 /* ViewController2.swift */, 89 | 5EFEFB371E0586C000164961 /* ViewController3.swift */, 90 | 5EFEFB391E0586C600164961 /* ViewController4.swift */, 91 | 5EFEFB3B1E05882700164961 /* ViewController5.swift */, 92 | ); 93 | path = TabController; 94 | sourceTree = ""; 95 | }; 96 | 607FACC71AFB9204008FA782 = { 97 | isa = PBXGroup; 98 | children = ( 99 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 100 | 607FACD21AFB9204008FA782 /* Example for MMTabBarAnimation */, 101 | 607FACE81AFB9204008FA782 /* Tests */, 102 | 607FACD11AFB9204008FA782 /* Products */, 103 | 85F070DC97B7684085640FAF /* Pods */, 104 | EA597AF6170AFCD1F774F75E /* Frameworks */, 105 | ); 106 | sourceTree = ""; 107 | }; 108 | 607FACD11AFB9204008FA782 /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 607FACD01AFB9204008FA782 /* MMTabBarAnimation_Example.app */, 112 | 607FACE51AFB9204008FA782 /* MMTabBarAnimation_Tests.xctest */, 113 | ); 114 | name = Products; 115 | sourceTree = ""; 116 | }; 117 | 607FACD21AFB9204008FA782 /* Example for MMTabBarAnimation */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 5EFEFB321E05869F00164961 /* TabController */, 121 | 5EFEFB301E05708600164961 /* BaseTabBarViewController.swift */, 122 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 123 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 124 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 125 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 126 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 127 | 607FACD31AFB9204008FA782 /* Supporting Files */, 128 | ); 129 | name = "Example for MMTabBarAnimation"; 130 | path = MMTabBarAnimation; 131 | sourceTree = ""; 132 | }; 133 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACD41AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACE81AFB9204008FA782 /* Tests */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 145 | 607FACE91AFB9204008FA782 /* Supporting Files */, 146 | ); 147 | path = Tests; 148 | sourceTree = ""; 149 | }; 150 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | 607FACEA1AFB9204008FA782 /* Info.plist */, 154 | ); 155 | name = "Supporting Files"; 156 | sourceTree = ""; 157 | }; 158 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 38CFED5A3DBFA22A47D32F15 /* MMTabBarAnimation.podspec */, 162 | 715AA61F6115A3EBBE4C7E59 /* README.md */, 163 | 3D61664363D52AF8355DB867 /* LICENSE */, 164 | ); 165 | name = "Podspec Metadata"; 166 | sourceTree = ""; 167 | }; 168 | 85F070DC97B7684085640FAF /* Pods */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 1E1A676AD094DF8B57E1120C /* Pods-MMTabBarAnimation_Example.debug.xcconfig */, 172 | 9331CDFE6B56A69756ED0728 /* Pods-MMTabBarAnimation_Example.release.xcconfig */, 173 | E6FC951B22A8E3B43DB95D26 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */, 174 | E58C009B92C3D7DF7D9E8C14 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */, 175 | ); 176 | name = Pods; 177 | sourceTree = ""; 178 | }; 179 | EA597AF6170AFCD1F774F75E /* Frameworks */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 1E0F471D07B5AEE4BED79C94 /* Pods_MMTabBarAnimation_Example.framework */, 183 | 2B690B7DE20DB0F603FB190F /* Pods_MMTabBarAnimation_Tests.framework */, 184 | ); 185 | name = Frameworks; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXNativeTarget section */ 191 | 607FACCF1AFB9204008FA782 /* MMTabBarAnimation_Example */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation_Example" */; 194 | buildPhases = ( 195 | 0624B84F9002EC0CF5CD2B35 /* [CP] Check Pods Manifest.lock */, 196 | 607FACCC1AFB9204008FA782 /* Sources */, 197 | 607FACCD1AFB9204008FA782 /* Frameworks */, 198 | 607FACCE1AFB9204008FA782 /* Resources */, 199 | E0F3FFA57A4DA52C0995A6AD /* [CP] Embed Pods Frameworks */, 200 | 087DD6002FEBAA0862BB501E /* [CP] Copy Pods Resources */, 201 | ); 202 | buildRules = ( 203 | ); 204 | dependencies = ( 205 | ); 206 | name = MMTabBarAnimation_Example; 207 | productName = MMTabBarAnimation; 208 | productReference = 607FACD01AFB9204008FA782 /* MMTabBarAnimation_Example.app */; 209 | productType = "com.apple.product-type.application"; 210 | }; 211 | 607FACE41AFB9204008FA782 /* MMTabBarAnimation_Tests */ = { 212 | isa = PBXNativeTarget; 213 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation_Tests" */; 214 | buildPhases = ( 215 | BFF1493604E4E07CA732ADFB /* [CP] Check Pods Manifest.lock */, 216 | 607FACE11AFB9204008FA782 /* Sources */, 217 | 607FACE21AFB9204008FA782 /* Frameworks */, 218 | 607FACE31AFB9204008FA782 /* Resources */, 219 | B335402DF5795E49F316C7CD /* [CP] Embed Pods Frameworks */, 220 | 3FD30A0D6F31EF2CC38C70E8 /* [CP] Copy Pods Resources */, 221 | ); 222 | buildRules = ( 223 | ); 224 | dependencies = ( 225 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 226 | ); 227 | name = MMTabBarAnimation_Tests; 228 | productName = Tests; 229 | productReference = 607FACE51AFB9204008FA782 /* MMTabBarAnimation_Tests.xctest */; 230 | productType = "com.apple.product-type.bundle.unit-test"; 231 | }; 232 | /* End PBXNativeTarget section */ 233 | 234 | /* Begin PBXProject section */ 235 | 607FACC81AFB9204008FA782 /* Project object */ = { 236 | isa = PBXProject; 237 | attributes = { 238 | LastSwiftUpdateCheck = 0720; 239 | LastUpgradeCheck = 0720; 240 | ORGANIZATIONNAME = CocoaPods; 241 | TargetAttributes = { 242 | 607FACCF1AFB9204008FA782 = { 243 | CreatedOnToolsVersion = 6.3.1; 244 | DevelopmentTeam = 864QE7M975; 245 | LastSwiftMigration = 0810; 246 | }; 247 | 607FACE41AFB9204008FA782 = { 248 | CreatedOnToolsVersion = 6.3.1; 249 | DevelopmentTeam = 864QE7M975; 250 | LastSwiftMigration = 0810; 251 | TestTargetID = 607FACCF1AFB9204008FA782; 252 | }; 253 | }; 254 | }; 255 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MMTabBarAnimation" */; 256 | compatibilityVersion = "Xcode 3.2"; 257 | developmentRegion = English; 258 | hasScannedForEncodings = 0; 259 | knownRegions = ( 260 | en, 261 | Base, 262 | ); 263 | mainGroup = 607FACC71AFB9204008FA782; 264 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 265 | projectDirPath = ""; 266 | projectRoot = ""; 267 | targets = ( 268 | 607FACCF1AFB9204008FA782 /* MMTabBarAnimation_Example */, 269 | 607FACE41AFB9204008FA782 /* MMTabBarAnimation_Tests */, 270 | ); 271 | }; 272 | /* End PBXProject section */ 273 | 274 | /* Begin PBXResourcesBuildPhase section */ 275 | 607FACCE1AFB9204008FA782 /* Resources */ = { 276 | isa = PBXResourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 280 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 281 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | }; 285 | 607FACE31AFB9204008FA782 /* Resources */ = { 286 | isa = PBXResourcesBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | ); 290 | runOnlyForDeploymentPostprocessing = 0; 291 | }; 292 | /* End PBXResourcesBuildPhase section */ 293 | 294 | /* Begin PBXShellScriptBuildPhase section */ 295 | 0624B84F9002EC0CF5CD2B35 /* [CP] Check Pods Manifest.lock */ = { 296 | isa = PBXShellScriptBuildPhase; 297 | buildActionMask = 2147483647; 298 | files = ( 299 | ); 300 | inputPaths = ( 301 | ); 302 | name = "[CP] Check Pods Manifest.lock"; 303 | outputPaths = ( 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | shellPath = /bin/sh; 307 | shellScript = "diff \"${PODS_ROOT}/../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"; 308 | showEnvVarsInLog = 0; 309 | }; 310 | 087DD6002FEBAA0862BB501E /* [CP] Copy Pods Resources */ = { 311 | isa = PBXShellScriptBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | ); 315 | inputPaths = ( 316 | ); 317 | name = "[CP] Copy Pods Resources"; 318 | outputPaths = ( 319 | ); 320 | runOnlyForDeploymentPostprocessing = 0; 321 | shellPath = /bin/sh; 322 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example-resources.sh\"\n"; 323 | showEnvVarsInLog = 0; 324 | }; 325 | 3FD30A0D6F31EF2CC38C70E8 /* [CP] Copy Pods Resources */ = { 326 | isa = PBXShellScriptBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | ); 330 | inputPaths = ( 331 | ); 332 | name = "[CP] Copy Pods Resources"; 333 | outputPaths = ( 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | shellPath = /bin/sh; 337 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests-resources.sh\"\n"; 338 | showEnvVarsInLog = 0; 339 | }; 340 | B335402DF5795E49F316C7CD /* [CP] Embed Pods Frameworks */ = { 341 | isa = PBXShellScriptBuildPhase; 342 | buildActionMask = 2147483647; 343 | files = ( 344 | ); 345 | inputPaths = ( 346 | ); 347 | name = "[CP] Embed Pods Frameworks"; 348 | outputPaths = ( 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | shellPath = /bin/sh; 352 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests-frameworks.sh\"\n"; 353 | showEnvVarsInLog = 0; 354 | }; 355 | BFF1493604E4E07CA732ADFB /* [CP] Check Pods Manifest.lock */ = { 356 | isa = PBXShellScriptBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | ); 360 | inputPaths = ( 361 | ); 362 | name = "[CP] Check Pods Manifest.lock"; 363 | outputPaths = ( 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | shellPath = /bin/sh; 367 | shellScript = "diff \"${PODS_ROOT}/../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"; 368 | showEnvVarsInLog = 0; 369 | }; 370 | E0F3FFA57A4DA52C0995A6AD /* [CP] Embed Pods Frameworks */ = { 371 | isa = PBXShellScriptBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | ); 375 | inputPaths = ( 376 | ); 377 | name = "[CP] Embed Pods Frameworks"; 378 | outputPaths = ( 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | shellPath = /bin/sh; 382 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example-frameworks.sh\"\n"; 383 | showEnvVarsInLog = 0; 384 | }; 385 | /* End PBXShellScriptBuildPhase section */ 386 | 387 | /* Begin PBXSourcesBuildPhase section */ 388 | 607FACCC1AFB9204008FA782 /* Sources */ = { 389 | isa = PBXSourcesBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | 5EFEFB361E0586B800164961 /* ViewController2.swift in Sources */, 393 | 5EFEFB3A1E0586C600164961 /* ViewController4.swift in Sources */, 394 | 5EFEFB341E0586B000164961 /* ViewController1.swift in Sources */, 395 | 5EFEFB381E0586C000164961 /* ViewController3.swift in Sources */, 396 | 5EFEFB3C1E05882700164961 /* ViewController5.swift in Sources */, 397 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 398 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 399 | 5EFEFB311E05708600164961 /* BaseTabBarViewController.swift in Sources */, 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | 607FACE11AFB9204008FA782 /* Sources */ = { 404 | isa = PBXSourcesBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | /* End PBXSourcesBuildPhase section */ 412 | 413 | /* Begin PBXTargetDependency section */ 414 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 415 | isa = PBXTargetDependency; 416 | target = 607FACCF1AFB9204008FA782 /* MMTabBarAnimation_Example */; 417 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 418 | }; 419 | /* End PBXTargetDependency section */ 420 | 421 | /* Begin PBXVariantGroup section */ 422 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 423 | isa = PBXVariantGroup; 424 | children = ( 425 | 607FACDA1AFB9204008FA782 /* Base */, 426 | ); 427 | name = Main.storyboard; 428 | sourceTree = ""; 429 | }; 430 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 431 | isa = PBXVariantGroup; 432 | children = ( 433 | 607FACDF1AFB9204008FA782 /* Base */, 434 | ); 435 | name = LaunchScreen.xib; 436 | sourceTree = ""; 437 | }; 438 | /* End PBXVariantGroup section */ 439 | 440 | /* Begin XCBuildConfiguration section */ 441 | 607FACED1AFB9204008FA782 /* Debug */ = { 442 | isa = XCBuildConfiguration; 443 | buildSettings = { 444 | ALWAYS_SEARCH_USER_PATHS = NO; 445 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 446 | CLANG_CXX_LIBRARY = "libc++"; 447 | CLANG_ENABLE_MODULES = YES; 448 | CLANG_ENABLE_OBJC_ARC = YES; 449 | CLANG_WARN_BOOL_CONVERSION = YES; 450 | CLANG_WARN_CONSTANT_CONVERSION = YES; 451 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 452 | CLANG_WARN_EMPTY_BODY = YES; 453 | CLANG_WARN_ENUM_CONVERSION = YES; 454 | CLANG_WARN_INT_CONVERSION = YES; 455 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 456 | CLANG_WARN_UNREACHABLE_CODE = YES; 457 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 458 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 459 | COPY_PHASE_STRIP = NO; 460 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 462 | ENABLE_TESTABILITY = YES; 463 | GCC_C_LANGUAGE_STANDARD = gnu99; 464 | GCC_DYNAMIC_NO_PIC = NO; 465 | GCC_NO_COMMON_BLOCKS = YES; 466 | GCC_OPTIMIZATION_LEVEL = 0; 467 | GCC_PREPROCESSOR_DEFINITIONS = ( 468 | "DEBUG=1", 469 | "$(inherited)", 470 | ); 471 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 472 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 473 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 474 | GCC_WARN_UNDECLARED_SELECTOR = YES; 475 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 476 | GCC_WARN_UNUSED_FUNCTION = YES; 477 | GCC_WARN_UNUSED_VARIABLE = YES; 478 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 479 | MTL_ENABLE_DEBUG_INFO = YES; 480 | ONLY_ACTIVE_ARCH = YES; 481 | SDKROOT = iphoneos; 482 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 483 | }; 484 | name = Debug; 485 | }; 486 | 607FACEE1AFB9204008FA782 /* Release */ = { 487 | isa = XCBuildConfiguration; 488 | buildSettings = { 489 | ALWAYS_SEARCH_USER_PATHS = NO; 490 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 491 | CLANG_CXX_LIBRARY = "libc++"; 492 | CLANG_ENABLE_MODULES = YES; 493 | CLANG_ENABLE_OBJC_ARC = YES; 494 | CLANG_WARN_BOOL_CONVERSION = YES; 495 | CLANG_WARN_CONSTANT_CONVERSION = YES; 496 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 497 | CLANG_WARN_EMPTY_BODY = YES; 498 | CLANG_WARN_ENUM_CONVERSION = YES; 499 | CLANG_WARN_INT_CONVERSION = YES; 500 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 501 | CLANG_WARN_UNREACHABLE_CODE = YES; 502 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 503 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 504 | COPY_PHASE_STRIP = NO; 505 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 506 | ENABLE_NS_ASSERTIONS = NO; 507 | ENABLE_STRICT_OBJC_MSGSEND = YES; 508 | GCC_C_LANGUAGE_STANDARD = gnu99; 509 | GCC_NO_COMMON_BLOCKS = YES; 510 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 511 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 512 | GCC_WARN_UNDECLARED_SELECTOR = YES; 513 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 514 | GCC_WARN_UNUSED_FUNCTION = YES; 515 | GCC_WARN_UNUSED_VARIABLE = YES; 516 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 517 | MTL_ENABLE_DEBUG_INFO = NO; 518 | SDKROOT = iphoneos; 519 | VALIDATE_PRODUCT = YES; 520 | }; 521 | name = Release; 522 | }; 523 | 607FACF01AFB9204008FA782 /* Debug */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = 1E1A676AD094DF8B57E1120C /* Pods-MMTabBarAnimation_Example.debug.xcconfig */; 526 | buildSettings = { 527 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 528 | DEVELOPMENT_TEAM = 864QE7M975; 529 | INFOPLIST_FILE = MMTabBarAnimation/Info.plist; 530 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 532 | MODULE_NAME = ExampleApp; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_VERSION = 3.0; 536 | }; 537 | name = Debug; 538 | }; 539 | 607FACF11AFB9204008FA782 /* Release */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = 9331CDFE6B56A69756ED0728 /* Pods-MMTabBarAnimation_Example.release.xcconfig */; 542 | buildSettings = { 543 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 544 | DEVELOPMENT_TEAM = 864QE7M975; 545 | INFOPLIST_FILE = MMTabBarAnimation/Info.plist; 546 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 547 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 548 | MODULE_NAME = ExampleApp; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | SWIFT_VERSION = 3.0; 552 | }; 553 | name = Release; 554 | }; 555 | 607FACF31AFB9204008FA782 /* Debug */ = { 556 | isa = XCBuildConfiguration; 557 | baseConfigurationReference = E6FC951B22A8E3B43DB95D26 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */; 558 | buildSettings = { 559 | DEVELOPMENT_TEAM = 864QE7M975; 560 | FRAMEWORK_SEARCH_PATHS = ( 561 | "$(SDKROOT)/Developer/Library/Frameworks", 562 | "$(inherited)", 563 | ); 564 | GCC_PREPROCESSOR_DEFINITIONS = ( 565 | "DEBUG=1", 566 | "$(inherited)", 567 | ); 568 | INFOPLIST_FILE = Tests/Info.plist; 569 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 571 | PRODUCT_NAME = "$(TARGET_NAME)"; 572 | SWIFT_VERSION = 3.0; 573 | }; 574 | name = Debug; 575 | }; 576 | 607FACF41AFB9204008FA782 /* Release */ = { 577 | isa = XCBuildConfiguration; 578 | baseConfigurationReference = E58C009B92C3D7DF7D9E8C14 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */; 579 | buildSettings = { 580 | DEVELOPMENT_TEAM = 864QE7M975; 581 | FRAMEWORK_SEARCH_PATHS = ( 582 | "$(SDKROOT)/Developer/Library/Frameworks", 583 | "$(inherited)", 584 | ); 585 | INFOPLIST_FILE = Tests/Info.plist; 586 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 587 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 588 | PRODUCT_NAME = "$(TARGET_NAME)"; 589 | SWIFT_VERSION = 3.0; 590 | }; 591 | name = Release; 592 | }; 593 | /* End XCBuildConfiguration section */ 594 | 595 | /* Begin XCConfigurationList section */ 596 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MMTabBarAnimation" */ = { 597 | isa = XCConfigurationList; 598 | buildConfigurations = ( 599 | 607FACED1AFB9204008FA782 /* Debug */, 600 | 607FACEE1AFB9204008FA782 /* Release */, 601 | ); 602 | defaultConfigurationIsVisible = 0; 603 | defaultConfigurationName = Release; 604 | }; 605 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation_Example" */ = { 606 | isa = XCConfigurationList; 607 | buildConfigurations = ( 608 | 607FACF01AFB9204008FA782 /* Debug */, 609 | 607FACF11AFB9204008FA782 /* Release */, 610 | ); 611 | defaultConfigurationIsVisible = 0; 612 | defaultConfigurationName = Release; 613 | }; 614 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation_Tests" */ = { 615 | isa = XCConfigurationList; 616 | buildConfigurations = ( 617 | 607FACF31AFB9204008FA782 /* Debug */, 618 | 607FACF41AFB9204008FA782 /* Release */, 619 | ); 620 | defaultConfigurationIsVisible = 0; 621 | defaultConfigurationName = Release; 622 | }; 623 | /* End XCConfigurationList section */ 624 | }; 625 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 626 | } 627 | -------------------------------------------------------------------------------- /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 | 44B3C36B73B28B9BE2E018B8D385A356 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 11 | 5EC230841E097A6C00DE3280 /* ImageAnimateLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EC230831E097A6C00DE3280 /* ImageAnimateLayer.swift */; }; 12 | 5EFEFB2B1E056FDF00164961 /* MMTabBarAnimateController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB2A1E056FDF00164961 /* MMTabBarAnimateController.swift */; }; 13 | 5EFEFB2E1E05704D00164961 /* AnimateItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB2C1E05704D00164961 /* AnimateItem.swift */; }; 14 | 5EFEFB2F1E05704D00164961 /* UIViewExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EFEFB2D1E05704D00164961 /* UIViewExtension.swift */; }; 15 | 8C991E88DEDF99549420C8DD4D972CBB /* MMTabBarAnimation-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 897CEB558808622D16F60E9D8EAAFC51 /* MMTabBarAnimation-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | A597F56EC59F376777F8518B4330CFF7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 17 | BB6D448696953E0A723C4FAB0BDD73DF /* MMTabBarAnimation-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3F59F0A8FB05EFFD0E88028F0919A6C5 /* MMTabBarAnimation-dummy.m */; }; 18 | CFEE95456EE37C711E56527E7C7E83DE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 19 | D4DC26FDD207C33480FF6555E1D96A37 /* Pods-MMTabBarAnimation_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9295070D98F07D62DC91FF69170B2586 /* Pods-MMTabBarAnimation_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | DE1525A0B353926D244B95658F29A5FB /* Pods-MMTabBarAnimation_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 591C2C9B48CC177A16FBCF54294DD5E4 /* Pods-MMTabBarAnimation_Example-dummy.m */; }; 21 | E4F3BAC99BDB7CFEFEABB8A19F4F13A7 /* Pods-MMTabBarAnimation_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D3C7FCA28E8917C8753F1402F0CAC268 /* Pods-MMTabBarAnimation_Tests-dummy.m */; }; 22 | FE29372312F2663ECD1508DC9A09625E /* Pods-MMTabBarAnimation_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E3C669F8CF55917A4FC6FB2C5AF7323 /* Pods-MMTabBarAnimation_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | AF3980DFD66013179BB5D0B0C90110BF /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = 2DAC1052F691C38F1208A4FEC080F5D0; 31 | remoteInfo = MMTabBarAnimation; 32 | }; 33 | /* End PBXContainerItemProxy section */ 34 | 35 | /* Begin PBXFileReference section */ 36 | 0E3C669F8CF55917A4FC6FB2C5AF7323 /* Pods-MMTabBarAnimation_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MMTabBarAnimation_Example-umbrella.h"; sourceTree = ""; }; 37 | 17D150ADD5910C0C5DDFBE302F46B80C /* Pods-MMTabBarAnimation_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MMTabBarAnimation_Example-acknowledgements.markdown"; sourceTree = ""; }; 38 | 1B550BD270A66B8085672C16C751266E /* Pods-MMTabBarAnimation_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MMTabBarAnimation_Tests-resources.sh"; sourceTree = ""; }; 39 | 242938F6F29830D65DD3BA2076BF3068 /* Pods-MMTabBarAnimation_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-MMTabBarAnimation_Example.modulemap"; sourceTree = ""; }; 40 | 2782C4DD675196B5221D86744F287EE9 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MMTabBarAnimation_Tests.release.xcconfig"; sourceTree = ""; }; 41 | 285C753B2EECD27230EB333E4A31B064 /* MMTabBarAnimation.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = MMTabBarAnimation.modulemap; sourceTree = ""; }; 42 | 28776BB88EB9C713ADF63FEA61A1C4A3 /* Pods-MMTabBarAnimation_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MMTabBarAnimation_Example-frameworks.sh"; sourceTree = ""; }; 43 | 28D1BF5A6411D24B7B9B6D0566316D3B /* Pods-MMTabBarAnimation_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-MMTabBarAnimation_Tests.modulemap"; sourceTree = ""; }; 44 | 3E280C9203884731FB3E726752B1D608 /* Pods-MMTabBarAnimation_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MMTabBarAnimation_Tests-acknowledgements.markdown"; sourceTree = ""; }; 45 | 3F59F0A8FB05EFFD0E88028F0919A6C5 /* MMTabBarAnimation-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MMTabBarAnimation-dummy.m"; sourceTree = ""; }; 46 | 4D4D07B92CC52F94B8B16EC11C3C7401 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | 55E5418A4C4EAD8986AB9A3E3366F692 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 58D2B7D16B636BC3E76EB05CA192B293 /* Pods-MMTabBarAnimation_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MMTabBarAnimation_Example.debug.xcconfig"; sourceTree = ""; }; 49 | 591C2C9B48CC177A16FBCF54294DD5E4 /* Pods-MMTabBarAnimation_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MMTabBarAnimation_Example-dummy.m"; sourceTree = ""; }; 50 | 5EC230831E097A6C00DE3280 /* ImageAnimateLayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageAnimateLayer.swift; sourceTree = ""; }; 51 | 5EFEFB2A1E056FDF00164961 /* MMTabBarAnimateController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MMTabBarAnimateController.swift; sourceTree = ""; }; 52 | 5EFEFB2C1E05704D00164961 /* AnimateItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnimateItem.swift; sourceTree = ""; }; 53 | 5EFEFB2D1E05704D00164961 /* UIViewExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewExtension.swift; sourceTree = ""; }; 54 | 6178C85F1EB17B568F18CC8557C25185 /* MMTabBarAnimation-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MMTabBarAnimation-prefix.pch"; sourceTree = ""; }; 55 | 61C9C1CEB4716EA1B50EC6EC362D93DD /* Pods-MMTabBarAnimation_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MMTabBarAnimation_Tests-frameworks.sh"; sourceTree = ""; }; 56 | 6DB1204C64B7C6D964CCE74EAF679950 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 83CE15DC2AEBC450939A42D8F8A30199 /* Pods_MMTabBarAnimation_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MMTabBarAnimation_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 86C0B33D74291CAF5A5C78B475C8DC89 /* MMTabBarAnimation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MMTabBarAnimation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 887B5DC97B8CFA082C594CB23B759F94 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MMTabBarAnimation_Tests.debug.xcconfig"; sourceTree = ""; }; 60 | 897CEB558808622D16F60E9D8EAAFC51 /* MMTabBarAnimation-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MMTabBarAnimation-umbrella.h"; sourceTree = ""; }; 61 | 9295070D98F07D62DC91FF69170B2586 /* Pods-MMTabBarAnimation_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MMTabBarAnimation_Tests-umbrella.h"; sourceTree = ""; }; 62 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 63 | AABA51A89E3B326324BD7CAB8CB47D84 /* Pods-MMTabBarAnimation_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MMTabBarAnimation_Example.release.xcconfig"; sourceTree = ""; }; 64 | BA1F4E928402B8FA8CA7EA2A0B17ED56 /* Pods-MMTabBarAnimation_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MMTabBarAnimation_Tests-acknowledgements.plist"; sourceTree = ""; }; 65 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 66 | D3C7FCA28E8917C8753F1402F0CAC268 /* Pods-MMTabBarAnimation_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MMTabBarAnimation_Tests-dummy.m"; sourceTree = ""; }; 67 | E7451654D5596DEEE8935B3D220860E8 /* Pods_MMTabBarAnimation_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MMTabBarAnimation_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | EEBC40D36D978AA05C57245C0F24A652 /* Pods-MMTabBarAnimation_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MMTabBarAnimation_Example-acknowledgements.plist"; sourceTree = ""; }; 69 | F6A08DF41DA5BFDCBC642C17E8411187 /* Pods-MMTabBarAnimation_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MMTabBarAnimation_Example-resources.sh"; sourceTree = ""; }; 70 | FABE159EA28A2A41DF77F7F5DB318BCF /* MMTabBarAnimation.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MMTabBarAnimation.xcconfig; sourceTree = ""; }; 71 | /* End PBXFileReference section */ 72 | 73 | /* Begin PBXFrameworksBuildPhase section */ 74 | 1BFDA088D685C281083801F97B772A85 /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | CFEE95456EE37C711E56527E7C7E83DE /* Foundation.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 9C1BD04F0CD56CF050DC783F6E944CB6 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | A597F56EC59F376777F8518B4330CFF7 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | 9F49A8EDCD4D4C7C55C114F9EE20DB2B /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | 44B3C36B73B28B9BE2E018B8D385A356 /* Foundation.framework in Frameworks */, 95 | ); 96 | runOnlyForDeploymentPostprocessing = 0; 97 | }; 98 | /* End PBXFrameworksBuildPhase section */ 99 | 100 | /* Begin PBXGroup section */ 101 | 4F66FEC8EB69042309FEB744DB4BE90D /* Development Pods */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 58E308C40DB7FDC4C6D03D5193B2C71D /* MMTabBarAnimation */, 105 | ); 106 | name = "Development Pods"; 107 | sourceTree = ""; 108 | }; 109 | 58E308C40DB7FDC4C6D03D5193B2C71D /* MMTabBarAnimation */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | EBB6F12F49C119F6FC9A1F4F735ADBEE /* MMTabBarAnimation */, 113 | 6CF13D71445B41F81D05DCD96AEAFB0E /* Support Files */, 114 | ); 115 | name = MMTabBarAnimation; 116 | path = ../..; 117 | sourceTree = ""; 118 | }; 119 | 6CF13D71445B41F81D05DCD96AEAFB0E /* Support Files */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 55E5418A4C4EAD8986AB9A3E3366F692 /* Info.plist */, 123 | 285C753B2EECD27230EB333E4A31B064 /* MMTabBarAnimation.modulemap */, 124 | FABE159EA28A2A41DF77F7F5DB318BCF /* MMTabBarAnimation.xcconfig */, 125 | 3F59F0A8FB05EFFD0E88028F0919A6C5 /* MMTabBarAnimation-dummy.m */, 126 | 6178C85F1EB17B568F18CC8557C25185 /* MMTabBarAnimation-prefix.pch */, 127 | 897CEB558808622D16F60E9D8EAAFC51 /* MMTabBarAnimation-umbrella.h */, 128 | ); 129 | name = "Support Files"; 130 | path = "Example/Pods/Target Support Files/MMTabBarAnimation"; 131 | sourceTree = ""; 132 | }; 133 | 71DABF03E5367B607D994DB10D8EF6EB /* Classes */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 5EFEFB2C1E05704D00164961 /* AnimateItem.swift */, 137 | 5EFEFB2A1E056FDF00164961 /* MMTabBarAnimateController.swift */, 138 | 5EFEFB2D1E05704D00164961 /* UIViewExtension.swift */, 139 | 5EC230831E097A6C00DE3280 /* ImageAnimateLayer.swift */, 140 | ); 141 | path = Classes; 142 | sourceTree = ""; 143 | }; 144 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 148 | ); 149 | name = iOS; 150 | sourceTree = ""; 151 | }; 152 | 7AEE2CCF99F478F1E723E2F199D5233F /* Pods-MMTabBarAnimation_Tests */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 4D4D07B92CC52F94B8B16EC11C3C7401 /* Info.plist */, 156 | 28D1BF5A6411D24B7B9B6D0566316D3B /* Pods-MMTabBarAnimation_Tests.modulemap */, 157 | 3E280C9203884731FB3E726752B1D608 /* Pods-MMTabBarAnimation_Tests-acknowledgements.markdown */, 158 | BA1F4E928402B8FA8CA7EA2A0B17ED56 /* Pods-MMTabBarAnimation_Tests-acknowledgements.plist */, 159 | D3C7FCA28E8917C8753F1402F0CAC268 /* Pods-MMTabBarAnimation_Tests-dummy.m */, 160 | 61C9C1CEB4716EA1B50EC6EC362D93DD /* Pods-MMTabBarAnimation_Tests-frameworks.sh */, 161 | 1B550BD270A66B8085672C16C751266E /* Pods-MMTabBarAnimation_Tests-resources.sh */, 162 | 9295070D98F07D62DC91FF69170B2586 /* Pods-MMTabBarAnimation_Tests-umbrella.h */, 163 | 887B5DC97B8CFA082C594CB23B759F94 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */, 164 | 2782C4DD675196B5221D86744F287EE9 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */, 165 | ); 166 | name = "Pods-MMTabBarAnimation_Tests"; 167 | path = "Target Support Files/Pods-MMTabBarAnimation_Tests"; 168 | sourceTree = ""; 169 | }; 170 | 7DB346D0F39D3F0E887471402A8071AB = { 171 | isa = PBXGroup; 172 | children = ( 173 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 174 | 4F66FEC8EB69042309FEB744DB4BE90D /* Development Pods */, 175 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 176 | EF0441FFE1525710AA0279E51FD98F1C /* Products */, 177 | 8E06213E9CC05EF6CBF23010780ADD10 /* Targets Support Files */, 178 | ); 179 | sourceTree = ""; 180 | }; 181 | 8E06213E9CC05EF6CBF23010780ADD10 /* Targets Support Files */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | A0A7263EEDA41AF53D4009285CEA724F /* Pods-MMTabBarAnimation_Example */, 185 | 7AEE2CCF99F478F1E723E2F199D5233F /* Pods-MMTabBarAnimation_Tests */, 186 | ); 187 | name = "Targets Support Files"; 188 | sourceTree = ""; 189 | }; 190 | A0A7263EEDA41AF53D4009285CEA724F /* Pods-MMTabBarAnimation_Example */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 6DB1204C64B7C6D964CCE74EAF679950 /* Info.plist */, 194 | 242938F6F29830D65DD3BA2076BF3068 /* Pods-MMTabBarAnimation_Example.modulemap */, 195 | 17D150ADD5910C0C5DDFBE302F46B80C /* Pods-MMTabBarAnimation_Example-acknowledgements.markdown */, 196 | EEBC40D36D978AA05C57245C0F24A652 /* Pods-MMTabBarAnimation_Example-acknowledgements.plist */, 197 | 591C2C9B48CC177A16FBCF54294DD5E4 /* Pods-MMTabBarAnimation_Example-dummy.m */, 198 | 28776BB88EB9C713ADF63FEA61A1C4A3 /* Pods-MMTabBarAnimation_Example-frameworks.sh */, 199 | F6A08DF41DA5BFDCBC642C17E8411187 /* Pods-MMTabBarAnimation_Example-resources.sh */, 200 | 0E3C669F8CF55917A4FC6FB2C5AF7323 /* Pods-MMTabBarAnimation_Example-umbrella.h */, 201 | 58D2B7D16B636BC3E76EB05CA192B293 /* Pods-MMTabBarAnimation_Example.debug.xcconfig */, 202 | AABA51A89E3B326324BD7CAB8CB47D84 /* Pods-MMTabBarAnimation_Example.release.xcconfig */, 203 | ); 204 | name = "Pods-MMTabBarAnimation_Example"; 205 | path = "Target Support Files/Pods-MMTabBarAnimation_Example"; 206 | sourceTree = ""; 207 | }; 208 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 212 | ); 213 | name = Frameworks; 214 | sourceTree = ""; 215 | }; 216 | EBB6F12F49C119F6FC9A1F4F735ADBEE /* MMTabBarAnimation */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | 71DABF03E5367B607D994DB10D8EF6EB /* Classes */, 220 | ); 221 | path = MMTabBarAnimation; 222 | sourceTree = ""; 223 | }; 224 | EF0441FFE1525710AA0279E51FD98F1C /* Products */ = { 225 | isa = PBXGroup; 226 | children = ( 227 | 86C0B33D74291CAF5A5C78B475C8DC89 /* MMTabBarAnimation.framework */, 228 | E7451654D5596DEEE8935B3D220860E8 /* Pods_MMTabBarAnimation_Example.framework */, 229 | 83CE15DC2AEBC450939A42D8F8A30199 /* Pods_MMTabBarAnimation_Tests.framework */, 230 | ); 231 | name = Products; 232 | sourceTree = ""; 233 | }; 234 | /* End PBXGroup section */ 235 | 236 | /* Begin PBXHeadersBuildPhase section */ 237 | 305AF59F51F4727B6BF58C5049E3DC46 /* Headers */ = { 238 | isa = PBXHeadersBuildPhase; 239 | buildActionMask = 2147483647; 240 | files = ( 241 | FE29372312F2663ECD1508DC9A09625E /* Pods-MMTabBarAnimation_Example-umbrella.h in Headers */, 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | 8EC89D34CC8C0373A0F09CB5F2EC113B /* Headers */ = { 246 | isa = PBXHeadersBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | D4DC26FDD207C33480FF6555E1D96A37 /* Pods-MMTabBarAnimation_Tests-umbrella.h in Headers */, 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | }; 253 | E3623F09AA25D82828E24C149DBA22C3 /* Headers */ = { 254 | isa = PBXHeadersBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | 8C991E88DEDF99549420C8DD4D972CBB /* MMTabBarAnimation-umbrella.h in Headers */, 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | }; 261 | /* End PBXHeadersBuildPhase section */ 262 | 263 | /* Begin PBXNativeTarget section */ 264 | 2DAC1052F691C38F1208A4FEC080F5D0 /* MMTabBarAnimation */ = { 265 | isa = PBXNativeTarget; 266 | buildConfigurationList = 5F6C9941C1700DC80D2693EAC55014F5 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation" */; 267 | buildPhases = ( 268 | 05E4BB4B12BE30987FC60B432D214491 /* Sources */, 269 | 9F49A8EDCD4D4C7C55C114F9EE20DB2B /* Frameworks */, 270 | E3623F09AA25D82828E24C149DBA22C3 /* Headers */, 271 | ); 272 | buildRules = ( 273 | ); 274 | dependencies = ( 275 | ); 276 | name = MMTabBarAnimation; 277 | productName = MMTabBarAnimation; 278 | productReference = 86C0B33D74291CAF5A5C78B475C8DC89 /* MMTabBarAnimation.framework */; 279 | productType = "com.apple.product-type.framework"; 280 | }; 281 | BEF623E9F17309960B55CC7D21DAA99B /* Pods-MMTabBarAnimation_Example */ = { 282 | isa = PBXNativeTarget; 283 | buildConfigurationList = 7C63B7E6472D495D9A08E75D606C7D65 /* Build configuration list for PBXNativeTarget "Pods-MMTabBarAnimation_Example" */; 284 | buildPhases = ( 285 | 75D658A9AE63FA2C3511773D6A0D5342 /* Sources */, 286 | 1BFDA088D685C281083801F97B772A85 /* Frameworks */, 287 | 305AF59F51F4727B6BF58C5049E3DC46 /* Headers */, 288 | ); 289 | buildRules = ( 290 | ); 291 | dependencies = ( 292 | 5887461C6982B2FA86B84F2113D221E7 /* PBXTargetDependency */, 293 | ); 294 | name = "Pods-MMTabBarAnimation_Example"; 295 | productName = "Pods-MMTabBarAnimation_Example"; 296 | productReference = E7451654D5596DEEE8935B3D220860E8 /* Pods_MMTabBarAnimation_Example.framework */; 297 | productType = "com.apple.product-type.framework"; 298 | }; 299 | E70424855D94C4B6A680CCEDCE58E52D /* Pods-MMTabBarAnimation_Tests */ = { 300 | isa = PBXNativeTarget; 301 | buildConfigurationList = C3A518009C5867E72ACC23A18F7903F8 /* Build configuration list for PBXNativeTarget "Pods-MMTabBarAnimation_Tests" */; 302 | buildPhases = ( 303 | 25A94EF4D3874C0E65232D713E470C6B /* Sources */, 304 | 9C1BD04F0CD56CF050DC783F6E944CB6 /* Frameworks */, 305 | 8EC89D34CC8C0373A0F09CB5F2EC113B /* Headers */, 306 | ); 307 | buildRules = ( 308 | ); 309 | dependencies = ( 310 | ); 311 | name = "Pods-MMTabBarAnimation_Tests"; 312 | productName = "Pods-MMTabBarAnimation_Tests"; 313 | productReference = 83CE15DC2AEBC450939A42D8F8A30199 /* Pods_MMTabBarAnimation_Tests.framework */; 314 | productType = "com.apple.product-type.framework"; 315 | }; 316 | /* End PBXNativeTarget section */ 317 | 318 | /* Begin PBXProject section */ 319 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 320 | isa = PBXProject; 321 | attributes = { 322 | LastSwiftUpdateCheck = 0730; 323 | LastUpgradeCheck = 0700; 324 | TargetAttributes = { 325 | 2DAC1052F691C38F1208A4FEC080F5D0 = { 326 | LastSwiftMigration = 0810; 327 | }; 328 | BEF623E9F17309960B55CC7D21DAA99B = { 329 | LastSwiftMigration = 0810; 330 | }; 331 | }; 332 | }; 333 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 334 | compatibilityVersion = "Xcode 3.2"; 335 | developmentRegion = English; 336 | hasScannedForEncodings = 0; 337 | knownRegions = ( 338 | en, 339 | ); 340 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 341 | productRefGroup = EF0441FFE1525710AA0279E51FD98F1C /* Products */; 342 | projectDirPath = ""; 343 | projectRoot = ""; 344 | targets = ( 345 | 2DAC1052F691C38F1208A4FEC080F5D0 /* MMTabBarAnimation */, 346 | BEF623E9F17309960B55CC7D21DAA99B /* Pods-MMTabBarAnimation_Example */, 347 | E70424855D94C4B6A680CCEDCE58E52D /* Pods-MMTabBarAnimation_Tests */, 348 | ); 349 | }; 350 | /* End PBXProject section */ 351 | 352 | /* Begin PBXSourcesBuildPhase section */ 353 | 05E4BB4B12BE30987FC60B432D214491 /* Sources */ = { 354 | isa = PBXSourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 5EC230841E097A6C00DE3280 /* ImageAnimateLayer.swift in Sources */, 358 | BB6D448696953E0A723C4FAB0BDD73DF /* MMTabBarAnimation-dummy.m in Sources */, 359 | 5EFEFB2E1E05704D00164961 /* AnimateItem.swift in Sources */, 360 | 5EFEFB2F1E05704D00164961 /* UIViewExtension.swift in Sources */, 361 | 5EFEFB2B1E056FDF00164961 /* MMTabBarAnimateController.swift in Sources */, 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | 25A94EF4D3874C0E65232D713E470C6B /* Sources */ = { 366 | isa = PBXSourcesBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | E4F3BAC99BDB7CFEFEABB8A19F4F13A7 /* Pods-MMTabBarAnimation_Tests-dummy.m in Sources */, 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | }; 373 | 75D658A9AE63FA2C3511773D6A0D5342 /* Sources */ = { 374 | isa = PBXSourcesBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | DE1525A0B353926D244B95658F29A5FB /* Pods-MMTabBarAnimation_Example-dummy.m in Sources */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | /* End PBXSourcesBuildPhase section */ 382 | 383 | /* Begin PBXTargetDependency section */ 384 | 5887461C6982B2FA86B84F2113D221E7 /* PBXTargetDependency */ = { 385 | isa = PBXTargetDependency; 386 | name = MMTabBarAnimation; 387 | target = 2DAC1052F691C38F1208A4FEC080F5D0 /* MMTabBarAnimation */; 388 | targetProxy = AF3980DFD66013179BB5D0B0C90110BF /* PBXContainerItemProxy */; 389 | }; 390 | /* End PBXTargetDependency section */ 391 | 392 | /* Begin XCBuildConfiguration section */ 393 | 1D7ECE8F4CD3F56565BA290AB7A32FC8 /* Debug */ = { 394 | isa = XCBuildConfiguration; 395 | baseConfigurationReference = FABE159EA28A2A41DF77F7F5DB318BCF /* MMTabBarAnimation.xcconfig */; 396 | buildSettings = { 397 | CLANG_ENABLE_MODULES = YES; 398 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 399 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 400 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 401 | CURRENT_PROJECT_VERSION = 1; 402 | DEBUG_INFORMATION_FORMAT = dwarf; 403 | DEFINES_MODULE = YES; 404 | DYLIB_COMPATIBILITY_VERSION = 1; 405 | DYLIB_CURRENT_VERSION = 1; 406 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 407 | ENABLE_STRICT_OBJC_MSGSEND = YES; 408 | GCC_NO_COMMON_BLOCKS = YES; 409 | GCC_PREFIX_HEADER = "Target Support Files/MMTabBarAnimation/MMTabBarAnimation-prefix.pch"; 410 | INFOPLIST_FILE = "Target Support Files/MMTabBarAnimation/Info.plist"; 411 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 412 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 413 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 414 | MODULEMAP_FILE = "Target Support Files/MMTabBarAnimation/MMTabBarAnimation.modulemap"; 415 | MTL_ENABLE_DEBUG_INFO = YES; 416 | PRODUCT_NAME = MMTabBarAnimation; 417 | SDKROOT = iphoneos; 418 | SKIP_INSTALL = YES; 419 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 420 | SWIFT_VERSION = 3.0; 421 | TARGETED_DEVICE_FAMILY = "1,2"; 422 | VERSIONING_SYSTEM = "apple-generic"; 423 | VERSION_INFO_PREFIX = ""; 424 | }; 425 | name = Debug; 426 | }; 427 | 458424A5D1A5A6223331FAB4C2BAB09A /* Release */ = { 428 | isa = XCBuildConfiguration; 429 | baseConfigurationReference = AABA51A89E3B326324BD7CAB8CB47D84 /* Pods-MMTabBarAnimation_Example.release.xcconfig */; 430 | buildSettings = { 431 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 432 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 433 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 434 | CURRENT_PROJECT_VERSION = 1; 435 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 436 | DEFINES_MODULE = YES; 437 | DYLIB_COMPATIBILITY_VERSION = 1; 438 | DYLIB_CURRENT_VERSION = 1; 439 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 441 | GCC_NO_COMMON_BLOCKS = YES; 442 | INFOPLIST_FILE = "Target Support Files/Pods-MMTabBarAnimation_Example/Info.plist"; 443 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 444 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 445 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 446 | MACH_O_TYPE = staticlib; 447 | MODULEMAP_FILE = "Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.modulemap"; 448 | MTL_ENABLE_DEBUG_INFO = NO; 449 | OTHER_LDFLAGS = ""; 450 | OTHER_LIBTOOLFLAGS = ""; 451 | PODS_ROOT = "$(SRCROOT)"; 452 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 453 | PRODUCT_NAME = Pods_MMTabBarAnimation_Example; 454 | SDKROOT = iphoneos; 455 | SKIP_INSTALL = YES; 456 | SWIFT_VERSION = 3.0; 457 | TARGETED_DEVICE_FAMILY = "1,2"; 458 | VERSIONING_SYSTEM = "apple-generic"; 459 | VERSION_INFO_PREFIX = ""; 460 | }; 461 | name = Release; 462 | }; 463 | 7C475D971C97B4D4649D1C2E72300BE3 /* Debug */ = { 464 | isa = XCBuildConfiguration; 465 | baseConfigurationReference = 887B5DC97B8CFA082C594CB23B759F94 /* Pods-MMTabBarAnimation_Tests.debug.xcconfig */; 466 | buildSettings = { 467 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 468 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 469 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 470 | CURRENT_PROJECT_VERSION = 1; 471 | DEBUG_INFORMATION_FORMAT = dwarf; 472 | DEFINES_MODULE = YES; 473 | DYLIB_COMPATIBILITY_VERSION = 1; 474 | DYLIB_CURRENT_VERSION = 1; 475 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 476 | ENABLE_STRICT_OBJC_MSGSEND = YES; 477 | GCC_NO_COMMON_BLOCKS = YES; 478 | INFOPLIST_FILE = "Target Support Files/Pods-MMTabBarAnimation_Tests/Info.plist"; 479 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 480 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 481 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 482 | MACH_O_TYPE = staticlib; 483 | MODULEMAP_FILE = "Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.modulemap"; 484 | MTL_ENABLE_DEBUG_INFO = YES; 485 | OTHER_LDFLAGS = ""; 486 | OTHER_LIBTOOLFLAGS = ""; 487 | PODS_ROOT = "$(SRCROOT)"; 488 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 489 | PRODUCT_NAME = Pods_MMTabBarAnimation_Tests; 490 | SDKROOT = iphoneos; 491 | SKIP_INSTALL = YES; 492 | TARGETED_DEVICE_FAMILY = "1,2"; 493 | VERSIONING_SYSTEM = "apple-generic"; 494 | VERSION_INFO_PREFIX = ""; 495 | }; 496 | name = Debug; 497 | }; 498 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 499 | isa = XCBuildConfiguration; 500 | buildSettings = { 501 | ALWAYS_SEARCH_USER_PATHS = NO; 502 | CLANG_ANALYZER_NONNULL = YES; 503 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 504 | CLANG_CXX_LIBRARY = "libc++"; 505 | CLANG_ENABLE_MODULES = YES; 506 | CLANG_ENABLE_OBJC_ARC = YES; 507 | CLANG_WARN_BOOL_CONVERSION = YES; 508 | CLANG_WARN_CONSTANT_CONVERSION = YES; 509 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 510 | CLANG_WARN_EMPTY_BODY = YES; 511 | CLANG_WARN_ENUM_CONVERSION = YES; 512 | CLANG_WARN_INT_CONVERSION = YES; 513 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 514 | CLANG_WARN_UNREACHABLE_CODE = YES; 515 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 516 | CODE_SIGNING_REQUIRED = NO; 517 | COPY_PHASE_STRIP = YES; 518 | ENABLE_NS_ASSERTIONS = NO; 519 | GCC_C_LANGUAGE_STANDARD = gnu99; 520 | GCC_PREPROCESSOR_DEFINITIONS = ( 521 | "POD_CONFIGURATION_RELEASE=1", 522 | "$(inherited)", 523 | ); 524 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 525 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 526 | GCC_WARN_UNDECLARED_SELECTOR = YES; 527 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 528 | GCC_WARN_UNUSED_FUNCTION = YES; 529 | GCC_WARN_UNUSED_VARIABLE = YES; 530 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 531 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 532 | STRIP_INSTALLED_PRODUCT = NO; 533 | SYMROOT = "${SRCROOT}/../build"; 534 | VALIDATE_PRODUCT = YES; 535 | }; 536 | name = Release; 537 | }; 538 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 539 | isa = XCBuildConfiguration; 540 | buildSettings = { 541 | ALWAYS_SEARCH_USER_PATHS = NO; 542 | CLANG_ANALYZER_NONNULL = YES; 543 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 544 | CLANG_CXX_LIBRARY = "libc++"; 545 | CLANG_ENABLE_MODULES = YES; 546 | CLANG_ENABLE_OBJC_ARC = YES; 547 | CLANG_WARN_BOOL_CONVERSION = YES; 548 | CLANG_WARN_CONSTANT_CONVERSION = YES; 549 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 550 | CLANG_WARN_EMPTY_BODY = YES; 551 | CLANG_WARN_ENUM_CONVERSION = YES; 552 | CLANG_WARN_INT_CONVERSION = YES; 553 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 554 | CLANG_WARN_UNREACHABLE_CODE = YES; 555 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 556 | CODE_SIGNING_REQUIRED = NO; 557 | COPY_PHASE_STRIP = NO; 558 | ENABLE_TESTABILITY = YES; 559 | GCC_C_LANGUAGE_STANDARD = gnu99; 560 | GCC_DYNAMIC_NO_PIC = NO; 561 | GCC_OPTIMIZATION_LEVEL = 0; 562 | GCC_PREPROCESSOR_DEFINITIONS = ( 563 | "POD_CONFIGURATION_DEBUG=1", 564 | "DEBUG=1", 565 | "$(inherited)", 566 | ); 567 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 568 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 569 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 570 | GCC_WARN_UNDECLARED_SELECTOR = YES; 571 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 572 | GCC_WARN_UNUSED_FUNCTION = YES; 573 | GCC_WARN_UNUSED_VARIABLE = YES; 574 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 575 | ONLY_ACTIVE_ARCH = YES; 576 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 577 | STRIP_INSTALLED_PRODUCT = NO; 578 | SYMROOT = "${SRCROOT}/../build"; 579 | }; 580 | name = Debug; 581 | }; 582 | B01D2DC3ED1245EA6B4F097AB6F79B1F /* Release */ = { 583 | isa = XCBuildConfiguration; 584 | baseConfigurationReference = FABE159EA28A2A41DF77F7F5DB318BCF /* MMTabBarAnimation.xcconfig */; 585 | buildSettings = { 586 | CLANG_ENABLE_MODULES = YES; 587 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 588 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 589 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 590 | CURRENT_PROJECT_VERSION = 1; 591 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 592 | DEFINES_MODULE = YES; 593 | DYLIB_COMPATIBILITY_VERSION = 1; 594 | DYLIB_CURRENT_VERSION = 1; 595 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 596 | ENABLE_STRICT_OBJC_MSGSEND = YES; 597 | GCC_NO_COMMON_BLOCKS = YES; 598 | GCC_PREFIX_HEADER = "Target Support Files/MMTabBarAnimation/MMTabBarAnimation-prefix.pch"; 599 | INFOPLIST_FILE = "Target Support Files/MMTabBarAnimation/Info.plist"; 600 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 601 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 603 | MODULEMAP_FILE = "Target Support Files/MMTabBarAnimation/MMTabBarAnimation.modulemap"; 604 | MTL_ENABLE_DEBUG_INFO = NO; 605 | PRODUCT_NAME = MMTabBarAnimation; 606 | SDKROOT = iphoneos; 607 | SKIP_INSTALL = YES; 608 | SWIFT_VERSION = 3.0; 609 | TARGETED_DEVICE_FAMILY = "1,2"; 610 | VERSIONING_SYSTEM = "apple-generic"; 611 | VERSION_INFO_PREFIX = ""; 612 | }; 613 | name = Release; 614 | }; 615 | C9AFFDC4A1860686A731EFA049B509F8 /* Release */ = { 616 | isa = XCBuildConfiguration; 617 | baseConfigurationReference = 2782C4DD675196B5221D86744F287EE9 /* Pods-MMTabBarAnimation_Tests.release.xcconfig */; 618 | buildSettings = { 619 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 620 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 621 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 622 | CURRENT_PROJECT_VERSION = 1; 623 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 624 | DEFINES_MODULE = YES; 625 | DYLIB_COMPATIBILITY_VERSION = 1; 626 | DYLIB_CURRENT_VERSION = 1; 627 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 628 | ENABLE_STRICT_OBJC_MSGSEND = YES; 629 | GCC_NO_COMMON_BLOCKS = YES; 630 | INFOPLIST_FILE = "Target Support Files/Pods-MMTabBarAnimation_Tests/Info.plist"; 631 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 632 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 633 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 634 | MACH_O_TYPE = staticlib; 635 | MODULEMAP_FILE = "Target Support Files/Pods-MMTabBarAnimation_Tests/Pods-MMTabBarAnimation_Tests.modulemap"; 636 | MTL_ENABLE_DEBUG_INFO = NO; 637 | OTHER_LDFLAGS = ""; 638 | OTHER_LIBTOOLFLAGS = ""; 639 | PODS_ROOT = "$(SRCROOT)"; 640 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 641 | PRODUCT_NAME = Pods_MMTabBarAnimation_Tests; 642 | SDKROOT = iphoneos; 643 | SKIP_INSTALL = YES; 644 | TARGETED_DEVICE_FAMILY = "1,2"; 645 | VERSIONING_SYSTEM = "apple-generic"; 646 | VERSION_INFO_PREFIX = ""; 647 | }; 648 | name = Release; 649 | }; 650 | D35DC17415ED57A22278380D3E0E9316 /* Debug */ = { 651 | isa = XCBuildConfiguration; 652 | baseConfigurationReference = 58D2B7D16B636BC3E76EB05CA192B293 /* Pods-MMTabBarAnimation_Example.debug.xcconfig */; 653 | buildSettings = { 654 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 655 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 656 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 657 | CURRENT_PROJECT_VERSION = 1; 658 | DEBUG_INFORMATION_FORMAT = dwarf; 659 | DEFINES_MODULE = YES; 660 | DYLIB_COMPATIBILITY_VERSION = 1; 661 | DYLIB_CURRENT_VERSION = 1; 662 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 663 | ENABLE_STRICT_OBJC_MSGSEND = YES; 664 | GCC_NO_COMMON_BLOCKS = YES; 665 | INFOPLIST_FILE = "Target Support Files/Pods-MMTabBarAnimation_Example/Info.plist"; 666 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 667 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 668 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 669 | MACH_O_TYPE = staticlib; 670 | MODULEMAP_FILE = "Target Support Files/Pods-MMTabBarAnimation_Example/Pods-MMTabBarAnimation_Example.modulemap"; 671 | MTL_ENABLE_DEBUG_INFO = YES; 672 | OTHER_LDFLAGS = ""; 673 | OTHER_LIBTOOLFLAGS = ""; 674 | PODS_ROOT = "$(SRCROOT)"; 675 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 676 | PRODUCT_NAME = Pods_MMTabBarAnimation_Example; 677 | SDKROOT = iphoneos; 678 | SKIP_INSTALL = YES; 679 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 680 | SWIFT_VERSION = 3.0; 681 | TARGETED_DEVICE_FAMILY = "1,2"; 682 | VERSIONING_SYSTEM = "apple-generic"; 683 | VERSION_INFO_PREFIX = ""; 684 | }; 685 | name = Debug; 686 | }; 687 | /* End XCBuildConfiguration section */ 688 | 689 | /* Begin XCConfigurationList section */ 690 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 691 | isa = XCConfigurationList; 692 | buildConfigurations = ( 693 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 694 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 695 | ); 696 | defaultConfigurationIsVisible = 0; 697 | defaultConfigurationName = Release; 698 | }; 699 | 5F6C9941C1700DC80D2693EAC55014F5 /* Build configuration list for PBXNativeTarget "MMTabBarAnimation" */ = { 700 | isa = XCConfigurationList; 701 | buildConfigurations = ( 702 | 1D7ECE8F4CD3F56565BA290AB7A32FC8 /* Debug */, 703 | B01D2DC3ED1245EA6B4F097AB6F79B1F /* Release */, 704 | ); 705 | defaultConfigurationIsVisible = 0; 706 | defaultConfigurationName = Release; 707 | }; 708 | 7C63B7E6472D495D9A08E75D606C7D65 /* Build configuration list for PBXNativeTarget "Pods-MMTabBarAnimation_Example" */ = { 709 | isa = XCConfigurationList; 710 | buildConfigurations = ( 711 | D35DC17415ED57A22278380D3E0E9316 /* Debug */, 712 | 458424A5D1A5A6223331FAB4C2BAB09A /* Release */, 713 | ); 714 | defaultConfigurationIsVisible = 0; 715 | defaultConfigurationName = Release; 716 | }; 717 | C3A518009C5867E72ACC23A18F7903F8 /* Build configuration list for PBXNativeTarget "Pods-MMTabBarAnimation_Tests" */ = { 718 | isa = XCConfigurationList; 719 | buildConfigurations = ( 720 | 7C475D971C97B4D4649D1C2E72300BE3 /* Debug */, 721 | C9AFFDC4A1860686A731EFA049B509F8 /* Release */, 722 | ); 723 | defaultConfigurationIsVisible = 0; 724 | defaultConfigurationName = Release; 725 | }; 726 | /* End XCConfigurationList section */ 727 | }; 728 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 729 | } 730 | --------------------------------------------------------------------------------