[
  {
    "path": ".gitignore",
    "content": "# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n## Build generated\nbuild/\nDerivedData/\n\n## Various settings\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata/\n\n## Other\n*.moved-aside\n*.xcuserstate\n\n## Obj-C/Swift specific\n*.hmap\n*.ipa\n*.dSYM.zip\n*.dSYM\n\n## Playgrounds\ntimeline.xctimeline\nplayground.xcworkspace\n\n# Swift Package Manager\n#\n# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.\n# Packages/\n.build/\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\nPods/\nPodfile.lock\n\n# Carthage\n#\n# Add this line if you want to avoid checking in source code from Carthage dependencies.\n# Carthage/Checkouts\n\nCarthage/Build\n\n# fastlane\n#\n# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the\n# screenshots whenever they are needed.\n# For more information about the recommended setup visit:\n# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md\n\nfastlane/report.xml\nfastlane/Preview.html\nfastlane/screenshots\nfastlane/test_output\n\n.DS_Store"
  },
  {
    "path": "Example/MiniTabBar/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  MiniTabBar\n//\n//  Created by Dylan Marriott on 01/11/2017.\n//  Copyright (c) 2017 Dylan Marriott. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // 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.\n        // 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.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // 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.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // 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.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // 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.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example/MiniTabBar/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015 CocoaPods. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"MiniTabBar\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example/MiniTabBar/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"6211\" systemVersion=\"14A298i\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"vXZ-lx-hvc\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6204\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"ufC-wZ-h7g\">\n            <objects>\n                <viewController id=\"vXZ-lx-hvc\" customClass=\"ViewController\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"jyV-Pf-zRb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"2fi-mo-0CV\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"kh9-bI-dsS\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"x5A-6p-PRh\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example/MiniTabBar/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ios-marketing\",\n      \"size\" : \"1024x1024\",\n      \"scale\" : \"1x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/MiniTabBar/Images.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/MiniTabBar/Images.xcassets/tab1.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"tab1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/MiniTabBar/Images.xcassets/tab2.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"tab2.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/MiniTabBar/Images.xcassets/tab3.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"tab3.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example/MiniTabBar/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example/MiniTabBar/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  MiniTabBar\n//\n//  Created by Dylan Marriott on 01/11/2017.\n//  Copyright (c) 2017 Dylan Marriott. All rights reserved.\n//\n\nimport UIKit\nimport MiniTabBar\n\nclass ViewController: UIViewController, MiniTabBarDelegate {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        self.createSimpleTabBar()\n        //self.createCustomItemTabBar()\n    }\n    \n    private func createSimpleTabBar() {\n        var items = [MiniTabBarItem]()\n        items.append(MiniTabBarItem(title: \"Home\", icon: #imageLiteral(resourceName: \"tab1\")))\n        items.append(MiniTabBarItem(title: \"Profile\", icon: #imageLiteral(resourceName: \"tab2\")))\n        items.append(MiniTabBarItem(title: \"Tickets\", icon: #imageLiteral(resourceName: \"tab3\")))\n        let tabBar = MiniTabBar(items: items)\n        tabBar.translatesAutoresizingMaskIntoConstraints = false\n        tabBar.delegate = self\n        self.view.addSubview(tabBar)\n        \n        let constraints = [\n            tabBar.bottomAnchor.constraint(equalTo: view.layoutMarginsGuide.bottomAnchor),\n            tabBar.widthAnchor.constraint(equalTo: view.widthAnchor),\n            tabBar.heightAnchor.constraint(equalToConstant: 44),\n        ]\n        NSLayoutConstraint.activate(constraints)\n    }\n    \n    private func createCustomItemTabBar() {\n        var items = [MiniTabBarItem]()\n        items.append(MiniTabBarItem(title: \"Home\", icon: #imageLiteral(resourceName: \"tab1\")))\n        \n        let customButton = UIButton()\n        customButton.backgroundColor = UIColor.orange\n        customButton.layer.cornerRadius = 4\n        customButton.frame.size = CGSize(width: 50, height: 50)\n        customButton.addTarget(self, action: #selector(customButtonTapped), for: .touchUpInside)\n        let customItem = MiniTabBarItem(customView: customButton, offset: UIOffset(horizontal: 0, vertical: -10))\n        customItem.selectable = false\n        items.append(customItem)\n        \n        items.append(MiniTabBarItem(title: \"Tickets\", icon: #imageLiteral(resourceName: \"tab3\")))\n        let tabBar = MiniTabBar(items: items)\n        tabBar.translatesAutoresizingMaskIntoConstraints = false\n        tabBar.delegate = self\n        self.view.addSubview(tabBar)\n        \n        let constraints = [\n            tabBar.bottomAnchor.constraint(equalTo: view.layoutMarginsGuide.bottomAnchor),\n            tabBar.widthAnchor.constraint(equalTo: view.widthAnchor),\n            tabBar.heightAnchor.constraint(equalToConstant: 44),\n            ]\n        NSLayoutConstraint.activate(constraints)\n    }\n    \n    func tabSelected(_ index: Int) {\n        print(\"Selected tab: \", index)\n    }\n    \n    @objc private func customButtonTapped() {\n        print(\"Custom button tapped\")\n    }\n}\n\n"
  },
  {
    "path": "Example/MiniTabBar.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };\n\t\t607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };\n\t\t607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };\n\t\t607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };\n\t\t607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };\n\t\t62B14762227F09369F1BF69B /* Pods_MiniTabBar_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8ABE17B41217A06B3F492A90 /* Pods_MiniTabBar_Example.framework */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t3E3B9FC0C368F181DFC0EA4C /* Pods-MiniTabBar_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-MiniTabBar_Tests.release.xcconfig\"; path = \"Pods/Target Support Files/Pods-MiniTabBar_Tests/Pods-MiniTabBar_Tests.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t5977A86A2DB4E50719E1D312 /* Pods-MiniTabBar_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-MiniTabBar_Example.release.xcconfig\"; path = \"Pods/Target Support Files/Pods-MiniTabBar_Example/Pods-MiniTabBar_Example.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t607FACD01AFB9204008FA782 /* MiniTabBar_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MiniTabBar_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = \"<group>\"; };\n\t\t6EC044A417FA9E39E9DF4137 /* MiniTabBar.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MiniTabBar.podspec; path = ../MiniTabBar.podspec; sourceTree = \"<group>\"; };\n\t\t78E60CA0E54EE68DFC6E197B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = \"<group>\"; };\n\t\t8ABE17B41217A06B3F492A90 /* Pods_MiniTabBar_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MiniTabBar_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t8D1F9A1FFF068CA4F23C4B52 /* Pods-MiniTabBar_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-MiniTabBar_Tests.debug.xcconfig\"; path = \"Pods/Target Support Files/Pods-MiniTabBar_Tests/Pods-MiniTabBar_Tests.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tA0CF5ECA4EBFD9381CCECE8A /* Pods_MiniTabBar_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MiniTabBar_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tAC73F7929DFCC8773CB93543 /* Pods-MiniTabBar_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-MiniTabBar_Example.debug.xcconfig\"; path = \"Pods/Target Support Files/Pods-MiniTabBar_Example/Pods-MiniTabBar_Example.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tB49045DAB621E94EA0D31840 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t607FACCD1AFB9204008FA782 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t62B14762227F09369F1BF69B /* Pods_MiniTabBar_Example.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t607FACC71AFB9204008FA782 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACF51AFB993E008FA782 /* Podspec Metadata */,\n\t\t\t\t607FACD21AFB9204008FA782 /* Example for MiniTabBar */,\n\t\t\t\t607FACE81AFB9204008FA782 /* Tests */,\n\t\t\t\t607FACD11AFB9204008FA782 /* Products */,\n\t\t\t\tC93675B9C97F7F912E39C06C /* Pods */,\n\t\t\t\t93369F7EA7EEBC62AD07D879 /* Frameworks */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACD11AFB9204008FA782 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACD01AFB9204008FA782 /* MiniTabBar_Example.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACD21AFB9204008FA782 /* Example for MiniTabBar */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACD51AFB9204008FA782 /* AppDelegate.swift */,\n\t\t\t\t607FACD71AFB9204008FA782 /* ViewController.swift */,\n\t\t\t\t607FACD91AFB9204008FA782 /* Main.storyboard */,\n\t\t\t\t607FACDC1AFB9204008FA782 /* Images.xcassets */,\n\t\t\t\t607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,\n\t\t\t\t607FACD31AFB9204008FA782 /* Supporting Files */,\n\t\t\t);\n\t\t\tname = \"Example for MiniTabBar\";\n\t\t\tpath = MiniTabBar;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACD31AFB9204008FA782 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACD41AFB9204008FA782 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACE81AFB9204008FA782 /* Tests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACEB1AFB9204008FA782 /* Tests.swift */,\n\t\t\t\t607FACE91AFB9204008FA782 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Tests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACE91AFB9204008FA782 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACEA1AFB9204008FA782 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACF51AFB993E008FA782 /* Podspec Metadata */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6EC044A417FA9E39E9DF4137 /* MiniTabBar.podspec */,\n\t\t\t\tB49045DAB621E94EA0D31840 /* README.md */,\n\t\t\t\t78E60CA0E54EE68DFC6E197B /* LICENSE */,\n\t\t\t);\n\t\t\tname = \"Podspec Metadata\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t93369F7EA7EEBC62AD07D879 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t8ABE17B41217A06B3F492A90 /* Pods_MiniTabBar_Example.framework */,\n\t\t\t\tA0CF5ECA4EBFD9381CCECE8A /* Pods_MiniTabBar_Tests.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC93675B9C97F7F912E39C06C /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tAC73F7929DFCC8773CB93543 /* Pods-MiniTabBar_Example.debug.xcconfig */,\n\t\t\t\t5977A86A2DB4E50719E1D312 /* Pods-MiniTabBar_Example.release.xcconfig */,\n\t\t\t\t8D1F9A1FFF068CA4F23C4B52 /* Pods-MiniTabBar_Tests.debug.xcconfig */,\n\t\t\t\t3E3B9FC0C368F181DFC0EA4C /* Pods-MiniTabBar_Tests.release.xcconfig */,\n\t\t\t);\n\t\t\tname = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t607FACCF1AFB9204008FA782 /* MiniTabBar_Example */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget \"MiniTabBar_Example\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tD5810F6B0AFA93BB96FE5097 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\t607FACCC1AFB9204008FA782 /* Sources */,\n\t\t\t\t607FACCD1AFB9204008FA782 /* Frameworks */,\n\t\t\t\t607FACCE1AFB9204008FA782 /* Resources */,\n\t\t\t\t7BF07501F2340EE56F3ADA98 /* [CP] Embed Pods Frameworks */,\n\t\t\t\t1D091D49902CA735AF8E666C /* [CP] Copy Pods Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = MiniTabBar_Example;\n\t\t\tproductName = MiniTabBar;\n\t\t\tproductReference = 607FACD01AFB9204008FA782 /* MiniTabBar_Example.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t607FACC81AFB9204008FA782 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0720;\n\t\t\t\tLastUpgradeCheck = 0720;\n\t\t\t\tORGANIZATIONNAME = CocoaPods;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t607FACCF1AFB9204008FA782 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.1;\n\t\t\t\t\t\tDevelopmentTeam = 5EFBK52YD3;\n\t\t\t\t\t\tLastSwiftMigration = 0820;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject \"MiniTabBar\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 607FACC71AFB9204008FA782;\n\t\t\tproductRefGroup = 607FACD11AFB9204008FA782 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t607FACCF1AFB9204008FA782 /* MiniTabBar_Example */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t607FACCE1AFB9204008FA782 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,\n\t\t\t\t607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,\n\t\t\t\t607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t1D091D49902CA735AF8E666C /* [CP] Copy Pods Resources */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"[CP] Copy Pods Resources\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${SRCROOT}/Pods/Target Support Files/Pods-MiniTabBar_Example/Pods-MiniTabBar_Example-resources.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\t7BF07501F2340EE56F3ADA98 /* [CP] Embed Pods Frameworks */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"[CP] Embed Pods Frameworks\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${SRCROOT}/Pods/Target Support Files/Pods-MiniTabBar_Example/Pods-MiniTabBar_Example-frameworks.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tD5810F6B0AFA93BB96FE5097 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"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\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t607FACCC1AFB9204008FA782 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,\n\t\t\t\t607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t607FACD91AFB9204008FA782 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACDA1AFB9204008FA782 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t607FACDF1AFB9204008FA782 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t607FACED1AFB9204008FA782 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t607FACEE1AFB9204008FA782 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t607FACF01AFB9204008FA782 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = AC73F7929DFCC8773CB93543 /* Pods-MiniTabBar_Example.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tDEVELOPMENT_TEAM = 5EFBK52YD3;\n\t\t\t\tINFOPLIST_FILE = MiniTabBar/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tMODULE_NAME = ExampleApp;\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t607FACF11AFB9204008FA782 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 5977A86A2DB4E50719E1D312 /* Pods-MiniTabBar_Example.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tDEVELOPMENT_TEAM = 5EFBK52YD3;\n\t\t\t\tINFOPLIST_FILE = MiniTabBar/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tMODULE_NAME = ExampleApp;\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject \"MiniTabBar\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t607FACED1AFB9204008FA782 /* Debug */,\n\t\t\t\t607FACEE1AFB9204008FA782 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget \"MiniTabBar_Example\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t607FACF01AFB9204008FA782 /* Debug */,\n\t\t\t\t607FACF11AFB9204008FA782 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 607FACC81AFB9204008FA782 /* Project object */;\n}\n"
  },
  {
    "path": "Example/MiniTabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:MiniTabBar.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example/MiniTabBar.xcodeproj/xcshareddata/xcschemes/MiniTabBar-Example.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0720\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"607FACCF1AFB9204008FA782\"\n               BuildableName = \"MiniTabBar_Example.app\"\n               BlueprintName = \"MiniTabBar_Example\"\n               ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"607FACE41AFB9204008FA782\"\n               BuildableName = \"MiniTabBar_Tests.xctest\"\n               BlueprintName = \"MiniTabBar_Tests\"\n               ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"607FACE41AFB9204008FA782\"\n               BuildableName = \"MiniTabBar_Tests.xctest\"\n               BlueprintName = \"MiniTabBar_Tests\"\n               ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"607FACCF1AFB9204008FA782\"\n            BuildableName = \"MiniTabBar_Example.app\"\n            BlueprintName = \"MiniTabBar_Example\"\n            ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"607FACCF1AFB9204008FA782\"\n            BuildableName = \"MiniTabBar_Example.app\"\n            BlueprintName = \"MiniTabBar_Example\"\n            ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"607FACCF1AFB9204008FA782\"\n            BuildableName = \"MiniTabBar_Example.app\"\n            BlueprintName = \"MiniTabBar_Example\"\n            ReferencedContainer = \"container:MiniTabBar.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example/MiniTabBar.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:MiniTabBar.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Pods/Pods.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example/Podfile",
    "content": "use_frameworks!\n\ntarget 'MiniTabBar_Example' do\n  pod 'MiniTabBar', :path => '../'\n\n  target 'MiniTabBar_Tests' do\n    inherit! :search_paths\n\n    \n  end\nend\n"
  },
  {
    "path": "Example/Tests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example/Tests/Tests.swift",
    "content": "import UIKit\nimport XCTest\nimport MiniTabBar\n\nclass Tests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2017 Dylan Marriott\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "MiniTabBar/Assets/.gitkeep",
    "content": ""
  },
  {
    "path": "MiniTabBar/Classes/.gitkeep",
    "content": ""
  },
  {
    "path": "MiniTabBar/Classes/MiniTabBar.swift",
    "content": "//\n//  MiniTabBar.swift\n//  Pods\n//\n//  Created by Dylan Marriott on 11/01/17.\n//\n//\n\nimport Foundation\nimport UIKit\n\npublic class MiniTabBarItem {\n    var title: String?\n    var icon: UIImage?\n    var customView: UIView?\n    var offset = UIOffset.zero\n    public var selectable: Bool = true\n    public init(title: String, icon:UIImage) {\n        self.title = title\n        self.icon = icon\n    }\n    public init(customView: UIView, offset: UIOffset = UIOffset.zero) {\n        self.customView = customView\n        self.offset = offset\n    }\n}\n\npublic protocol MiniTabBarDelegate: class {\n    func tabSelected(_ index: Int)\n}\n\npublic class MiniTabBar: UIView {\n    \n    public weak var delegate: MiniTabBarDelegate?\n    public let keyLine = UIView()\n    public override var tintColor: UIColor! {\n        didSet {\n            for itv in self.itemViews {\n                itv.tintColor = self.tintColor\n            }\n        }\n    }\n    public var font: UIFont? {\n        didSet {\n            for itv in self.itemViews {\n                itv.font = self.font\n            }\n        }\n    }\n    \n    private let visualEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .extraLight)) as UIVisualEffectView\n    public var backgroundBlurEnabled: Bool = true {\n        didSet {\n            self.visualEffectView.isHidden = !self.backgroundBlurEnabled\n        }\n    }\n    \n    fileprivate var itemViews = [MiniTabBarItemView]()\n    fileprivate var currentSelectedIndex: Int?\n    fileprivate let bg = UIView()\n    \n    public init(items: [MiniTabBarItem]) {\n        super.init(frame: CGRect.zero)\n        \n        \n        bg.backgroundColor = UIColor(white: 1.0, alpha: 0.8)\n        addSubview(bg)\n        \n        self.addSubview(visualEffectView)\n        \n        keyLine.backgroundColor = UIColor(white: 0.9, alpha: 1.0)\n        self.addSubview(keyLine)\n        \n        var i = 0\n        for item in items {\n            let itemView = MiniTabBarItemView(item)\n            itemView.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(MiniTabBar.itemTapped(_:))))\n            self.itemViews.append(itemView)\n            self.addSubview(itemView)\n            i += 1\n        }\n        \n        self.selectItem(0, animated: false)\n    }\n    \n    required public init?(coder aDecoder: NSCoder) {\n        fatalError(\"init(coder:) has not been implemented\")\n    }\n    \n    public override func layoutSubviews() {\n        super.layoutSubviews()\n        bg.frame = CGRect(x: 0, y: 0, width: self.frame.width, height: 1000)\n        visualEffectView.frame = bg.bounds\n        keyLine.frame = CGRect(x: 0, y: 0, width: self.frame.width, height: 1)\n        \n        let itemWidth = self.frame.width / CGFloat(self.itemViews.count)\n        for (i, itemView) in self.itemViews.enumerated() {\n            let x = itemWidth * CGFloat(i)\n            itemView.frame = CGRect(x: x, y: 0, width: itemWidth, height: frame.size.height)\n        }\n    }\n\n    @objc func itemTapped(_ gesture: UITapGestureRecognizer) {\n        let itemView = gesture.view as! MiniTabBarItemView\n        let selectedIndex = self.itemViews.index(of: itemView)!\n        self.selectItem(selectedIndex)\n    }\n    \n    public func selectItem(_ selectedIndex: Int, animated: Bool = true) {\n        if !self.itemViews[selectedIndex].item.selectable {\n            return\n        }\n        if (selectedIndex == self.currentSelectedIndex) {\n            return\n        }\n        self.currentSelectedIndex = selectedIndex\n        \n        for (index, v) in self.itemViews.enumerated() {\n            let selected = (index == selectedIndex)\n            v.setSelected(selected, animated: animated)\n        }\n        \n        self.delegate?.tabSelected(selectedIndex)\n    }\n}\n\n"
  },
  {
    "path": "MiniTabBar/Classes/MiniTabBarItemView.swift",
    "content": "//\n//  MiniTabBarItemView.swift\n//  Pods\n//\n//  Created by Dylan Marriott on 12/01/17.\n//\n//\n\nimport Foundation\nimport UIKit\n\nclass MiniTabBarItemView: UIView {\n    let item: MiniTabBarItem\n    let titleLabel = UILabel()\n    let iconView = UIImageView()\n    \n    private var selected = false\n    \n    override var tintColor: UIColor! {\n        didSet {\n            if self.selected {\n                self.iconView.tintColor = self.tintColor\n            }\n            self.titleLabel.textColor = self.tintColor\n        }\n    }\n    private let defaultFont = UIFont.systemFont(ofSize: 12)\n    var font: UIFont? {\n        didSet {\n            self.titleLabel.font = self.font ?? defaultFont\n        }\n    }\n    \n    init(_ item: MiniTabBarItem) {\n        self.item = item\n        super.init(frame: CGRect.zero)\n        \n        if let customView = self.item.customView {\n            assert(self.item.title == nil && self.item.icon == nil, \"Don't set title / icon when using a custom view\")\n            assert(customView.frame.width > 0 && customView.frame.height > 0, \"Custom view must have a width & height > 0\")\n            self.addSubview(customView)\n        } else {\n            assert(self.item.title != nil && self.item.icon != nil, \"Title / Icon not set\")\n            if let title = self.item.title {\n                titleLabel.text = title\n                titleLabel.font = self.defaultFont\n                titleLabel.textColor = self.tintColor\n                titleLabel.textAlignment = .center\n                titleLabel.alpha = 0.0\n                self.addSubview(titleLabel)\n            }\n            \n            if let icon = self.item.icon {\n                iconView.image = icon.withRenderingMode(.alwaysTemplate)\n                self.addSubview(iconView)\n            }\n        }\n    }\n    \n    required init?(coder aDecoder: NSCoder) {\n        fatalError(\"init(coder:) has not been implemented\")\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews()\n        if let customView = self.item.customView {\n            customView.center = CGPoint(x: self.frame.width / 2 + self.item.offset.horizontal,\n                                        y: self.frame.height / 2 + self.item.offset.vertical)\n        } else {\n            titleLabel.frame = CGRect(x: 0, y: self.frame.height, width: self.frame.width, height: 14)\n            iconView.frame = CGRect(x: self.frame.width / 2 - 13, y: 12, width: 26, height: 20)\n        }\n    }\n    \n    func setSelected(_ selected: Bool, animated: Bool = true) {\n        self.selected = selected\n        self.iconView.tintColor = selected ? self.tintColor : UIColor(white: 0.6, alpha: 1.0)\n        \n        if (animated && selected) {\n            /*\n             ICON\n             */\n            UIView.animate(withDuration: 0.15, delay: 0, options: .curveEaseInOut, animations: {\n                self.iconView.frame.origin.y = 5\n            }, completion: { finished in\n                UIView.animate(withDuration: 0.4, delay: 0.5, options: UIViewAnimationOptions(), animations: {\n                    self.iconView.frame.origin.y = 12\n                })\n            })\n            \n            \n            /*\n             TEXT\n             */\n            UIView.animate(withDuration: 0.2, delay: 0, options: UIViewAnimationOptions(), animations: {\n                self.titleLabel.frame.origin.y = 28\n                self.titleLabel.alpha = 1.0\n            }, completion: { finished in\n                UIView.animate(withDuration: 0.2, delay: 0.5, options: UIViewAnimationOptions(), animations: {\n                    self.titleLabel.frame.origin.y = self.frame.size.height\n                    self.titleLabel.alpha = 0.0\n                }, completion: { finished in\n                })\n            })\n        }\n    }\n}\n"
  },
  {
    "path": "MiniTabBar.podspec",
    "content": "Pod::Spec.new do |s|\n  s.name             = 'MiniTabBar'\n  s.version          = '1.1.0'\n  s.summary          = 'Clean and simple UITabBar alternative'\n\n  s.description      = <<-DESC\nWritten in Swift 3 this UITabBar alternative has a much cleaner look. Titles are only shown when tapped on.\n                       DESC\n\n  s.homepage         = 'https://github.com/d-32/MiniTabBar'\n  s.screenshots     = 'https://raw.githubusercontent.com/D-32/MiniTabBar/master/screenshot.png'\n  s.license          = { :type => 'MIT', :file => 'LICENSE' }\n  s.author           = { 'Dylan Marriott' => 'info@d-32.com' }\n  s.source           = { :git => 'https://github.com/d-32/MiniTabBar.git', :tag => s.version.to_s }\n  s.social_media_url = 'https://twitter.com/dylan36032'\n\n  s.ios.deployment_target = '10.0'\n\n  s.source_files = 'MiniTabBar/Classes/**/*'\nend\n"
  },
  {
    "path": "README.md",
    "content": "\n[![Swift Version][swift-image]][swift-url]\n[![Version](https://img.shields.io/cocoapods/v/MiniTabBar.svg?style=flat)](http://cocoadocs.org/docsets/MiniTabBar)\n![License](https://img.shields.io/cocoapods/l/MiniTabBar.svg?style=flat)\n[![twitter: @dylan36032](http://img.shields.io/badge/twitter-%40dylan36032-blue.svg?style=flat)](https://twitter.com/dylan36032)\n\n# MiniTabBar\nA clean simple alternative to the UITabBar. Only shows the title when being tapped on. Gives the app a way cleaner look :)\n\n<img src=\"animation.gif\" width=\"275\">\n\n## Requirements\n- iOS 10.0+\n- Xcode 8\n\n## Installation\n\n#### CocoaPods:\nYou can use [CocoaPods](http://cocoapods.org/) to install `MiniTabBar` by adding it to your `Podfile`:\n\n```ruby\npod 'MiniTabBar'\n```\t\n#### Manually\nDrag and drop `MiniTabBar.swift` and `MiniTabBarItemView.swift` into your project.\n\n## Usage\n\n```swift\n// First create some tab bar items:\n// Icons should be a template image with the size 26 x 20 dp\nvar items = [MiniTabBarItem]()\nitems.append(MiniTabBarItem(title: \"Tab Name\", icon: <UIImage>))\n//...\n\n// Create a MiniTabBar instance and add it as a regular subview:\nlet tabBar = MiniTabBar(items: items)\ntabBar.translatesAutoresizingMaskIntoConstraints = false\ntabBar.delegate = self\nself.view.addSubview(tabBar)\n\nlet constraints = [\n\ttabBar.bottomAnchor.constraint(equalTo: view.layoutMarginsGuide.bottomAnchor),\n\ttabBar.widthAnchor.constraint(equalTo: view.widthAnchor),\n\ttabBar.heightAnchor.constraint(equalToConstant: 44),\n]\nNSLayoutConstraint.activate(constraints)\n\n// Delegate protocol:\nfunc tabSelected(_ index: Int) {\n\tprint(\"Selected tab: \", index)\n}\n```\n\n## Costumization\n\nHere are some ways to customize the look of the MiniTabBar:\n\n```swift\n// Change the tint colour of an item (title & icon):\ntabBar.tintColor = UIColor.red\n\n// Change the font of the title label:\ntabBar.font = UIFont.systemFont(ofSize: 10)\n\n// Select an item programmatically: \ntabBar.selectItem(2, animated: false)\n\n// Change the background & key line of the tab bar:\ntabBar.backgroundColor = UIColor.black\ntabBar.backgroundBlurEnabled = false\ntabBar.keyLine.isHidden = true\n```\n### Custom View\n\nIt's also possible to have a custom view that doesn't act like a tab. For example a (+) button in the middle.\n\n<img src=\"customButton.png\" width=\"275\">\n\n```swift\nlet customButton = UIButton()\ncustomButton.backgroundColor = UIColor.orange\ncustomButton.frame.size = CGSize(width: 50, height: 50)\nlet customItem = MiniTabBarItem(customView: customButton, \n                                    offset: UIOffset(horizontal: 0, \n                                                       vertical: -10))\ncustomItem.selectable = false\nitems.append(customItem)\n```\n\n\n[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg\n[swift-url]: https://swift.org/"
  }
]