[
  {
    "path": ".gitignore",
    "content": "# Xcode\n#\nbuild/\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata\n*.xccheckout\n*.moved-aside\nDerivedData\n*.hmap\n*.ipa\n*.xcuserstate\n\n.DS_Store\n\n# Swift Package Manager\n.build/"
  },
  {
    "path": ".travis.yml",
    "content": "language: objective-c\nosx_image: xcode10\nscript:\n  # The pipefail option sets the exit status to the last commond with a non-zero status code, which would usually be xcodebuild\n  - set -o pipefail && xcodebuild test -project Example.xcodeproj -scheme SimpleButtonTests -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone x,OS=latest\" | xcpretty\n"
  },
  {
    "path": "Example/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 25.03.15.\n//  Copyright (c) 2015 Andreas Tinoco Lobo. 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: [UIApplication.LaunchOptionsKey: 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"
  },
  {
    "path": "Example/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=\"9531\" systemVersion=\"15A284\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"9529\"/>\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            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\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/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"14313.18\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"mxQ-Bh-zmZ\">\n    <device id=\"retina5_9\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"14283.14\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Examples-->\n        <scene sceneID=\"3ng-ST-Wqn\">\n            <objects>\n                <viewController title=\"Examples\" id=\"mxQ-Bh-zmZ\" customClass=\"ViewController\" customModule=\"Example\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"rqZ-0k-agv\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"u1v-g4-Npf\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"dUw-EP-3XF\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"812\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"D3f-CL-nXX\" customClass=\"BackgroundColorButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"20\" y=\"309\" width=\"335\" height=\"45\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"45\" id=\"M7r-qC-Sy2\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"t43-yN-ltM\" customClass=\"ShadowButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"197.66666666666663\" y=\"244\" width=\"157.33333333333337\" height=\"45\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"45\" id=\"h7r-bn-ygn\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"k0b-Ci-qgj\" customClass=\"BorderColorButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"20\" y=\"374\" width=\"335\" height=\"45\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"45\" id=\"ey4-3l-cTN\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"HSm-us-q4x\" customClass=\"BorderWidthButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"130\" y=\"461.66666666666669\" width=\"225\" height=\"45\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"45\" id=\"x8Q-bv-FVf\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8jA-3m-30Y\" customClass=\"LoadingButton\" customModule=\"Example\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"20\" y=\"549\" width=\"335\" height=\"40\"/>\n                                <color key=\"backgroundColor\" red=\"0.88831676140000004\" green=\"0.88831676140000004\" blue=\"0.88831676140000004\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"40\" id=\"CL9-qh-C0V\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Save\"/>\n                                <connections>\n                                    <action selector=\"saveButtonTouchUpInside:\" destination=\"mxQ-Bh-zmZ\" eventType=\"touchUpInside\" id=\"6P1-qD-U8E\"/>\n                                </connections>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"bXO-DR-JCt\" customClass=\"DisabledButton\" customModule=\"Example\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"20\" y=\"609\" width=\"335\" height=\"40\"/>\n                                <color key=\"backgroundColor\" red=\"0.90409958960000003\" green=\"0.90409958960000003\" blue=\"0.90409958960000003\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"40\" id=\"w03-xc-LeG\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\"/>\n                                <connections>\n                                    <action selector=\"disabledButtonTouchUpInside:\" destination=\"mxQ-Bh-zmZ\" eventType=\"touchUpInside\" id=\"DGb-jd-PVM\"/>\n                                </connections>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"DEo-df-f2Q\" customClass=\"ScaleButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"20\" y=\"244\" width=\"157.66666666666666\" height=\"45\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"45\" id=\"MMp-Pn-hhx\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"BWl-vM-4gd\" customClass=\"CornerRadiusButton\" customModule=\"Example\">\n                                <rect key=\"frame\" x=\"20\" y=\"439\" width=\"90\" height=\"90\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"width\" relation=\"greaterThanOrEqual\" constant=\"44\" id=\"9SQ-w8-vxA\"/>\n                                    <constraint firstAttribute=\"height\" constant=\"100\" id=\"Wll-SE-JMH\"/>\n                                    <constraint firstAttribute=\"width\" secondItem=\"BWl-vM-4gd\" secondAttribute=\"height\" multiplier=\"1:1\" id=\"yfa-Tv-4Mc\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"Button\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                                <variation key=\"default\">\n                                    <mask key=\"constraints\">\n                                        <exclude reference=\"9SQ-w8-vxA\"/>\n                                        <exclude reference=\"Wll-SE-JMH\"/>\n                                    </mask>\n                                </variation>\n                            </button>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" buttonType=\"roundedRect\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"hKU-OU-R0v\" customClass=\"DesignableButton\" customModule=\"Example\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"20\" y=\"669\" width=\"335\" height=\"40\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"40\" id=\"uMx-U1-w8h\"/>\n                                </constraints>\n                                <state key=\"normal\" title=\"@IBDesignable Button\"/>\n                                <userDefinedRuntimeAttributes>\n                                    <userDefinedRuntimeAttribute type=\"color\" keyPath=\"backgroundColorNormal\">\n                                        <color key=\"value\" red=\"0.96862745100000003\" green=\"0.64313725489999995\" blue=\"0.094117647060000004\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"color\" keyPath=\"titleColorNormal\">\n                                        <color key=\"value\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"color\" keyPath=\"titleColorHighlighted\">\n                                        <color key=\"value\" red=\"0.89866220951080322\" green=\"0.89866220951080322\" blue=\"0.89866220951080322\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"color\" keyPath=\"backgroundColorHighlight\">\n                                        <color key=\"value\" red=\"0.83831632137298584\" green=\"0.37662053108215332\" blue=\"0.024419162422418594\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"boolean\" keyPath=\"shadow\" value=\"YES\"/>\n                                    <userDefinedRuntimeAttribute type=\"color\" keyPath=\"shadowColor\">\n                                        <color key=\"value\" red=\"0.0\" green=\"0.0\" blue=\"0.0\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"size\" keyPath=\"shadowOffset\">\n                                        <size key=\"value\" width=\"0.0\" height=\"2\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"shadowRadius\">\n                                        <real key=\"value\" value=\"5\"/>\n                                    </userDefinedRuntimeAttribute>\n                                    <userDefinedRuntimeAttribute type=\"number\" keyPath=\"shadowOpacity\">\n                                        <real key=\"value\" value=\"0.5\"/>\n                                    </userDefinedRuntimeAttribute>\n                                </userDefinedRuntimeAttributes>\n                            </button>\n                            <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"SimpleButton\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"4Hi-ZY-2Vx\">\n                                <rect key=\"frame\" x=\"26\" y=\"74\" width=\"323\" height=\"50.333333333333343\"/>\n                                <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"42\"/>\n                                <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                <nil key=\"highlightedColor\"/>\n                            </label>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"hKU-OU-R0v\" secondAttribute=\"trailing\" constant=\"20\" id=\"0Qw-LO-dvq\"/>\n                            <constraint firstItem=\"BWl-vM-4gd\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"1ww-Fq-umZ\"/>\n                            <constraint firstItem=\"hKU-OU-R0v\" firstAttribute=\"top\" secondItem=\"bXO-DR-JCt\" secondAttribute=\"bottom\" constant=\"20\" id=\"2N0-g2-8gc\"/>\n                            <constraint firstItem=\"t43-yN-ltM\" firstAttribute=\"top\" secondItem=\"rqZ-0k-agv\" secondAttribute=\"bottom\" constant=\"200\" id=\"2PP-mo-p11\"/>\n                            <constraint firstItem=\"k0b-Ci-qgj\" firstAttribute=\"top\" secondItem=\"D3f-CL-nXX\" secondAttribute=\"bottom\" constant=\"20\" id=\"5TU-EJ-sLR\"/>\n                            <constraint firstItem=\"DEo-df-f2Q\" firstAttribute=\"top\" secondItem=\"rqZ-0k-agv\" secondAttribute=\"bottom\" constant=\"200\" id=\"6ZK-nN-aoH\"/>\n                            <constraint firstItem=\"HSm-us-q4x\" firstAttribute=\"leading\" secondItem=\"BWl-vM-4gd\" secondAttribute=\"trailing\" constant=\"20\" id=\"7rX-J3-mWr\"/>\n                            <constraint firstItem=\"hKU-OU-R0v\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"9hr-03-iG2\"/>\n                            <constraint firstItem=\"8jA-3m-30Y\" firstAttribute=\"top\" secondItem=\"BWl-vM-4gd\" secondAttribute=\"bottom\" constant=\"20\" id=\"BRm-Ey-Fst\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"bXO-DR-JCt\" secondAttribute=\"trailing\" constant=\"20\" id=\"CLY-1Z-EsZ\"/>\n                            <constraint firstItem=\"t43-yN-ltM\" firstAttribute=\"width\" secondItem=\"DEo-df-f2Q\" secondAttribute=\"width\" id=\"HwB-ms-zDh\"/>\n                            <constraint firstItem=\"DEo-df-f2Q\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"JIp-RX-lF3\"/>\n                            <constraint firstItem=\"D3f-CL-nXX\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"RQN-pA-1fY\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"D3f-CL-nXX\" secondAttribute=\"trailing\" constant=\"20\" id=\"Rbp-QB-xxc\"/>\n                            <constraint firstItem=\"HSm-us-q4x\" firstAttribute=\"baseline\" secondItem=\"BWl-vM-4gd\" secondAttribute=\"baseline\" id=\"Sma-99-qeQ\"/>\n                            <constraint firstItem=\"BWl-vM-4gd\" firstAttribute=\"top\" secondItem=\"k0b-Ci-qgj\" secondAttribute=\"bottom\" constant=\"20\" id=\"TnQ-F2-gtH\"/>\n                            <constraint firstItem=\"8jA-3m-30Y\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"Wmw-TI-JAo\"/>\n                            <constraint firstItem=\"k0b-Ci-qgj\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"ekL-dS-qfT\"/>\n                            <constraint firstItem=\"bXO-DR-JCt\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leading\" constant=\"20\" id=\"f77-xa-G9c\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"t43-yN-ltM\" secondAttribute=\"trailing\" constant=\"20\" id=\"hBy-lx-VkG\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"HSm-us-q4x\" secondAttribute=\"trailing\" constant=\"20\" id=\"iAY-qC-ikP\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"k0b-Ci-qgj\" secondAttribute=\"trailing\" constant=\"20\" id=\"j2r-93-S7l\"/>\n                            <constraint firstItem=\"4Hi-ZY-2Vx\" firstAttribute=\"top\" secondItem=\"rqZ-0k-agv\" secondAttribute=\"bottom\" constant=\"30\" id=\"oVV-8u-JTt\"/>\n                            <constraint firstAttribute=\"trailingMargin\" secondItem=\"4Hi-ZY-2Vx\" secondAttribute=\"trailing\" constant=\"10\" id=\"p0v-ef-sf8\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"8jA-3m-30Y\" secondAttribute=\"trailing\" constant=\"20\" id=\"r4n-1a-OYa\"/>\n                            <constraint firstItem=\"bXO-DR-JCt\" firstAttribute=\"top\" secondItem=\"8jA-3m-30Y\" secondAttribute=\"bottom\" constant=\"20\" id=\"r9P-ql-NXh\"/>\n                            <constraint firstItem=\"t43-yN-ltM\" firstAttribute=\"leading\" secondItem=\"DEo-df-f2Q\" secondAttribute=\"trailing\" constant=\"20\" id=\"s7b-kO-nAM\"/>\n                            <constraint firstItem=\"4Hi-ZY-2Vx\" firstAttribute=\"leading\" secondItem=\"dUw-EP-3XF\" secondAttribute=\"leadingMargin\" constant=\"10\" id=\"sXP-SE-fKh\"/>\n                            <constraint firstItem=\"D3f-CL-nXX\" firstAttribute=\"top\" secondItem=\"DEo-df-f2Q\" secondAttribute=\"bottom\" constant=\"20\" id=\"xgP-GS-Aqz\"/>\n                            <constraint firstItem=\"BWl-vM-4gd\" firstAttribute=\"width\" secondItem=\"HSm-us-q4x\" secondAttribute=\"width\" multiplier=\"0.4\" id=\"zEt-hE-RBx\"/>\n                        </constraints>\n                    </view>\n                    <tabBarItem key=\"tabBarItem\" title=\"Basic Examples\" id=\"kdB-Fj-WDs\"/>\n                    <connections>\n                        <outlet property=\"disabledButton\" destination=\"bXO-DR-JCt\" id=\"aVW-LS-o0M\"/>\n                        <outlet property=\"saveButton\" destination=\"8jA-3m-30Y\" id=\"xrh-6x-eeo\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"IeF-Gl-7wA\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-678\" y=\"-226\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example/CustomButtons.swift",
    "content": "//\n//  CustomButtons.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 08.04.15.\n//  Copyright (c) 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport Foundation\nimport SimpleButton\n\nclass ScaleButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.peterRiverColor(), for: .normal)\n        setTitle(\"SCALE\", for: .normal)\n        setScale(1.0, for: .normal, animated: true, animationDuration: 0.25)\n        setScale(0.96, for: .highlighted, animated: true, animationDuration: 0.1)\n    }\n}\n\nclass BackgroundColorButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.peterRiverColor(), for: .normal, animated: true, animationDuration: 0.2)\n        setBackgroundColor(UIColor.belizeHoleColor(), for: .highlighted, animated: false)\n        setBackgroundColor(UIColor.nephritisColor(), for: SimpleButtonControlState.loading)\n        setTitle(\"BACKGROUND COLOR\", for: .normal)\n    }\n}\n\nclass BorderWidthButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.alizarinColor(), for: .normal, animated: true)\n        setBorderColor(UIColor.pomergranateColor(), for: .normal, animated: true)\n        setTitle(\"BORDER WIDTH\", for: .normal)\n        setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\n        setBorderWidth(8.0, for: .highlighted, animated: false)\n    }\n}\n\nclass BorderColorButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setTitleColor(UIColor.alizarinColor(), for: .normal)\n        setTitleColor(UIColor.pomergranateColor(), for: .highlighted)\n        setBorderWidth(6.0, for: .normal)\n        setBorderColor(UIColor.alizarinColor(), for: .normal, animationDuration: 0.3)\n        setBorderColor(UIColor.pomergranateColor(), for: .highlighted, animated: false)\n        setTitle(\"BORDER COLOR\", for: .normal)\n    }\n}\n\nclass CornerRadiusButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.peterRiverColor(), for: .normal, animated: true)\n        setTitle(\"RADIUS\", for: .normal)\n        setCornerRadius(10.0, for: .normal, animated: true)\n        setCornerRadius(30.0, for: .highlighted, animated: true)\n    }\n}\n\nclass ShadowButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setShadowRadius(10, for: .normal, animated: true)\n        setShadowRadius(3, for: .highlighted, animated: true)\n        setBackgroundColor(UIColor.alizarinColor(), for: .normal, animated: true)\n        setShadowColor(UIColor.asbestosColor(), for: .normal)\n        setShadowOpacity(1.0, for: .normal, animated: true)\n        setShadowOffset(CGSize(width: 0, height: 0), for: .normal, animated: true)\n        setTitle(\"SHADOW\", for: .normal)\n    }\n}\n\nclass LoadingButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.peterRiverColor(), for: .normal)\n        setBackgroundColor(UIColor.belizeHoleColor(), for: .highlighted)\n        setBackgroundColor(UIColor.asbestosColor(), for: SimpleButtonControlState.loading)\n        loadingView = createCustomLoadingView()\n        setTitleColor(UIColor.white, for: .normal)\n        setTitle(\"PRESS TO START LOADING\", for: .normal)\n    }\n\n    private func createCustomLoadingView() -> UIView {\n        let view = UIView()\n        let imageView = UIImageView(image: UIImage(named: \"garten\"))\n\n        view.addSubview(imageView)\n\n        imageView.translatesAutoresizingMaskIntoConstraints = false\n        imageView.heightAnchor.constraint(equalToConstant: 40).isActive = true\n        imageView.contentMode = .scaleAspectFit\n        imageView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true\n        view.backgroundColor = .red\n\n        return view\n    }\n}\n\nclass DisabledButton: SimpleButton {\n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        setBackgroundColor(UIColor.alizarinColor(), for: .normal)\n        setBackgroundColor(UIColor.pomergranateColor(), for: .highlighted)\n        setTitle(\"PRESS TO DISABLE BUTTON\", for: .normal)\n        setTitle(\"BUTTON DISABLED\", for: .disabled)\n        setBackgroundColor(UIColor.silverColor(), for: .disabled)\n        setTitleColor(UIColor.white, for: .normal)\n    }\n}\n"
  },
  {
    "path": "Example/DesignableButton.swift",
    "content": "//\n//  DesignableButton.swift\n//  Example\n//\n//  Created by Gunter Hager on 03.06.16.\n//  Copyright © 2016 all about apps. All rights reserved.\n//\n\nimport UIKit\nimport SimpleButton\n\n@IBDesignable\n\nclass DesignableButton: SimpleButton {\n    \n        /// Background color for normal state.\n    @IBInspectable var backgroundColorNormal: UIColor?\n    @IBInspectable var backgroundColorHighlight: UIColor?\n    @IBInspectable var titleColorNormal: UIColor?\n    @IBInspectable var titleColorHighlighted: UIColor?\n    \n    @IBInspectable var shadow: Bool = false\n    @IBInspectable var shadowColor: UIColor?\n    @IBInspectable var shadowOffset: CGSize = CGSize.zero\n    @IBInspectable var shadowRadius: CGFloat = 0\n    @IBInspectable var shadowOpacity: Float = 0\n    \n    override func configureButtonStyles() {\n        super.configureButtonStyles()\n        \n        if let backgroundColorNormal = backgroundColorNormal {\n            setBackgroundColor(backgroundColorNormal, for: .normal)\n        }\n        if let backgroundColorHighlight = backgroundColorHighlight {\n            setBackgroundColor(backgroundColorHighlight, for: .highlighted)\n        }\n        if let titleColorNormal = titleColorNormal {\n            setTitleColor(titleColorNormal, for: .normal)\n        }\n        if let titleColorHighlighted = titleColorHighlighted {\n            setTitleColor(titleColorHighlighted, for: .highlighted)\n        }\n        \n        if shadow {\n            if let shadowColor = shadowColor {\n                setShadowColor(shadowColor)\n            }\n            setShadowOffset(shadowOffset)\n            setShadowRadius(shadowRadius)\n            setShadowOpacity(shadowOpacity)\n        }\n    }\n    \n    \n}\n"
  },
  {
    "path": "Example/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\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\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/Images.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "Example/Images.xcassets/garten.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"garten.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "Example/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>4.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\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example/UIColorExtensions.swift",
    "content": "//\n//  UIColorExtensions.swift\n//\n//  Created by Mihails Tumkins on 10/02/15.\n//\n\nimport UIKit\n\nextension UIColor {\n    convenience init(r: Int, g:Int, b:Int) {\n        self.init(red: CGFloat(r)/255, green: CGFloat(g)/255, blue: CGFloat(b)/255, alpha: 1.0)\n    }\n    \n    class func turquoiseColor()->UIColor {\n        return UIColor(r: 26, g: 188, b: 156)\n    }\n    \n    class func greenSeaColor()->UIColor {\n        return UIColor(r: 22, g: 160, b: 133)\n    }\n    \n    class func emeraldColor()->UIColor {\n        return UIColor(r: 46, g: 204, b: 113)\n    }\n    \n    class func nephritisColor()->UIColor {\n        return UIColor(r: 39, g: 174, b: 96)\n    }\n    \n    class func peterRiverColor()->UIColor {\n        return UIColor(r: 52, g: 152, b: 219)\n    }\n    \n    class func belizeHoleColor()->UIColor {\n        return UIColor(r: 41, g: 128, b: 185)\n    }\n    \n    class func amethystColor()->UIColor {\n        return UIColor(r:155, g:89, b:182)\n    }\n    \n    class func wisteriaColor()->UIColor {\n        return UIColor(r:142, g:68, b:173)\n    }\n    \n    class func wetAsphaltColor()->UIColor {\n        return UIColor(r:52, g:73, b:94)\n    }\n    \n    class func midnightBlueColor()->UIColor {\n        return UIColor(r:44, g:62, b:80)\n    }\n    \n    class func sunflowerColor()->UIColor {\n        return UIColor(r:241, g:196, b:15)\n    }\n    \n    class func carrotColor()->UIColor {\n        return UIColor(r:230, g:126, b:34)\n    }\n    \n    class func pumpkinColor()->UIColor {\n        return UIColor(r:211, g:84, b:0)\n    }\n    \n    class func alizarinColor()->UIColor {\n        return UIColor(r:231, g:76, b:60)\n    }\n    \n    class func pomergranateColor()->UIColor {\n        return UIColor(r:192, g:57, b:43)\n    }\n    \n    class func cloudsColor()->UIColor {\n        return UIColor(r:236, g:240, b:241)\n    }\n    \n    class func silverColor()->UIColor {\n        return UIColor(r:189, g:195, b:199)\n    }\n    \n    class func concreteColor()->UIColor {\n        return UIColor(r:149, g:165, b:166)\n    }\n    \n    class func asbestosColor()->UIColor {\n        return UIColor(r:127, g:140, b:141)\n    }\n    \n}\n"
  },
  {
    "path": "Example/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 12/11/15.\n//  Copyright © 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport UIKit\nimport SimpleButton\n\nclass ViewController: UIViewController {\n\n    @IBOutlet weak var saveButton: LoadingButton!\n    @IBOutlet weak var disabledButton: DisabledButton!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // create SimpleButton from code\n    }\n    \n    @IBAction func disabledButtonTouchUpInside(_ sender: AnyObject) {\n        \n        disabledButton.isEnabled = false\n        \n        // Delay execution of my block for 3 seconds.\n        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(UInt64(3) * NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {\n            self.disabledButton.isEnabled = true\n        }\n    }\n    \n    \n    @IBAction func saveButtonTouchUpInside(_ sender: AnyObject) {\n\n        saveButton.isLoading = true\n        \n        // Delay execution of my block for 3 seconds.\n        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(UInt64(3) * NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {\n            self.saveButton.isLoading = false\n        }\n    }\n}\n"
  },
  {
    "path": "Example.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\t1FE0BCDE1BD6845400C9E8F6 /* SimpleButton.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */; };\n\t\t4D032EE31ADD85C600991630 /* SimpleButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D032EE21ADD85C600991630 /* SimpleButtonTests.swift */; };\n\t\tA92045E61AD5803900401655 /* CustomButtons.swift in Sources */ = {isa = PBXBuildFile; fileRef = A92045E51AD5803900401655 /* CustomButtons.swift */; };\n\t\tA93CA2531AC2B89300BD5B22 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A93CA2521AC2B89300BD5B22 /* AppDelegate.swift */; };\n\t\tA93CA25A1AC2B89300BD5B22 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A93CA2591AC2B89300BD5B22 /* Images.xcassets */; };\n\t\tA93CA25D1AC2B89300BD5B22 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = A93CA25B1AC2B89300BD5B22 /* LaunchScreen.xib */; };\n\t\tA93CA27C1AC2B8A800BD5B22 /* SimpleButton.h in Headers */ = {isa = PBXBuildFile; fileRef = A93CA27B1AC2B8A800BD5B22 /* SimpleButton.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\tA93CA28E1AC2B8A900BD5B22 /* SimpleButton.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */; };\n\t\tA93CA28F1AC2B8A900BD5B22 /* SimpleButton.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n\t\tA93CA2981AC2B91400BD5B22 /* SimpleButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = A93CA2971AC2B91400BD5B22 /* SimpleButton.swift */; };\n\t\tA93DE0DE1BE8E20F00409A4B /* SimpleButtonControlState.swift in Sources */ = {isa = PBXBuildFile; fileRef = A93DE0DD1BE8E20F00409A4B /* SimpleButtonControlState.swift */; };\n\t\tA93DE0E01BE90C8200409A4B /* SimpleButtonStateChangeValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = A93DE0DF1BE90C8200409A4B /* SimpleButtonStateChangeValue.swift */; };\n\t\tA97727951C04B3E400FDC7B4 /* UIColorExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97727941C04B3E400FDC7B4 /* UIColorExtensions.swift */; };\n\t\tA98449251BF4B991007E90C7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98449241BF4B991007E90C7 /* ViewController.swift */; };\n\t\tA9C97EEE1AC45CCF005C14E0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A9C97EEC1AC45CCF005C14E0 /* Main.storyboard */; };\n\t\tBC95C8DB1D01790C00BC474C /* DesignableButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC95C8DA1D01790C00BC474C /* DesignableButton.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t4D032EDD1ADD858E00991630 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = A93CA2451AC2B89300BD5B22 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = A93CA2761AC2B8A800BD5B22;\n\t\t\tremoteInfo = SimpleButton;\n\t\t};\n\t\tA93CA28C1AC2B8A900BD5B22 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = A93CA2451AC2B89300BD5B22 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = A93CA2761AC2B8A800BD5B22;\n\t\t\tremoteInfo = SimpleButton;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\tA93CA2931AC2B8A900BD5B22 /* Embed Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t\tA93CA28F1AC2B8A900BD5B22 /* SimpleButton.framework in Embed Frameworks */,\n\t\t\t);\n\t\t\tname = \"Embed Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t1FBF39581BD678AD00289AAD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t4D032ED61ADD858E00991630 /* SimpleButtonTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleButtonTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t4D032EE21ADD85C600991630 /* SimpleButtonTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleButtonTests.swift; sourceTree = \"<group>\"; };\n\t\tA92045E51AD5803900401655 /* CustomButtons.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomButtons.swift; sourceTree = \"<group>\"; };\n\t\tA93CA24D1AC2B89300BD5B22 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tA93CA2511AC2B89300BD5B22 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tA93CA2521AC2B89300BD5B22 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\tA93CA2591AC2B89300BD5B22 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\tA93CA25C1AC2B89300BD5B22 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\tA93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleButton.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tA93CA27A1AC2B8A800BD5B22 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tA93CA27B1AC2B8A800BD5B22 /* SimpleButton.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SimpleButton.h; sourceTree = \"<group>\"; };\n\t\tA93CA2971AC2B91400BD5B22 /* SimpleButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleButton.swift; sourceTree = \"<group>\"; };\n\t\tA93DE0DD1BE8E20F00409A4B /* SimpleButtonControlState.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleButtonControlState.swift; sourceTree = \"<group>\"; };\n\t\tA93DE0DF1BE90C8200409A4B /* SimpleButtonStateChangeValue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleButtonStateChangeValue.swift; sourceTree = \"<group>\"; };\n\t\tA97727941C04B3E400FDC7B4 /* UIColorExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIColorExtensions.swift; sourceTree = \"<group>\"; };\n\t\tA98449241BF4B991007E90C7 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\tA9C97EED1AC45CCF005C14E0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\tBC95C8DA1D01790C00BC474C /* DesignableButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DesignableButton.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t4D032ED31ADD858E00991630 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t1FE0BCDE1BD6845400C9E8F6 /* SimpleButton.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA24A1AC2B89300BD5B22 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA93CA28E1AC2B8A900BD5B22 /* SimpleButton.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA2731AC2B8A800BD5B22 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t4D032EBF1ADD84C800991630 /* Custom Button Classes */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA92045E51AD5803900401655 /* CustomButtons.swift */,\n\t\t\t\tBC95C8DA1D01790C00BC474C /* DesignableButton.swift */,\n\t\t\t);\n\t\t\tname = \"Custom Button Classes\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4D032ED71ADD858E00991630 /* SimpleButtonTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4D032EE21ADD85C600991630 /* SimpleButtonTests.swift */,\n\t\t\t\t4D032ED81ADD858E00991630 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleButtonTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4D032ED81ADD858E00991630 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t1FBF39581BD678AD00289AAD /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA2441AC2B89300BD5B22 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA24F1AC2B89300BD5B22 /* Example */,\n\t\t\t\tA93CA2781AC2B8A800BD5B22 /* SimpleButton */,\n\t\t\t\t4D032ED71ADD858E00991630 /* SimpleButtonTests */,\n\t\t\t\tA93CA24E1AC2B89300BD5B22 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA24E1AC2B89300BD5B22 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA24D1AC2B89300BD5B22 /* Example.app */,\n\t\t\t\tA93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */,\n\t\t\t\t4D032ED61ADD858E00991630 /* SimpleButtonTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA24F1AC2B89300BD5B22 /* Example */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA2521AC2B89300BD5B22 /* AppDelegate.swift */,\n\t\t\t\tA98449241BF4B991007E90C7 /* ViewController.swift */,\n\t\t\t\tA9C97EEC1AC45CCF005C14E0 /* Main.storyboard */,\n\t\t\t\t4D032EBF1ADD84C800991630 /* Custom Button Classes */,\n\t\t\t\tA93CA2501AC2B89300BD5B22 /* Supporting Files */,\n\t\t\t\tA93CA2591AC2B89300BD5B22 /* Images.xcassets */,\n\t\t\t\tA93CA25B1AC2B89300BD5B22 /* LaunchScreen.xib */,\n\t\t\t\tA97727941C04B3E400FDC7B4 /* UIColorExtensions.swift */,\n\t\t\t);\n\t\t\tpath = Example;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA2501AC2B89300BD5B22 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA2511AC2B89300BD5B22 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA2781AC2B8A800BD5B22 /* SimpleButton */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA2971AC2B91400BD5B22 /* SimpleButton.swift */,\n\t\t\t\tA93DE0DD1BE8E20F00409A4B /* SimpleButtonControlState.swift */,\n\t\t\t\tA93CA27B1AC2B8A800BD5B22 /* SimpleButton.h */,\n\t\t\t\tA93CA2791AC2B8A800BD5B22 /* Supporting Files */,\n\t\t\t\tA93DE0DF1BE90C8200409A4B /* SimpleButtonStateChangeValue.swift */,\n\t\t\t);\n\t\t\tpath = SimpleButton;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA93CA2791AC2B8A800BD5B22 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA27A1AC2B8A800BD5B22 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXHeadersBuildPhase section */\n\t\tA93CA2741AC2B8A800BD5B22 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA93CA27C1AC2B8A800BD5B22 /* SimpleButton.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXHeadersBuildPhase section */\n\n/* Begin PBXNativeTarget section */\n\t\t4D032ED51ADD858E00991630 /* SimpleButtonTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 4D032EDF1ADD858E00991630 /* Build configuration list for PBXNativeTarget \"SimpleButtonTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t4D032ED21ADD858E00991630 /* Sources */,\n\t\t\t\t4D032ED31ADD858E00991630 /* Frameworks */,\n\t\t\t\t4D032ED41ADD858E00991630 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t4D032EDE1ADD858E00991630 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = SimpleButtonTests;\n\t\t\tproductName = SimpleButtonTests;\n\t\t\tproductReference = 4D032ED61ADD858E00991630 /* SimpleButtonTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n\t\tA93CA24C1AC2B89300BD5B22 /* Example */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = A93CA26C1AC2B89300BD5B22 /* Build configuration list for PBXNativeTarget \"Example\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tA93CA2491AC2B89300BD5B22 /* Sources */,\n\t\t\t\tA93CA24A1AC2B89300BD5B22 /* Frameworks */,\n\t\t\t\tA93CA24B1AC2B89300BD5B22 /* Resources */,\n\t\t\t\tA93CA2931AC2B8A900BD5B22 /* Embed Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tA93CA28D1AC2B8A900BD5B22 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = Example;\n\t\t\tproductName = Example;\n\t\t\tproductReference = A93CA24D1AC2B89300BD5B22 /* Example.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\tA93CA2761AC2B8A800BD5B22 /* SimpleButton */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = A93CA2901AC2B8A900BD5B22 /* Build configuration list for PBXNativeTarget \"SimpleButton\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tA93CA2721AC2B8A800BD5B22 /* Sources */,\n\t\t\t\tA93CA2731AC2B8A800BD5B22 /* Frameworks */,\n\t\t\t\tA93CA2741AC2B8A800BD5B22 /* Headers */,\n\t\t\t\tA93CA2751AC2B8A800BD5B22 /* 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 = SimpleButton;\n\t\t\tproductName = SimpleButton;\n\t\t\tproductReference = A93CA2771AC2B8A800BD5B22 /* SimpleButton.framework */;\n\t\t\tproductType = \"com.apple.product-type.framework\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tA93CA2451AC2B89300BD5B22 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 1200;\n\t\t\t\tORGANIZATIONNAME = \"Andreas Tinoco Lobo\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t4D032ED51ADD858E00991630 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3;\n\t\t\t\t\t\tLastSwiftMigration = 0800;\n\t\t\t\t\t};\n\t\t\t\t\tA93CA24C1AC2B89300BD5B22 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3;\n\t\t\t\t\t\tDevelopmentTeam = M8F9QH57A6;\n\t\t\t\t\t\tLastSwiftMigration = 1100;\n\t\t\t\t\t};\n\t\t\t\t\tA93CA2761AC2B8A800BD5B22 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3;\n\t\t\t\t\t\tLastSwiftMigration = 1100;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = A93CA2481AC2B89300BD5B22 /* Build configuration list for PBXProject \"Example\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = en;\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 = A93CA2441AC2B89300BD5B22;\n\t\t\tproductRefGroup = A93CA24E1AC2B89300BD5B22 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tA93CA24C1AC2B89300BD5B22 /* Example */,\n\t\t\t\tA93CA2761AC2B8A800BD5B22 /* SimpleButton */,\n\t\t\t\t4D032ED51ADD858E00991630 /* SimpleButtonTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t4D032ED41ADD858E00991630 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA24B1AC2B89300BD5B22 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA9C97EEE1AC45CCF005C14E0 /* Main.storyboard in Resources */,\n\t\t\t\tA93CA25D1AC2B89300BD5B22 /* LaunchScreen.xib in Resources */,\n\t\t\t\tA93CA25A1AC2B89300BD5B22 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA2751AC2B8A800BD5B22 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t4D032ED21ADD858E00991630 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4D032EE31ADD85C600991630 /* SimpleButtonTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA2491AC2B89300BD5B22 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA93CA2531AC2B89300BD5B22 /* AppDelegate.swift in Sources */,\n\t\t\t\tA97727951C04B3E400FDC7B4 /* UIColorExtensions.swift in Sources */,\n\t\t\t\tA98449251BF4B991007E90C7 /* ViewController.swift in Sources */,\n\t\t\t\tBC95C8DB1D01790C00BC474C /* DesignableButton.swift in Sources */,\n\t\t\t\tA92045E61AD5803900401655 /* CustomButtons.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA93CA2721AC2B8A800BD5B22 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tA93CA2981AC2B91400BD5B22 /* SimpleButton.swift in Sources */,\n\t\t\t\tA93DE0E01BE90C8200409A4B /* SimpleButtonStateChangeValue.swift in Sources */,\n\t\t\t\tA93DE0DE1BE8E20F00409A4B /* SimpleButtonControlState.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t4D032EDE1ADD858E00991630 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = A93CA2761AC2B8A800BD5B22 /* SimpleButton */;\n\t\t\ttargetProxy = 4D032EDD1ADD858E00991630 /* PBXContainerItemProxy */;\n\t\t};\n\t\tA93CA28D1AC2B8A900BD5B22 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = A93CA2761AC2B8A800BD5B22 /* SimpleButton */;\n\t\t\ttargetProxy = A93CA28C1AC2B8A900BD5B22 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\tA93CA25B1AC2B89300BD5B22 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tA93CA25C1AC2B89300BD5B22 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA9C97EEC1AC45CCF005C14E0 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tA9C97EED1AC45CCF005C14E0 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t4D032EE01ADD858E00991630 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = \"$(inherited)\";\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\tINFOPLIST_FILE = SimpleButtonTests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.aloco.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 4.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t4D032EE11ADD858E00991630 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = \"$(inherited)\";\n\t\t\t\tINFOPLIST_FILE = SimpleButtonTests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.aloco.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tA93CA26A1AC2B89300BD5B22 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\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_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\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 = 12.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\tSWIFT_VERSION = 4.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tA93CA26B1AC2B89300BD5B22 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\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_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\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 = 12.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tSWIFT_VERSION = 4.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tA93CA26D1AC2B89300BD5B22 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tDEVELOPMENT_TEAM = M8F9QH57A6;\n\t\t\t\tINFOPLIST_FILE = Example/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.aloco.Example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tA93CA26E1AC2B89300BD5B22 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tDEVELOPMENT_TEAM = M8F9QH57A6;\n\t\t\t\tINFOPLIST_FILE = Example/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.aloco.Example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tA93CA2911AC2B8A900BD5B22 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\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\tINFOPLIST_FILE = SimpleButton/Info.plist;\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.aloco.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tA93CA2921AC2B8A900BD5B22 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\n\t\t\t\tINFOPLIST_FILE = SimpleButton/Info.plist;\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.aloco.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t4D032EDF1ADD858E00991630 /* Build configuration list for PBXNativeTarget \"SimpleButtonTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t4D032EE01ADD858E00991630 /* Debug */,\n\t\t\t\t4D032EE11ADD858E00991630 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tA93CA2481AC2B89300BD5B22 /* Build configuration list for PBXProject \"Example\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tA93CA26A1AC2B89300BD5B22 /* Debug */,\n\t\t\t\tA93CA26B1AC2B89300BD5B22 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tA93CA26C1AC2B89300BD5B22 /* Build configuration list for PBXNativeTarget \"Example\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tA93CA26D1AC2B89300BD5B22 /* Debug */,\n\t\t\t\tA93CA26E1AC2B89300BD5B22 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tA93CA2901AC2B8A900BD5B22 /* Build configuration list for PBXNativeTarget \"SimpleButton\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tA93CA2911AC2B8A900BD5B22 /* Debug */,\n\t\t\t\tA93CA2921AC2B8A900BD5B22 /* 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 = A93CA2451AC2B89300BD5B22 /* Project object */;\n}\n"
  },
  {
    "path": "Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Example.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.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>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example.xcodeproj/xcshareddata/xcschemes/SimpleButton.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1200\"\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 = \"A93CA2761AC2B8A800BD5B22\"\n               BuildableName = \"SimpleButton.framework\"\n               BlueprintName = \"SimpleButton\"\n               ReferencedContainer = \"container:Example.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      codeCoverageEnabled = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"4D032ED51ADD858E00991630\"\n               BuildableName = \"SimpleButtonTests.xctest\"\n               BlueprintName = \"SimpleButtonTests\"\n               ReferencedContainer = \"container:Example.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\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      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"A93CA2761AC2B8A800BD5B22\"\n            BuildableName = \"SimpleButton.framework\"\n            BlueprintName = \"SimpleButton\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"A93CA2761AC2B8A800BD5B22\"\n            BuildableName = \"SimpleButton.framework\"\n            BlueprintName = \"SimpleButton\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example.xcodeproj/xcshareddata/xcschemes/SimpleButtonTests.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1200\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"4D032ED51ADD858E00991630\"\n               BuildableName = \"SimpleButtonTests.xctest\"\n               BlueprintName = \"SimpleButtonTests\"\n               ReferencedContainer = \"container:Example.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 = \"4D032ED51ADD858E00991630\"\n               BuildableName = \"SimpleButtonTests.xctest\"\n               BlueprintName = \"SimpleButtonTests\"\n               ReferencedContainer = \"container:Example.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\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      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"4D032ED51ADD858E00991630\"\n            BuildableName = \"SimpleButtonTests.xctest\"\n            BlueprintName = \"SimpleButtonTests\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"4D032ED51ADD858E00991630\"\n            BuildableName = \"SimpleButtonTests.xctest\"\n            BlueprintName = \"SimpleButtonTests\"\n            ReferencedContainer = \"container:Example.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2015 Andreas Tinoco Lobo\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\nall copies 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\nTHE SOFTWARE."
  },
  {
    "path": "Package.swift",
    "content": "// swift-tools-version:5.0\n\nimport PackageDescription\n\nlet package = Package(\n    name: \"SimpleButton\",\n    platforms: [\n        .iOS(.v11)\n    ],\n    products: [\n        .library(name: \"SimpleButton\", targets: [\"SimpleButton\"])\n    ],\n    dependencies: [\n    ],\n    targets: [\n        .target(name: \"SimpleButton\", dependencies: [], path: \"SimpleButton/\")\n    ],\n    swiftLanguageVersions: [.v5]\n)\n"
  },
  {
    "path": "README.md",
    "content": "# SimpleButton\n\n![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)\n[![Build Status](https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0)](https://travis-ci.org/aloco/SimpleButton)\n![Swift 5](https://img.shields.io/badge/Swift-5-orange.svg)\n\n\nUIButton subclass with animated, state-aware attributes. Easy to subclass and configure! [Full API docs](http://aloco.github.io/SimpleButton/swift_output)\n\n\n\n![Sample](https://raw.githubusercontent.com/aloco/SimpleButton/master/Resources/example.gif)\n\n\n\n## Usage\n\nJust create your own `SimpleButton` subclass and configure your button attributes by overriding `configureButtonStyles`.\n\n```swift\nclass PrimaryButton: SimpleButton {\n\toverride func configureButtonStyles() {\n\t\tsuper.configureButtonStyles()\n    \tsetBorderWidth(4.0, for: .normal)\n\t\tsetBackgroundColor(UIColor(red: 52/255, green: 73/255, blue: 94/255, alpha: 1.0), for: .normal)\n\t\tsetBackgroundColor(UIColor(red: 44/255, green: 62/255, blue: 80/255, alpha: 1.0), for: .highlighted)\n\t\tsetBorderColor(UIColor(red: 44/255, green: 62/255, blue: 80/255, alpha: 1.0), for: .normal)\n\t\tsetScale(0.98, for: .highlighted)\n\t\tsetTitleColor(UIColor.whiteColor(), for: .normal)\n\t}\n}\n```\nFor usage in Interfacebuilder, just use your `SimpleButton` subclass as custom class for any `UIButton` element. All defined styles gets applied automatically.\n\nYou can also configure your button without a subclass directly inline.\n\n```swift\nlet awesomeButton = SimpleButton(type: .custom)\nawesomeButton.setBorderWidth(2.0, for: .normal)\nawesomeButton.setBorderColor(UIColor.redColor(), for: .highlighted)\nview.addSubview(awesomeButton)\n```\nNote that you should use `UIButtonType.custom` to avoid undesired effects.\n\nPlease checkout the example project for a detailed usage demo.\n\n\n#### @IBDesignable\n\nHave a look on [DesignableButton](Example/DesignableButton.swift) subclass within the Example Project for `@IBDesignable` usage.\n\n### Animation\nEach state change of `SimpleButton` animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the `animated` and `animationDuration` parameters. \n\n```\nsetBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n```\nThis means, every state change to `.normal` animates the `borderWidth` to `4.0`. \nEvery state change to `.highlighted` changes instantly the `borderWidth` to `8.0` without animation.\n\n### Loading state\n\n`SimpleButton` has a custom `loading` state. You can toggle this state by setting `simpleButton.isLoading`. The button shows an `UIActivityIndicator` instead of the title when adding the `loading` state.\n\n```\nsimpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n```\nIf you don´t like the default loading indicator, you can set your own `UIView` by doing\n```\nsimpleButton.loadingView = CustomAwesomeLoadingView()\n```\n\nPlease note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.\n\n## Configurable attributes\n\nTake a look at the ```Setter for state attributes``` section of the [API Docs](http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes) \n\n## Installation\n\nNote that SimpleButton is written in `swift 5` and may not be compatible with previous versions of swift. \n\n#### Swift Package Manager (Recommended)\n\nAdd the following dependency to your `Package.swift` file:\n\n```\n.package(url: \"https://github.com/allaboutapps/SimpleButton.git\", from: \"5.0.0\")\n```\n\n#### Carthage\n\nAdd the following line to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).\n\n```\ngithub \"allaboutapps/SimpleButton\" ~> 5.0\n```\n\nThen run `carthage update`.\n\n#### Manually\n\nJust drag and drop the `SimpleButton.swift` file into  your project.\n\n\n## Contributing\n\n* Create something awesome, make the code better, add some functionality,\n  whatever (this is the hardest part).\n* [Fork it](http://help.github.com/forking/)\n* Create new branch to make your changes\n* Commit all your changes to your branch\n* Submit a [pull request](http://help.github.com/pull-requests/)\n"
  },
  {
    "path": "SimpleButton/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>FMWK</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>4.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>$(CURRENT_PROJECT_VERSION)</string>\n\t<key>NSPrincipalClass</key>\n\t<string></string>\n</dict>\n</plist>\n"
  },
  {
    "path": "SimpleButton/SimpleButton.h",
    "content": "//\n//  SimpleButton.h\n//  SimpleButton\n//\n//  Created by Andreas Tinoco Lobo on 25.03.15.\n//  Copyright (c) 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for SimpleButton.\nFOUNDATION_EXPORT double SimpleButtonVersionNumber;\n\n//! Project version string for SimpleButton.\nFOUNDATION_EXPORT const unsigned char SimpleButtonVersionString[];\n\n// In this header, you should import all the public headers of your framework using statements like #import <SimpleButton/PublicHeader.h>\n\n\n"
  },
  {
    "path": "SimpleButton/SimpleButton.swift",
    "content": "//\n//  SimpleButton.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 25.03.15.\n//  Copyright (c) 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport UIKit\n\nopen class SimpleButton: UIButton {\n    typealias ControlState = UInt\n    \n    /// Loading view. UIActivityIndicatorView as default\n    open var loadingView: UIView?\n    \n    /// Default duration of animated state change.\n    open var defaultAnimationDuration: TimeInterval = 0.1\n    \n    /// Represents current button state.\n    open override var state: UIControl.State {\n        // injects custom button state if necessary\n        if isLoading {\n            var options = SimpleButtonControlState.loading\n            options.insert(super.state)\n            return options\n        }\n        return super.state\n    }\n    \n    /// used to lock any animated state transition for initial setup\n    private var lockAnimatedUpdate: Bool = true\n    \n    /// used to determine the `from` value of any animation\n    private var sourceLayer: CALayer {\n        return (layer.presentation() ?? layer)\n    }\n    \n    // MARK: State values with initial values\n    \n    private lazy var backgroundColors: [ControlState: SimpleButtonStateChangeValue<CGColor>] = {\n        if let color = self.backgroundColor?.cgColor {\n            return [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: color, animated: true, animationDuration: self.defaultAnimationDuration)]\n        }\n        return [:]\n    }()\n    \n    private lazy var borderColors: [ControlState: SimpleButtonStateChangeValue<CGColor>] = {\n        if let color = self.layer.borderColor {\n            return [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: color, animated: true, animationDuration: self.defaultAnimationDuration)]\n        }\n        return [:]\n    }()\n    \n    private lazy var buttonScales: [ControlState: SimpleButtonStateChangeValue<CGFloat>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: 1.0, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    private lazy var borderWidths: [ControlState: SimpleButtonStateChangeValue<CGFloat>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: self.layer.borderWidth, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    private lazy var cornerRadii: [ControlState: SimpleButtonStateChangeValue<CGFloat>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: self.layer.cornerRadius, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    private lazy var shadowColors: [ControlState: SimpleButtonStateChangeValue<CGColor>] = {\n        if let color = self.layer.shadowColor {\n            return [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: color, animated: true, animationDuration: self.defaultAnimationDuration)]\n        }\n        return [:]\n    }()\n    \n    private lazy var shadowOpacities: [ControlState: SimpleButtonStateChangeValue<Float>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: self.layer.shadowOpacity, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    private lazy var shadowOffsets: [ControlState: SimpleButtonStateChangeValue<CGSize>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: self.layer.shadowOffset, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    private lazy var shadowRadii: [ControlState: SimpleButtonStateChangeValue<CGFloat>] = {\n        [UIControl.State.normal.rawValue: SimpleButtonStateChangeValue(value: self.layer.shadowRadius, animated: true, animationDuration: self.defaultAnimationDuration)]\n    }()\n    \n    // MARK: Overrides\n    \n    open override var isEnabled: Bool {\n        didSet {\n            // manually enables / disables user interaction to restore correct state if loading or enabled state are switched separate or together\n            if !isEnabled {\n                self.isUserInteractionEnabled = false\n            }\n            else if !state.contains(SimpleButtonControlState.loading), isEnabled {\n                self.isUserInteractionEnabled = true\n            }\n            update()\n        }\n    }\n    \n    open override var isHighlighted: Bool {\n        didSet {\n            update()\n        }\n    }\n    \n    open override var isSelected: Bool {\n        didSet {\n            update()\n        }\n    }\n    \n    // MARK: Custom states\n    \n    /// A Boolean value that determines the SimpleButton´s loading state.\n    /// Specify `true` to switch to the loading state.\n    /// If set to `true`, SimpleButton shows `loadingView` and hides the default `titleLabel` and `imageView`\n    open var isLoading: Bool = false {\n        didSet {\n            DispatchQueue.main.async {\n                if self.isLoading {\n                    \n                    if self.loadingView == nil {\n                        self.setDefaultLoadingView()\n                    }\n                    self.isUserInteractionEnabled = false\n                    self.showLoadingView(animaded: true)\n                    \n                } else {\n                    \n                    if !self.state.contains(.disabled) {\n                        self.isUserInteractionEnabled = true\n                    }\n                    self.hideLoadingView(animaded: true)\n                    \n                }\n                \n                self.update()\n            }\n        }\n    }\n    \n    // MARK: Initializer\n    \n    public required override init(frame: CGRect) {\n        super.init(frame: frame)\n        setup()\n    }\n    \n    public required init?(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n        setup()\n    }\n    \n    open override func prepareForInterfaceBuilder() {\n        super.prepareForInterfaceBuilder()\n        setup()\n    }\n    \n    open override func awakeFromNib() {\n        super.awakeFromNib()\n        setup()\n    }\n    \n    private func setup() {\n        lockAnimatedUpdate = true\n        configureButtonStyles()\n        update()\n        lockAnimatedUpdate = false\n    }\n    \n    // MARK: Configuration\n    \n    /**\n     To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))\n     */\n    open func configureButtonStyles() {}\n    \n    // MARK: Setter for state attributes\n    \n    /**\n     Sets the scale for a specific `UIControlState`\n     \n     - parameter scale:    scale of button\n     - parameter state:    determines at which state that scale applies\n     - parameter animated: determines if that change in scale should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setScale(_ scale: CGFloat, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        buttonScales[state.rawValue] = SimpleButtonStateChangeValue(value: scale, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateScale()\n    }\n    \n    /**\n     Sets the background color for a specific `UIControlState`\n     \n     - parameter color:    background color of button\n     - parameter state:    determines at which state that background color applies\n     - parameter animated: determines if that change in background color should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setBackgroundColor(_ color: UIColor, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        backgroundColors[state.rawValue] = SimpleButtonStateChangeValue(value: color.cgColor, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateBackgroundColor()\n    }\n    \n    /**\n     Sets the border width for a specific `UIControlState`\n     \n     - parameter width:    border width of button\n     - parameter state:    determines at which state that border width applies\n     - parameter animated: determines if that change in border width should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setBorderWidth(_ width: CGFloat, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        borderWidths[state.rawValue] = SimpleButtonStateChangeValue(value: width, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateBorderWidth()\n    }\n    \n    /**\n     Sets the border color for a specific `UIControlState`\n     \n     - parameter color:    border color of button\n     - parameter state:    determines at which state that border color applies\n     - parameter animated: determines if that change in border color should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setBorderColor(_ color: UIColor, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        borderColors[state.rawValue] = SimpleButtonStateChangeValue(value: color.cgColor, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateBorderColor()\n    }\n    \n    /**\n     Sets the corner radius for a specific `UIControlState`\n     \n     - parameter radius:   corner radius of button\n     - parameter state:    determines at which state that corner radius applies\n     - parameter animated: determines if that change in radius of the corners should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setCornerRadius(_ radius: CGFloat, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        cornerRadii[state.rawValue] = SimpleButtonStateChangeValue(value: radius, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateCornerRadius()\n    }\n    \n    /**\n     Sets the shadow color for a specific `UIControlState`\n     \n     - parameter color:    shadow color of button\n     - parameter state:    determines at which state that shadow color applies\n     - parameter animated: determines if that change in shadow color should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setShadowColor(_ color: UIColor, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        shadowColors[state.rawValue] = SimpleButtonStateChangeValue(value: color.cgColor, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateShadowColor()\n    }\n    \n    /**\n     Sets the shadow opacity for a specific `UIControlState`\n     \n     - parameter opacity:  shadow opacity of button\n     - parameter state:    determines at which state that shadow opacity applies\n     - parameter animated: determines if that change in shadow opacity should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setShadowOpacity(_ opacity: Float, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        shadowOpacities[state.rawValue] = SimpleButtonStateChangeValue(value: opacity, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateShadowOpacity()\n    }\n    \n    /**\n     Sets the shadow radius for a specific `UIControlState`\n     \n     - parameter radius:   shadow radius of button\n     - parameter state:    determines at which state that shadow radius applies\n     - parameter animated: determines if that change in shadow radius should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setShadowRadius(_ radius: CGFloat, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        shadowRadii[state.rawValue] = SimpleButtonStateChangeValue(value: radius, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateShadowRadius()\n    }\n    \n    /**\n     Sets the shadow offset for a specific `UIControlState`\n     \n     - parameter offset:   shadow offset of button\n     - parameter state:    determines at which state that shadow offset applies\n     - parameter animated: determines if that change in shadow offset should animate. Default is `true`\n     - parameter animationDuration: set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from `defaultAnimationDuration`\n     */\n    open func setShadowOffset(_ offset: CGSize, for state: UIControl.State = .normal, animated: Bool = true, animationDuration: TimeInterval? = nil) {\n        shadowOffsets[state.rawValue] = SimpleButtonStateChangeValue(value: offset, animated: animated, animationDuration: animationDuration ?? defaultAnimationDuration)\n        updateShadowOffset()\n    }\n    \n    /**\n     Sets the spacing between `titleLabel` and `imageView`\n     \n     - parameter spacing: spacing between `titleLabel` and `imageView`\n     */\n    open func setTitleImageSpacing(_ spacing: CGFloat) {\n        imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: spacing / 2)\n        titleEdgeInsets = UIEdgeInsets(top: 0, left: spacing / 2, bottom: 0, right: 0)\n    }\n    \n    // MARK: Attribute update helper\n    \n    /**\n     Updates all attributes if necessary. Each update function determines by itself if an update of any attribute is necessary. It also determines if that update should animate.\n     \n     - parameter lockAnimatedUpdate: set this to true to update without animation, even it´s defined in `SimpleButtonStateChange`. Used to set initial button attributes\n     */\n    private func update() {\n        updateBackgroundColor()\n        updateBorderColor()\n        updateBorderWidth()\n        updateCornerRadius()\n        updateScale()\n        updateShadowColor()\n        updateShadowOffset()\n        updateShadowOpacity()\n        updateShadowRadius()\n    }\n    \n    private func updateCornerRadius() {\n        if let stateChange = cornerRadii[state.rawValue] ?? cornerRadii[UIControl.State.normal.rawValue], stateChange.value != layer.cornerRadius {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.cornerRadius as AnyObject?, to: stateChange.value as AnyObject, forKey: \"cornerRadius\", duration: stateChange.animationDuration)\n            }\n            layer.cornerRadius = stateChange.value\n        }\n    }\n    \n    private func updateScale() {\n        if let stateChange = buttonScales[state.rawValue] ?? buttonScales[UIControl.State.normal.rawValue], transform.a != stateChange.value, transform.b != stateChange.value {\n            let animations = {\n                self.transform = CGAffineTransform(scaleX: stateChange.value, y: stateChange.value)\n            }\n            stateChange.animated && !lockAnimatedUpdate ? UIView.animate(withDuration: stateChange.animationDuration, animations: animations) : animations()\n        }\n    }\n    \n    private func updateBackgroundColor() {\n        if let stateChange = backgroundColors[state.rawValue] ?? backgroundColors[UIControl.State.normal.rawValue], layer.backgroundColor == nil || UIColor(cgColor: layer.backgroundColor!) != UIColor(cgColor: stateChange.value) {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.backgroundColor, to: stateChange.value, forKey: \"backgroundColor\", duration: stateChange.animationDuration)\n            }\n            layer.backgroundColor = stateChange.value\n        }\n    }\n    \n    private func updateBorderColor() {\n        if let stateChange = borderColors[state.rawValue] ?? borderColors[UIControl.State.normal.rawValue], layer.borderColor == nil || UIColor(cgColor: layer.borderColor!) != UIColor(cgColor: stateChange.value) {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.borderColor, to: stateChange.value, forKey: \"borderColor\", duration: stateChange.animationDuration)\n            }\n            layer.borderColor = stateChange.value\n        }\n    }\n    \n    private func updateBorderWidth() {\n        if let stateChange = borderWidths[state.rawValue] ?? borderWidths[UIControl.State.normal.rawValue], stateChange.value != layer.borderWidth {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.borderWidth as AnyObject?, to: stateChange.value as AnyObject, forKey: \"borderWidth\", duration: stateChange.animationDuration)\n            }\n            layer.borderWidth = stateChange.value\n        }\n    }\n    \n    private func updateShadowOffset() {\n        if let stateChange = shadowOffsets[state.rawValue] ?? shadowOffsets[UIControl.State.normal.rawValue], stateChange.value != layer.shadowOffset {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: NSValue(cgSize: sourceLayer.shadowOffset), to: NSValue(cgSize: stateChange.value), forKey: \"shadowOffset\", duration: stateChange.animationDuration)\n            }\n            layer.shadowOffset = stateChange.value\n        }\n    }\n    \n    private func updateShadowColor() {\n        if let stateChange = shadowColors[state.rawValue] ?? shadowColors[UIControl.State.normal.rawValue], layer.shadowColor == nil || UIColor(cgColor: layer.shadowColor!) != UIColor(cgColor: stateChange.value) {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.shadowColor, to: stateChange.value, forKey: \"shadowColor\", duration: stateChange.animationDuration)\n            }\n            layer.shadowColor = stateChange.value\n        }\n    }\n    \n    private func updateShadowRadius() {\n        if let stateChange = shadowRadii[state.rawValue] ?? shadowRadii[UIControl.State.normal.rawValue], stateChange.value != layer.shadowRadius {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.shadowRadius as AnyObject?, to: stateChange.value as AnyObject, forKey: \"shadowRadius\", duration: stateChange.animationDuration)\n            }\n            layer.shadowRadius = stateChange.value\n        }\n    }\n    \n    private func updateShadowOpacity() {\n        if let stateChange = shadowOpacities[state.rawValue] ?? shadowOpacities[UIControl.State.normal.rawValue], stateChange.value != layer.shadowOpacity {\n            if stateChange.animated, !lockAnimatedUpdate {\n                animate(layer: layer, from: sourceLayer.shadowOpacity as AnyObject?, to: stateChange.value as AnyObject, forKey: \"shadowOpacity\", duration: stateChange.animationDuration)\n            }\n            layer.shadowOpacity = stateChange.value\n        }\n    }\n    \n    // MARK: Animation helper\n    \n    private func animate(layer: CALayer, from: AnyObject?, to: AnyObject, forKey key: String, duration: TimeInterval) {\n        let animation = CABasicAnimation()\n        animation.fromValue = from\n        animation.toValue = to\n        animation.duration = duration\n        layer.add(animation, forKey: key)\n    }\n    \n    // MARK: Layout\n    \n    open override func layoutSubviews() {\n        super.layoutSubviews()\n        loadingView?.center = CGPoint(x: bounds.size.width / 2,\n                                      y: bounds.size.height / 2)\n    }\n    \n    // MARK: - LoadingView\n    \n    private func setDefaultLoadingView() {\n        let activityIndicator = UIActivityIndicatorView(style: .white)\n        activityIndicator.startAnimating()\n        activityIndicator.hidesWhenStopped = false\n        activityIndicator.alpha = 0\n        loadingView = activityIndicator\n    }\n    \n    private func addLoadingViewAsSubView() {\n        guard let loadingView = loadingView else { return }\n        \n        loadingView.translatesAutoresizingMaskIntoConstraints = false\n        addSubview(loadingView)\n        \n        NSLayoutConstraint.activate([\n            trailingAnchor.constraint(equalTo: loadingView.trailingAnchor, constant: contentEdgeInsets.right),\n            loadingView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: contentEdgeInsets.left),\n            loadingView.topAnchor.constraint(equalTo: topAnchor, constant: contentEdgeInsets.top),\n            bottomAnchor.constraint(equalTo: loadingView.bottomAnchor, constant: contentEdgeInsets.bottom)\n        ])\n        layoutIfNeeded()\n    }\n    \n    private func removeLoadingViewAsSubView() {\n        loadingView?.removeFromSuperview()\n        layoutIfNeeded()\n    }\n    \n    private func showLoadingView(animaded: Bool) {\n        let animation = { [weak self] in\n            self?.loadingView?.alpha = 1\n            self?.titleLabel?.layer.opacity = 0\n            self?.imageView?.alpha = 0\n        }\n        \n        if loadingView?.superview == nil {\n            addLoadingViewAsSubView()\n            loadingView?.alpha = 0\n        }\n        \n        if animaded {\n            loadingView?.alpha = 0\n            UIView.animate(withDuration: defaultAnimationDuration, animations: animation)\n        } else {\n            animation()\n        }\n    }\n    \n    private func hideLoadingView(animaded: Bool) {\n        let animation = { [weak self] in\n            self?.loadingView?.alpha = 0\n            self?.titleLabel?.layer.opacity = 2\n            self?.imageView?.alpha = 1\n        }\n        let completion: (Bool) -> Void = { [weak self] _ in\n            self?.removeLoadingViewAsSubView()\n        }\n        \n        if animaded {\n            UIView.animate(withDuration: defaultAnimationDuration, animations: animation, completion: completion)\n        } else {\n            animation()\n            completion(true)\n        }\n    }\n}\n"
  },
  {
    "path": "SimpleButton/SimpleButtonControlState.swift",
    "content": "//\n//  SimpleButtonControlState.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 03/11/15.\n//  Copyright © 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport UIKit\n\n/**\n *  Custom SimpleButton control state\n */\npublic struct SimpleButtonControlState {\n    /// Indicates loading state of SimpleButton\n    public static let loading: UIControl.State = UIControl.State(rawValue: 1 << 16)\n}\n"
  },
  {
    "path": "SimpleButton/SimpleButtonStateChangeValue.swift",
    "content": "//\n//  SimpleButtonStateChangeValue.swift\n//  Example\n//\n//  Created by Andreas Tinoco Lobo on 03/11/15.\n//  Copyright © 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport Foundation\n/**\n *  defines whether state transition to a given value should animate and at which speed\n */\nstruct SimpleButtonStateChangeValue<T> {\n    let value: T\n    let animated: Bool\n    let animationDuration: TimeInterval\n}\n"
  },
  {
    "path": "SimpleButton.podspec",
    "content": "Pod::Spec.new do |s|\n  s.name                  = \"SimpleButton\"\n  s.version               = \"4.0.1\"\n  s.summary               = \"Simple UIButton subclass with additional state change animations (e.g. backgroundColor)\"\n  s.description           = \"Simple UIButton subclass with animated, state-aware attributes. Easy to subclass and configure!\"\n  s.homepage              = \"https://github.com/aloco/SimpleButton\"\n  s.license               = { :type => \"MIT\", :file => \"LICENSE\" }\n  s.author                = { \"Andreas Tinoco Lobo\" => \"andreas@tinoco-lobo.at\" }\n  s.platform              = :ios\n  s.ios.deployment_target = \"8.1\"\n  s.source                = { :git => \"https://github.com/aloco/SimpleButton.git\", :tag => s.version }\n  s.requires_arc          = true\n  s.source_files          = \"SimpleButton/*.swift\"\n  s.swift_version        = \"4.0\"\nend\n"
  },
  {
    "path": "SimpleButtonTests/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": "SimpleButtonTests/SimpleButtonTests.swift",
    "content": "//\n//  SimpleButtonTests.swift\n//  SimpleButtonTests\n//\n//  Created by Alexander Schuch on 14/04/15.\n//  Copyright (c) 2015 Andreas Tinoco Lobo. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nimport SimpleButton\n\nclass SimpleButtonTests: 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    \n    // MARK: BackgroundColor\n    \n    func testSetBackgroundColor() {\n        // This is an example of a functional test case.\n        let button = SimpleButton(type: .custom)\n        \n        button.setBackgroundColor(UIColor.red)\n        XCTAssertEqual(button.backgroundColor, UIColor.red, \"backgroundColor doesn't match\")\n    }\n    \n    func testSetBackgroundColorStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setBackgroundColor(UIColor.green, for: .normal, animated: true)\n        button.isEnabled = true\n        \n        XCTAssertEqual(button.backgroundColor, UIColor.green, \"enabled backgroundColor doesn't match set color\")\n        \n        button.setBackgroundColor(UIColor.red, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(button.backgroundColor, UIColor.red, \"disabled backgroundColor doesn't match set color\")\n    }\n    \n    \n    // MARK: BorderColor\n    \n    func testBorderColor() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setBorderColor(UIColor.red)\n        \n        XCTAssertEqual(UIColor(cgColor: button.layer.borderColor!), UIColor.red, \"borderColor doesn't match\")\n    }\n    \n    func testBorderColorWithStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setBorderColor(UIColor.green, for: .normal, animated: true)\n        button.isEnabled = true\n        \n        XCTAssertEqual(UIColor(cgColor: button.layer.borderColor!), UIColor.green, \"enabled borderColor doesn't match\")\n        \n        button.setBorderColor(UIColor.red, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(UIColor(cgColor: button.layer.borderColor!), UIColor.red, \"disabled borderColor doesn't match\")\n    }\n    \n    \n    // MARK: BorderWidth\n    \n    func testBorderWidthWithStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setBorderWidth(1.0)\n        button.setBorderWidth(0.5, for: .highlighted, animated: true)\n        \n        let unhighlightedWidth = button.layer.borderWidth;\n        \n        button.isHighlighted = true\n        let highlightedWidth = button.layer.borderWidth;\n        \n        XCTAssertEqual(unhighlightedWidth, 1.0, \"unhighlightedWidth doesn't macth expected width of 1.0\")\n        XCTAssertEqual(highlightedWidth, 0.5, \"highlightedWidth doesn't macth expected width of 0.5\")\n    }\n    \n    \n    // MARK: CornerRadius\n    \n    func testSetCornerRadius() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setCornerRadius(2.0)\n        \n        XCTAssertEqual(button.layer.cornerRadius, 2.0, \"corderRadius doesn't match\")\n    }\n    \n    func testSetCornerRadiusWithStateChange() {\n        let button = SimpleButton(type: .custom)\n\n        button.setCornerRadius(4.0, for: .normal, animated: true)\n        button.isEnabled = true\n        \n        XCTAssertEqual(button.layer.cornerRadius, 4.0, \"enabled corderRadius doesn't match\")\n        \n        button.setCornerRadius(2.0, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(button.layer.cornerRadius, 2.0, \"corderRadius doesn't match\")\n    }\n    \n    \n    // MARK: Scale\n    \n    func testSetScale() {\n        let button = SimpleButton(type: .custom)\n        \n        let originalScale = button.frame.height\n        button.setScale(0.5)\n        let halfSizeScale = button.frame.height\n        \n        XCTAssertEqual(originalScale * 0.5, halfSizeScale, \"halfSizeScale scale doesn't match originalScale * 0.5\")\n    }\n    \n    func testScaleWithStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setScale(0.5, for: .selected, animated: true)\n        let unselectedSize = button.frame.height\n        \n        button.isSelected = true\n        let selectedSize = button.frame.height\n        \n        XCTAssertEqual(unselectedSize * 0.5, selectedSize, \"selected scale doesn't match unselected scale * 0.5\")\n    }\n    \n    // MARK: ShadowColor\n    \n    func testSetShadowColor() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setShadowColor(UIColor.red, for: .normal, animated: true)\n        XCTAssertEqual(UIColor(cgColor: button.layer.shadowColor ?? UIColor.blue.cgColor), UIColor.red, \"shadowColor doesn't match\")\n    }\n    \n    func testSetShadowColorStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setShadowColor(UIColor.green, for: .normal, animated: true)\n        button.isEnabled = true\n        \n        XCTAssertEqual(UIColor(cgColor: button.layer.shadowColor ?? UIColor.blue.cgColor), UIColor.green, \"enabled backgroundColor doesn't match set color\")\n        \n        button.setShadowColor(UIColor.red, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(UIColor(cgColor: button.layer.shadowColor ?? UIColor.blue.cgColor), UIColor.red, \"disabled backgroundColor doesn't match set color\")\n    }\n    \n    // MARK: ShadowOffset\n    \n    func testSetShadowOffset() {\n        let button = SimpleButton(type: .custom)\n        let offset = CGSize(width: 10, height: 10)\n        button.setShadowOffset(offset, for: .normal, animated: true)\n        XCTAssertEqual(offset, button.layer.shadowOffset, \"shadowOffset doesn't match\")\n    }\n    \n    func testSetShadowOffsetStateChange() {\n        \n        let button = SimpleButton(type: .custom)\n        let offset = CGSize(width: 10, height: 10)\n        button.setShadowOffset(offset, for: .normal, animated: true)\n        XCTAssertEqual(offset, button.layer.shadowOffset, \"shadowOffset doesn't match\")\n        \n        let newOffset = CGSize(width: 2, height: 3)\n        button.setShadowOffset(newOffset, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(newOffset, button.layer.shadowOffset, \"disabled shadowOffset doesn't match\")\n    }\n    \n    // MARK: ShadowRadius\n    \n    func testSetShadowRadius() {\n        let button = SimpleButton(type: .custom)\n        let offset = CGSize(width: 10, height: 10)\n        button.setShadowOffset(offset, for: .normal, animated: true)\n        XCTAssertEqual(offset, button.layer.shadowOffset, \"shadowOffset doesn't match\")\n    }\n    \n    func testSetShadowRadiusStateChange() {\n        \n        let button = SimpleButton(type: .custom)\n\n        button.setShadowRadius(10, for: .normal, animated: true)\n        XCTAssertEqual(10, button.layer.shadowRadius, \"shadowRadius doesn't match\")\n        \n        button.setShadowRadius(2, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(2, button.layer.shadowRadius, \"disabled shadowRadius doesn't match\")\n    }\n    \n    // MARK: ShadowOpacity\n    \n    func testSetShadowOpacity() {\n        let button = SimpleButton(type: .custom)\n        let offset = CGSize(width: 10, height: 10)\n        button.setShadowOffset(offset, for: .normal, animated: true)\n        XCTAssertEqual(offset, button.layer.shadowOffset, \"shadowOffset doesn't match\")\n    }\n    \n    func testSetShadowOpacityStateChange() {\n        \n        let button = SimpleButton(type: .custom)\n        \n        button.setShadowOpacity(1, for: .normal, animated: true)\n        XCTAssertEqual(1, button.layer.shadowOpacity, \"shadowOpacity doesn't match\")\n        \n        button.setShadowOpacity(0.5, for: .disabled, animated: true)\n        button.isEnabled = false\n        \n        XCTAssertEqual(0.5, button.layer.shadowOpacity, \"disabled shadowOpacity doesn't match\")\n    }\n    \n    // MARK: EdgeCases\n    \n    func testChangeStateBackgroundColorWithoutStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        button.setBackgroundColor(UIColor.green, for: .normal, animated: true)\n        XCTAssertEqual(button.backgroundColor, UIColor.green, \"backgorundColor doesn't match\")\n        \n        button.setBackgroundColor(UIColor.red, for: .normal, animated: true)\n        XCTAssertEqual(button.backgroundColor, UIColor.red, \"backgorundColor doesn't match\")\n    }\n    \n    // MARK: StateChange tests\n    \n    func testStateChange() {\n        let button = SimpleButton(type: .custom)\n        \n        XCTAssertEqual(button.state, UIControlState.normal, \"state should be set to Normal\")\n        \n        button.isHighlighted = true\n        XCTAssertEqual(button.state, UIControlState.highlighted, \"state should be set to Highlighted\")\n        \n        button.isEnabled = false\n        print(button.state)\n        XCTAssert(button.state.contains(.highlighted), \"state should contain highlighted\")\n        \n        button.isLoading = true\n        print(button.state)\n        XCTAssert(button.state.contains(SimpleButtonControlState.loading), \"state should contain Loading\")\n    }\n    \n    // MARK: Check correct enable / disable of userInteractionEnabled\n    \n    func testUserInteractionEnabled() {\n        let button = SimpleButton(type: .custom)\n        \n        button.isEnabled = false\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n\n        button.isEnabled = true\n        XCTAssert(button.isUserInteractionEnabled == true, \"userInteractionEnabled should be set to true\")\n        \n        button.isLoading = true\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n\n        button.isLoading = false\n        XCTAssert(button.isUserInteractionEnabled == true, \"userInteractionEnabled should be set to true\")\n        \n        \n        button.isLoading = true\n        button.isEnabled = true\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n\n        button.isEnabled = false\n        button.isLoading = false\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n        \n        button.isLoading = false\n        button.isEnabled = true\n        XCTAssert(button.isUserInteractionEnabled == true, \"userInteractionEnabled should be set to true\")\n        \n        button.isLoading = true\n        button.isEnabled = false\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n        \n        \n        button.isLoading = true\n        button.isEnabled = false\n        button.isLoading = false\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n        \n        button.isLoading = false\n        button.isEnabled = true\n        button.isLoading = true\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n        \n        button.isEnabled = false\n        button.isLoading = false\n        button.isEnabled = true\n        XCTAssert(button.isUserInteractionEnabled == true, \"userInteractionEnabled should be set to true\")\n        \n        button.isEnabled = true\n        button.isLoading = true\n        button.isEnabled = false\n        XCTAssert(button.isUserInteractionEnabled == false, \"userInteractionEnabled should be set to false\")\n    }\n}\n"
  },
  {
    "path": "docs/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/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    <key>CFBundleIdentifier</key>\n      <string>com.jazzy.simplebutton</string>\n    <key>CFBundleName</key>\n      <string>SimpleButton</string>\n    <key>DocSetPlatformFamily</key>\n      <string>simplebutton</string>\n    <key>isDashDocset</key>\n      <true/>\n    <key>dashIndexFilePath</key>\n      <string>index.html</string>\n    <key>isJavaScriptEnabled</key>\n      <true/>\n    <key>DashDocSetFamily</key>\n      <string>dashtoc</string>\n  </dict>\n</plist>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L20\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L23-L31\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L90-L101\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L103-L107\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L109-L113\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L120-L145\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L150-L153\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L155-L158\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L160-L163\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L165-L168\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L182-L183\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L195-L198\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L208-L211\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L221-L224\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L234-L237\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L247-L250\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L260-L263\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L273-L276\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L286-L289\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L299-L302\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L309-L312\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L426-L430\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L12-L431\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L16\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L14-L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/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    <key>CFBundleIdentifier</key>\n      <string>com.jazzy.simplebutton</string>\n    <key>CFBundleName</key>\n      <string>SimpleButton</string>\n    <key>DocSetPlatformFamily</key>\n      <string>simplebutton</string>\n    <key>isDashDocset</key>\n      <true/>\n    <key>dashIndexFilePath</key>\n      <string>index.html</string>\n    <key>isJavaScriptEnabled</key>\n      <true/>\n    <key>DashDocSetFamily</key>\n      <string>dashtoc</string>\n  </dict>\n</plist>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L20\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L23-L31\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L90-L101\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L103-L107\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L109-L113\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L120-L145\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L150-L153\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L155-L158\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L160-L163\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L165-L168\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L182-L183\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L195-L198\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L208-L211\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L221-L224\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L234-L237\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L247-L250\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L260-L263\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L273-L276\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L286-L289\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L299-L302\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L309-L312\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L426-L430\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L12-L431\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L16\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L14-L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/docsets/SimpleButton.xml",
    "content": "<entry><version>4.0</version><url>https://github.com/aloco/SimpleButton/tree/swift-4.0/api/docsets/SimpleButton.tgz</url></entry>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/docsets/SimpleButton.docset/Contents/Resources/Documents/swift_output/undocumented.json",
    "content": "{\n  \"warnings\": [\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 12,\n      \"symbol\": \"SimpleButton\",\n      \"symbol_kind\": \"source.lang.swift.decl.class\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 90,\n      \"symbol\": \"SimpleButton.isEnabled\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 103,\n      \"symbol\": \"SimpleButton.isHighlighted\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 109,\n      \"symbol\": \"SimpleButton.isSelected\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 150,\n      \"symbol\": \"SimpleButton.init(frame:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 155,\n      \"symbol\": \"SimpleButton.init(coder:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 160,\n      \"symbol\": \"SimpleButton.prepareForInterfaceBuilder()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 165,\n      \"symbol\": \"SimpleButton.awakeFromNib()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 426,\n      \"symbol\": \"SimpleButton.layoutSubviews()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    }\n  ],\n  \"source_directory\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton\"\n}"
  },
  {
    "path": "docs/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/SimpleButton\" target=\"_blank\" rel=\"external\">Andreas Tinoco Lobo</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/swift_output/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L20\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L23-L31\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L90-L101\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L103-L107\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L109-L113\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L120-L145\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L150-L153\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L155-L158\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L160-L163\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L165-L168\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L182-L183\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L195-L198\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L208-L211\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L221-L224\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L234-L237\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L247-L250\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L260-L263\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L273-L276\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L286-L289\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L299-L302\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L309-L312\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L426-L430\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L12-L431\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L16\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L14-L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/swift_output/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/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    <key>CFBundleIdentifier</key>\n      <string>com.jazzy.simplebutton</string>\n    <key>CFBundleName</key>\n      <string>SimpleButton</string>\n    <key>DocSetPlatformFamily</key>\n      <string>simplebutton</string>\n    <key>isDashDocset</key>\n      <true/>\n    <key>dashIndexFilePath</key>\n      <string>index.html</string>\n    <key>isJavaScriptEnabled</key>\n      <true/>\n    <key>DashDocSetFamily</key>\n      <string>dashtoc</string>\n  </dict>\n</plist>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes/SimpleButton.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton Class Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButton Class Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButton Class Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButton</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                </div>\n              </div>\n            <p>Undocumented</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/loadingView\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Loading view. UIActivityIndicatorView as default</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">loadingView</span><span class=\"p\">:</span> <span class=\"kt\">UIView</span><span class=\"p\">?</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/defaultAnimationDuration\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Default duration of animated state change.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">defaultAnimationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L20\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\"></a>\n                    <a name=\"//apple_ref/swift/Property/state\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\">state</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Represents current button state.</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"k\">var</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L23-L31\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Overrides\"></a>\n                <a name=\"//apple_ref/swift/Section/Overrides\" class=\"dashAnchor\"></a>\n                <a href=\"#/Overrides\">\n                  <h3 class=\"section-name\">Overrides</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\"></a>\n                    <a name=\"//apple_ref/swift/Property/isEnabled\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\">isEnabled</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isEnabled</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L90-L101\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\"></a>\n                    <a name=\"//apple_ref/swift/Property/isHighlighted\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\">isHighlighted</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isHighlighted</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L103-L107\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\"></a>\n                    <a name=\"//apple_ref/swift/Property/isSelected\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\">isSelected</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isSelected</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L109-L113\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Custom%20states\"></a>\n                <a name=\"//apple_ref/swift/Section/Custom states\" class=\"dashAnchor\"></a>\n                <a href=\"#/Custom%20states\">\n                  <h3 class=\"section-name\">Custom states</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC9isLoadingSbvp\"></a>\n                    <a name=\"//apple_ref/swift/Property/isLoading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC9isLoadingSbvp\">isLoading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>A Boolean value that determines the SimpleButton´s loading state.\nSpecify <code>true</code> to switch to the loading state.\nIf set to <code>true</code>, SimpleButton shows <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\">loadingView</a></code> and hides the default <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">var</span> <span class=\"nv\">isLoading</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"p\">{</span> <span class=\"k\">get</span> <span class=\"k\">set</span> <span class=\"p\">}</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L120-L145\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Initializer\"></a>\n                <a name=\"//apple_ref/swift/Section/Initializer\" class=\"dashAnchor\"></a>\n                <a href=\"#/Initializer\">\n                  <h3 class=\"section-name\">Initializer</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(frame:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\">init(frame:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"k\">override</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"nv\">frame</span><span class=\"p\">:</span> <span class=\"kt\">CGRect</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L150-L153\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\"></a>\n                    <a name=\"//apple_ref/swift/Method/init(coder:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\">init(coder:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">required</span> <span class=\"kd\">public</span> <span class=\"nf\">init</span><span class=\"p\">?(</span><span class=\"n\">coder</span> <span class=\"nv\">aDecoder</span><span class=\"p\">:</span> <span class=\"kt\">NSCoder</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L155-L158\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\"></a>\n                    <a name=\"//apple_ref/swift/Method/prepareForInterfaceBuilder()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\">prepareForInterfaceBuilder()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">prepareForInterfaceBuilder</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L160-L163\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\"></a>\n                    <a name=\"//apple_ref/swift/Method/awakeFromNib()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\">awakeFromNib()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">awakeFromNib</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L165-L168\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Configuration\"></a>\n                <a name=\"//apple_ref/swift/Section/Configuration\" class=\"dashAnchor\"></a>\n                <a href=\"#/Configuration\">\n                  <h3 class=\"section-name\">Configuration</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC09configureB6StylesyyF\"></a>\n                    <a name=\"//apple_ref/swift/Method/configureButtonStyles()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC09configureB6StylesyyF\">configureButtonStyles()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L182-L183\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Setter%20for%20state%20attributes\"></a>\n                <a name=\"//apple_ref/swift/Section/Setter for state attributes\" class=\"dashAnchor\"></a>\n                <a href=\"#/Setter%20for%20state%20attributes\">\n                  <h3 class=\"section-name\">Setter for state attributes</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setScale(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setScale(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the scale for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">scale</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>scale</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>scale of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that scale applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in scale should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L195-L198\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBackgroundColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBackgroundColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the background color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>background color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that background color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in background color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L208-L211\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderWidth(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setBorderWidth(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border width for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">width</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>width</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border width of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border width applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border width should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L221-L224\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setBorderColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setBorderColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the border color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>border color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that border color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in border color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L234-L237\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setCornerRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setCornerRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the corner radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setCornerRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>corner radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that corner radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in radius of the corners should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L247-L250\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowColor(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\">setShadowColor(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow color for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowColor</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">color</span><span class=\"p\">:</span> <span class=\"kt\">UIColor</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>color</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow color of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow color applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow color should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L260-L263\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOpacity(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\">setShadowOpacity(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOpacity</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">opacity</span><span class=\"p\">:</span> <span class=\"kt\">Float</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>opacity</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow opacity of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow opacity applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow opacity should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L273-L276\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowRadius(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\">setShadowRadius(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow radius for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowRadius</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">radius</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>radius</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow radius of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow radius applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow radius should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L286-L289\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setShadowOffset(_:for:animated:animationDuration:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\">setShadowOffset(_:for:animated:animationDuration:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the shadow offset for a specific <code>UIControlState</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setShadowOffset</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">offset</span><span class=\"p\">:</span> <span class=\"kt\">CGSize</span><span class=\"p\">,</span> <span class=\"k\">for</span> <span class=\"nv\">state</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span> <span class=\"o\">=</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">,</span> <span class=\"nv\">animated</span><span class=\"p\">:</span> <span class=\"kt\">Bool</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"nv\">animationDuration</span><span class=\"p\">:</span> <span class=\"kt\">TimeInterval</span><span class=\"p\">?</span> <span class=\"o\">=</span> <span class=\"kc\">nil</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>offset</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>shadow offset of button</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>state</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines at which state that shadow offset applies</p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animated</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>determines if that change in shadow offset should animate. Default is <code>true</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>animationDuration</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>set this value if you need a specific animation duration for this specific state change. If this is nil, the animation duration is taken from <code><a href=\"../Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\">defaultAnimationDuration</a></code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L299-L302\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\"></a>\n                    <a name=\"//apple_ref/swift/Method/setTitleImageSpacing(_:)\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\">setTitleImageSpacing(_:)</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">setTitleImageSpacing</span><span class=\"p\">(</span><span class=\"n\">_</span> <span class=\"nv\">spacing</span><span class=\"p\">:</span> <span class=\"kt\">CGFloat</span><span class=\"p\">)</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div>\n                        <h4>Parameters</h4>\n                        <table class=\"graybox\">\n                          <tbody>\n                            <tr>\n                              <td>\n                                <code>\n                                <em>spacing</em>\n                                </code>\n                              </td>\n                              <td>\n                                <div>\n                                  <p>spacing between <code>titleLabel</code> and <code>imageView</code></p>\n                                </div>\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L309-L312\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n            <div class=\"task-group\">\n              <div class=\"task-name-container\">\n                <a name=\"/Layout\"></a>\n                <a name=\"//apple_ref/swift/Section/Layout\" class=\"dashAnchor\"></a>\n                <a href=\"#/Layout\">\n                  <h3 class=\"section-name\">Layout</h3>\n                </a>\n              </div>\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\"></a>\n                    <a name=\"//apple_ref/swift/Method/layoutSubviews()\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\">layoutSubviews()</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"k\">override</span> <span class=\"kd\">open</span> <span class=\"kd\">func</span> <span class=\"nf\">layoutSubviews</span><span class=\"p\">()</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L426-L430\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Classes.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Classes  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Classes\" class=\"dashAnchor\"></a>\n    <a title=\"Classes  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Classes  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Classes</h1>\n            <p>The following classes are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/c:@M@SimpleButton@objc(cs)SimpleButton\"></a>\n                    <a name=\"//apple_ref/swift/Class/SimpleButton\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/c:@M@SimpleButton@objc(cs)SimpleButton\">SimpleButton</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Undocumented</p>\n\n                        <a href=\"Classes/SimpleButton.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">open</span> <span class=\"kd\">class</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">:</span> <span class=\"kt\">UIButton</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButton.swift#L12-L431\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs/SimpleButtonControlState.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButtonControlState Structure Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"../js/jquery.min.js\" defer></script>\n    <script src=\"../js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n    <a title=\"SimpleButtonControlState Structure Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"../index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"../img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"../img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"../index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"../img/carat.png\" />\n        SimpleButtonControlState Structure Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"../Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"../Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"../Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>SimpleButtonControlState</h1>\n              <div class=\"declaration\">\n                <div class=\"language\">\n                  <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                </div>\n              </div>\n            <p>Custom SimpleButton control state</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\"></a>\n                    <a name=\"//apple_ref/swift/Variable/loading\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\">loading</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Indicates loading state of SimpleButton</p>\n\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">static</span> <span class=\"k\">let</span> <span class=\"nv\">loading</span><span class=\"p\">:</span> <span class=\"kt\">UIControl</span><span class=\"o\">.</span><span class=\"kt\">State</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L16\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/Structs.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>Structures  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a name=\"//apple_ref/swift/Section/Structures\" class=\"dashAnchor\"></a>\n    <a title=\"Structures  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        Structures  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            <h1>Structures</h1>\n            <p>The following structures are available globally.</p>\n\n          </section>\n          <section class=\"section task-group-section\">\n            <div class=\"task-group\">\n              <ul>\n                <li class=\"item\">\n                  <div>\n                    <code>\n                    <a name=\"/s:12SimpleButton0aB12ControlStateV\"></a>\n                    <a name=\"//apple_ref/swift/Struct/SimpleButtonControlState\" class=\"dashAnchor\"></a>\n                    <a class=\"token\" href=\"#/s:12SimpleButton0aB12ControlStateV\">SimpleButtonControlState</a>\n                    </code>\n                  </div>\n                  <div class=\"height-container\">\n                    <div class=\"pointer-container\"></div>\n                    <section class=\"section\">\n                      <div class=\"pointer\"></div>\n                      <div class=\"abstract\">\n                        <p>Custom SimpleButton control state</p>\n\n                        <a href=\"Structs/SimpleButtonControlState.html\" class=\"slightly-smaller\">See more</a>\n                      </div>\n                      <div class=\"declaration\">\n                        <h4>Declaration</h4>\n                        <div class=\"language\">\n                          <p class=\"aside-title\">Swift</p>\n                          <pre class=\"highlight swift\"><code><span class=\"kd\">public</span> <span class=\"kd\">struct</span> <span class=\"kt\">SimpleButtonControlState</span></code></pre>\n\n                        </div>\n                      </div>\n                      <div class=\"slightly-smaller\">\n                        <a href=\"https://github.com/aloco/SimpleButton/tree/swift-4.0/SimpleButton/SimpleButtonControlState.swift#L14-L17\">Show on GitHub</a>\n                      </div>\n                    </section>\n                  </div>\n                </li>\n              </ul>\n            </div>\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/css/highlight.css",
    "content": "/* Credit to https://gist.github.com/wataru420/2048287 */\n.highlight {\n  /* Comment */\n  /* Error */\n  /* Keyword */\n  /* Operator */\n  /* Comment.Multiline */\n  /* Comment.Preproc */\n  /* Comment.Single */\n  /* Comment.Special */\n  /* Generic.Deleted */\n  /* Generic.Deleted.Specific */\n  /* Generic.Emph */\n  /* Generic.Error */\n  /* Generic.Heading */\n  /* Generic.Inserted */\n  /* Generic.Inserted.Specific */\n  /* Generic.Output */\n  /* Generic.Prompt */\n  /* Generic.Strong */\n  /* Generic.Subheading */\n  /* Generic.Traceback */\n  /* Keyword.Constant */\n  /* Keyword.Declaration */\n  /* Keyword.Pseudo */\n  /* Keyword.Reserved */\n  /* Keyword.Type */\n  /* Literal.Number */\n  /* Literal.String */\n  /* Name.Attribute */\n  /* Name.Builtin */\n  /* Name.Class */\n  /* Name.Constant */\n  /* Name.Entity */\n  /* Name.Exception */\n  /* Name.Function */\n  /* Name.Namespace */\n  /* Name.Tag */\n  /* Name.Variable */\n  /* Operator.Word */\n  /* Text.Whitespace */\n  /* Literal.Number.Float */\n  /* Literal.Number.Hex */\n  /* Literal.Number.Integer */\n  /* Literal.Number.Oct */\n  /* Literal.String.Backtick */\n  /* Literal.String.Char */\n  /* Literal.String.Doc */\n  /* Literal.String.Double */\n  /* Literal.String.Escape */\n  /* Literal.String.Heredoc */\n  /* Literal.String.Interpol */\n  /* Literal.String.Other */\n  /* Literal.String.Regex */\n  /* Literal.String.Single */\n  /* Literal.String.Symbol */\n  /* Name.Builtin.Pseudo */\n  /* Name.Variable.Class */\n  /* Name.Variable.Global */\n  /* Name.Variable.Instance */\n  /* Literal.Number.Integer.Long */ }\n  .highlight .c {\n    color: #999988;\n    font-style: italic; }\n  .highlight .err {\n    color: #a61717;\n    background-color: #e3d2d2; }\n  .highlight .k {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .o {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .cm {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cp {\n    color: #999999;\n    font-weight: bold; }\n  .highlight .c1 {\n    color: #999988;\n    font-style: italic; }\n  .highlight .cs {\n    color: #999999;\n    font-weight: bold;\n    font-style: italic; }\n  .highlight .gd {\n    color: #000000;\n    background-color: #ffdddd; }\n  .highlight .gd .x {\n    color: #000000;\n    background-color: #ffaaaa; }\n  .highlight .ge {\n    color: #000000;\n    font-style: italic; }\n  .highlight .gr {\n    color: #aa0000; }\n  .highlight .gh {\n    color: #999999; }\n  .highlight .gi {\n    color: #000000;\n    background-color: #ddffdd; }\n  .highlight .gi .x {\n    color: #000000;\n    background-color: #aaffaa; }\n  .highlight .go {\n    color: #888888; }\n  .highlight .gp {\n    color: #555555; }\n  .highlight .gs {\n    font-weight: bold; }\n  .highlight .gu {\n    color: #aaaaaa; }\n  .highlight .gt {\n    color: #aa0000; }\n  .highlight .kc {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kd {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kp {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kr {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .kt {\n    color: #445588; }\n  .highlight .m {\n    color: #009999; }\n  .highlight .s {\n    color: #d14; }\n  .highlight .na {\n    color: #008080; }\n  .highlight .nb {\n    color: #0086B3; }\n  .highlight .nc {\n    color: #445588;\n    font-weight: bold; }\n  .highlight .no {\n    color: #008080; }\n  .highlight .ni {\n    color: #800080; }\n  .highlight .ne {\n    color: #990000;\n    font-weight: bold; }\n  .highlight .nf {\n    color: #990000; }\n  .highlight .nn {\n    color: #555555; }\n  .highlight .nt {\n    color: #000080; }\n  .highlight .nv {\n    color: #008080; }\n  .highlight .ow {\n    color: #000000;\n    font-weight: bold; }\n  .highlight .w {\n    color: #bbbbbb; }\n  .highlight .mf {\n    color: #009999; }\n  .highlight .mh {\n    color: #009999; }\n  .highlight .mi {\n    color: #009999; }\n  .highlight .mo {\n    color: #009999; }\n  .highlight .sb {\n    color: #d14; }\n  .highlight .sc {\n    color: #d14; }\n  .highlight .sd {\n    color: #d14; }\n  .highlight .s2 {\n    color: #d14; }\n  .highlight .se {\n    color: #d14; }\n  .highlight .sh {\n    color: #d14; }\n  .highlight .si {\n    color: #d14; }\n  .highlight .sx {\n    color: #d14; }\n  .highlight .sr {\n    color: #009926; }\n  .highlight .s1 {\n    color: #d14; }\n  .highlight .ss {\n    color: #990073; }\n  .highlight .bp {\n    color: #999999; }\n  .highlight .vc {\n    color: #008080; }\n  .highlight .vg {\n    color: #008080; }\n  .highlight .vi {\n    color: #008080; }\n  .highlight .il {\n    color: #009999; }\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/css/jazzy.css",
    "content": "html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {\n  background: transparent;\n  border: 0;\n  margin: 0;\n  outline: 0;\n  padding: 0;\n  vertical-align: baseline; }\n\nbody {\n  background-color: #f2f2f2;\n  font-family: Helvetica, freesans, Arial, sans-serif;\n  font-size: 14px;\n  -webkit-font-smoothing: subpixel-antialiased;\n  word-wrap: break-word; }\n\nh1, h2, h3 {\n  margin-top: 0.8em;\n  margin-bottom: 0.3em;\n  font-weight: 100;\n  color: black; }\n\nh1 {\n  font-size: 2.5em; }\n\nh2 {\n  font-size: 2em;\n  border-bottom: 1px solid #e2e2e2; }\n\nh4 {\n  font-size: 13px;\n  line-height: 1.5;\n  margin-top: 21px; }\n\nh5 {\n  font-size: 1.1em; }\n\nh6 {\n  font-size: 1.1em;\n  color: #777; }\n\n.section-name {\n  color: gray;\n  display: block;\n  font-family: Helvetica;\n  font-size: 22px;\n  font-weight: 100;\n  margin-bottom: 15px; }\n\npre, code {\n  font: 0.95em Menlo, monospace;\n  color: #777;\n  word-wrap: normal; }\n\np code, li code {\n  background-color: #eee;\n  padding: 2px 4px;\n  border-radius: 4px; }\n\na {\n  color: #0088cc;\n  text-decoration: none; }\n\nul {\n  padding-left: 15px; }\n\nli {\n  line-height: 1.8em; }\n\nimg {\n  max-width: 100%; }\n\nblockquote {\n  margin-left: 0;\n  padding: 0 10px;\n  border-left: 4px solid #ccc; }\n\n.content-wrapper {\n  margin: 0 auto;\n  width: 980px; }\n\nheader {\n  font-size: 0.85em;\n  line-height: 26px;\n  background-color: #414141;\n  position: fixed;\n  width: 100%;\n  z-index: 1; }\n  header img {\n    padding-right: 6px;\n    vertical-align: -4px;\n    height: 16px; }\n  header a {\n    color: #fff; }\n  header p {\n    float: left;\n    color: #999; }\n  header .header-right {\n    float: right;\n    margin-left: 16px; }\n\n#breadcrumbs {\n  background-color: #f2f2f2;\n  height: 27px;\n  padding-top: 17px;\n  position: fixed;\n  width: 100%;\n  z-index: 1;\n  margin-top: 26px; }\n  #breadcrumbs #carat {\n    height: 10px;\n    margin: 0 5px; }\n\n.sidebar {\n  background-color: #f9f9f9;\n  border: 1px solid #e2e2e2;\n  overflow-y: auto;\n  overflow-x: hidden;\n  position: fixed;\n  top: 70px;\n  bottom: 0;\n  width: 230px;\n  word-wrap: normal; }\n\n.nav-groups {\n  list-style-type: none;\n  background: #fff;\n  padding-left: 0; }\n\n.nav-group-name {\n  border-bottom: 1px solid #e2e2e2;\n  font-size: 1.1em;\n  font-weight: 100;\n  padding: 15px 0 15px 20px; }\n  .nav-group-name > a {\n    color: #333; }\n\n.nav-group-tasks {\n  margin-top: 5px; }\n\n.nav-group-task {\n  font-size: 0.9em;\n  list-style-type: none;\n  white-space: nowrap; }\n  .nav-group-task a {\n    color: #888; }\n\n.main-content {\n  background-color: #fff;\n  border: 1px solid #e2e2e2;\n  margin-left: 246px;\n  position: absolute;\n  overflow: hidden;\n  padding-bottom: 60px;\n  top: 70px;\n  width: 734px; }\n  .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {\n    margin-bottom: 1em; }\n  .main-content p {\n    line-height: 1.8em; }\n  .main-content section .section:first-child {\n    margin-top: 0;\n    padding-top: 0; }\n  .main-content section .task-group-section .task-group:first-of-type {\n    padding-top: 10px; }\n    .main-content section .task-group-section .task-group:first-of-type .section-name {\n      padding-top: 15px; }\n  .main-content section .heading:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n\n.section {\n  padding: 0 25px; }\n\n.highlight {\n  background-color: #eee;\n  padding: 10px 12px;\n  border: 1px solid #e2e2e2;\n  border-radius: 4px;\n  overflow-x: auto; }\n\n.declaration .highlight {\n  overflow-x: initial;\n  padding: 0 40px 40px 0;\n  margin-bottom: -25px;\n  background-color: transparent;\n  border: none; }\n\n.section-name {\n  margin: 0;\n  margin-left: 18px; }\n\n.task-group-section {\n  padding-left: 6px;\n  border-top: 1px solid #e2e2e2; }\n\n.task-group {\n  padding-top: 0px; }\n\n.task-name-container a[name]:before {\n  content: \"\";\n  display: block;\n  padding-top: 70px;\n  margin: -70px 0 0; }\n\n.item {\n  padding-top: 8px;\n  width: 100%;\n  list-style-type: none; }\n  .item a[name]:before {\n    content: \"\";\n    display: block;\n    padding-top: 70px;\n    margin: -70px 0 0; }\n  .item code {\n    background-color: transparent;\n    padding: 0; }\n  .item .token {\n    padding-left: 3px;\n    margin-left: 15px;\n    font-size: 11.9px; }\n  .item .declaration-note {\n    font-size: .85em;\n    color: gray;\n    font-style: italic; }\n\n.pointer-container {\n  border-bottom: 1px solid #e2e2e2;\n  left: -23px;\n  padding-bottom: 13px;\n  position: relative;\n  width: 110%; }\n\n.pointer {\n  background: #f9f9f9;\n  border-left: 1px solid #e2e2e2;\n  border-top: 1px solid #e2e2e2;\n  height: 12px;\n  left: 21px;\n  top: -7px;\n  -webkit-transform: rotate(45deg);\n  -moz-transform: rotate(45deg);\n  -o-transform: rotate(45deg);\n  transform: rotate(45deg);\n  position: absolute;\n  width: 12px; }\n\n.height-container {\n  display: none;\n  left: -25px;\n  padding: 0 25px;\n  position: relative;\n  width: 100%;\n  overflow: hidden; }\n  .height-container .section {\n    background: #f9f9f9;\n    border-bottom: 1px solid #e2e2e2;\n    left: -25px;\n    position: relative;\n    width: 100%;\n    padding-top: 10px;\n    padding-bottom: 5px; }\n\n.aside, .language {\n  padding: 6px 12px;\n  margin: 12px 0;\n  border-left: 5px solid #dddddd;\n  overflow-y: hidden; }\n  .aside .aside-title, .language .aside-title {\n    font-size: 9px;\n    letter-spacing: 2px;\n    text-transform: uppercase;\n    padding-bottom: 0;\n    margin: 0;\n    color: #aaa;\n    -webkit-user-select: none; }\n  .aside p:last-child, .language p:last-child {\n    margin-bottom: 0; }\n\n.language {\n  border-left: 5px solid #cde9f4; }\n  .language .aside-title {\n    color: #4b8afb; }\n\n.aside-warning {\n  border-left: 5px solid #ff6666; }\n  .aside-warning .aside-title {\n    color: #ff0000; }\n\n.graybox {\n  border-collapse: collapse;\n  width: 100%; }\n  .graybox p {\n    margin: 0;\n    word-break: break-word;\n    min-width: 50px; }\n  .graybox td {\n    border: 1px solid #e2e2e2;\n    padding: 5px 25px 5px 10px;\n    vertical-align: middle; }\n  .graybox tr td:first-of-type {\n    text-align: right;\n    padding: 7px;\n    vertical-align: top;\n    word-break: normal;\n    width: 40px; }\n\n.slightly-smaller {\n  font-size: 0.9em; }\n\n#footer {\n  position: absolute;\n  bottom: 10px;\n  margin-left: 25px; }\n  #footer p {\n    margin: 0;\n    color: #aaa;\n    font-size: 0.8em; }\n\nhtml.dash header, html.dash #breadcrumbs, html.dash .sidebar {\n  display: none; }\nhtml.dash .main-content {\n  width: 980px;\n  margin-left: 0;\n  border: none;\n  width: 100%;\n  top: 0;\n  padding-bottom: 0; }\nhtml.dash .height-container {\n  display: block; }\nhtml.dash .item .token {\n  margin-left: 0; }\nhtml.dash .content-wrapper {\n  width: auto; }\nhtml.dash #footer {\n  position: static; }\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.docset/Contents/Resources/Documents/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/swift_output/docsets/SimpleButton.xml",
    "content": "<entry><version>4.0</version><url>https://github.com/aloco/SimpleButton/tree/swift-4.0/api/docsets/SimpleButton.tgz</url></entry>\n"
  },
  {
    "path": "docs/swift_output/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <title>SimpleButton  Reference</title>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jazzy.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/highlight.css\" />\n    <meta charset='utf-8'>\n    <script src=\"js/jquery.min.js\" defer></script>\n    <script src=\"js/jazzy.js\" defer></script>\n    \n  </head>\n  <body>\n    <a title=\"SimpleButton  Reference\"></a>\n    <header>\n      <div class=\"content-wrapper\">\n        <p><a href=\"index.html\">SimpleButton Docs</a> (65% documented)</p>\n        <p class=\"header-right\"><a href=\"https://github.com/aloco/simplebutton\"><img src=\"img/gh.png\"/>View on GitHub</a></p>\n        <p class=\"header-right\"><a href=\"dash-feed://https%3A%2F%2Fgithub%2Ecom%2Faloco%2FSimpleButton%2Ftree%2Fswift%2D4%2E0%2Fapi%2Fdocsets%2FSimpleButton%2Exml\"><img src=\"img/dash.png\"/>Install in Dash</a></p>\n      </div>\n    </header>\n    <div class=\"content-wrapper\">\n      <p id=\"breadcrumbs\">\n        <a href=\"index.html\">SimpleButton Reference</a>\n        <img id=\"carat\" src=\"img/carat.png\" />\n        SimpleButton  Reference\n      </p>\n    </div>\n    <div class=\"content-wrapper\">\n      <nav class=\"sidebar\">\n        <ul class=\"nav-groups\">\n          <li class=\"nav-group-name\">\n            <a href=\"Classes.html\">Classes</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Classes/SimpleButton.html\">SimpleButton</a>\n              </li>\n            </ul>\n          </li>\n          <li class=\"nav-group-name\">\n            <a href=\"Structs.html\">Structures</a>\n            <ul class=\"nav-group-tasks\">\n              <li class=\"nav-group-task\">\n                <a href=\"Structs/SimpleButtonControlState.html\">SimpleButtonControlState</a>\n              </li>\n            </ul>\n          </li>\n        </ul>\n      </nav>\n      <article class=\"main-content\">\n        <section>\n          <section class=\"section\">\n            \n            <h1 id='simplebutton' class='heading'>SimpleButton</h1>\n\n<p><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\">\n<a href=\"https://travis-ci.org/aloco/SimpleButton\"><img src=\"https://travis-ci.org/aloco/SimpleButton.svg?branch=swift-3.0\" alt=\"Build Status\"></a>\n<img src=\"https://img.shields.io/badge/Swift-4-orange.svg\" alt=\"Swift 4\"></p>\n\n<p>UIButton subclass with animated, state-aware attributes. Easy to subclass and configure! <a href=\"http://aloco.github.io/SimpleButton/swift_output\">Full API docs</a></p>\n\n<p><img src=\"Resources/example.gif\" alt=\"Sample\"></p>\n<h2 id='usage' class='heading'>Usage</h2>\n\n<p>Just create your own <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass and configure your button attributes by overriding <code>configureButtonStyles</code>.</p>\n<pre class=\"highlight swift\"><code><span class=\"kd\">class</span> <span class=\"kt\">PrimaryButton</span><span class=\"p\">:</span> <span class=\"kt\">SimpleButton</span> <span class=\"p\">{</span>\n    <span class=\"k\">override</span> <span class=\"kd\">func</span> <span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span> <span class=\"p\">{</span>\n        <span class=\"k\">super</span><span class=\"o\">.</span><span class=\"nf\">configureButtonStyles</span><span class=\"p\">()</span>\n        <span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">4.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">52</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">73</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">94</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBackgroundColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"p\">(</span><span class=\"nv\">red</span><span class=\"p\">:</span> <span class=\"mi\">44</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">green</span><span class=\"p\">:</span> <span class=\"mi\">62</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">blue</span><span class=\"p\">:</span> <span class=\"mi\">80</span><span class=\"o\">/</span><span class=\"mi\">255</span><span class=\"p\">,</span> <span class=\"nv\">alpha</span><span class=\"p\">:</span> <span class=\"mf\">1.0</span><span class=\"p\">),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n        <span class=\"nf\">setScale</span><span class=\"p\">(</span><span class=\"mf\">0.98</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n        <span class=\"nf\">setTitleColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">whiteColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre>\n\n<p>For usage in Interfacebuilder, just use your <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> subclass as custom class for any <code>UIButton</code> element. All defined styles gets applied automatically.</p>\n\n<p>You can also configure your button without a subclass directly inline.</p>\n<pre class=\"highlight swift\"><code><span class=\"k\">let</span> <span class=\"nv\">awesomeButton</span> <span class=\"o\">=</span> <span class=\"kt\">SimpleButton</span><span class=\"p\">(</span><span class=\"nv\">type</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">custom</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderWidth</span><span class=\"p\">(</span><span class=\"mf\">2.0</span><span class=\"p\">,</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">normal</span><span class=\"p\">)</span>\n<span class=\"n\">awesomeButton</span><span class=\"o\">.</span><span class=\"nf\">setBorderColor</span><span class=\"p\">(</span><span class=\"kt\">UIColor</span><span class=\"o\">.</span><span class=\"nf\">redColor</span><span class=\"p\">(),</span> <span class=\"nv\">for</span><span class=\"p\">:</span> <span class=\"o\">.</span><span class=\"n\">highlighted</span><span class=\"p\">)</span>\n<span class=\"n\">view</span><span class=\"o\">.</span><span class=\"nf\">addSubview</span><span class=\"p\">(</span><span class=\"n\">awesomeButton</span><span class=\"p\">)</span>\n</code></pre>\n\n<p>Note that you should use <code>UIButtonType.custom</code> to avoid undesired effects.</p>\n\n<p>Please checkout the example project for a detailed usage demo.</p>\n<h4 id='ibdesignable' class='heading'>@IBDesignable</h4>\n\n<p>Have a look on <a href=\"Example/DesignableButton.swift\">DesignableButton</a> subclass within the Example Project for <code>@IBDesignable</code> usage.</p>\n<h3 id='animation' class='heading'>Animation</h3>\n\n<p>Each state change of <code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> animates by default. Sometimes you need to define which state transition should animate and which should happen immediately. Therefore you can control that behaviour with the <code>animated</code> and <code>animationDuration</code> parameters. </p>\n<pre class=\"highlight plaintext\"><code>setBorderWidth(4.0, for: .normal, animated: true, animationDuration: 0.2)\nsetBorderWidth(8.0, for: .highlighted, animated: false)\n</code></pre>\n\n<p>This means, every state change to <code>.normal</code> animates the <code>borderWidth</code> to <code>4.0</code>. \nEvery state change to <code>.highlighted</code> changes instantly the <code>borderWidth</code> to <code>8.0</code> without animation.</p>\n<h3 id='loading-state' class='heading'>Loading state</h3>\n\n<p><code><a href=\"Classes/SimpleButton.html\">SimpleButton</a></code> has a custom <code>loading</code> state. You can toggle this state by setting <code>simpleButton.isLoading</code>. The button shows an <code>UIActivityIndicator</code> instead of the title when adding the <code>loading</code> state.</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.setCornerRadius(20, for: SimpleButtonControlState.loading)\nsimpleButton.isLoading = true\n</code></pre>\n\n<p>If you don´t like the default loading indicator, you can set your own <code>UIView</code> by doing</p>\n<pre class=\"highlight plaintext\"><code>simpleButton.loadingView = CustomAwesomeLoadingView()\n</code></pre>\n\n<p>Please note, when using a custom loading view don´t forget to handle the position and initial add to subview by yourself to fit your needs.</p>\n<h2 id='configurable-attributes' class='heading'>Configurable attributes</h2>\n\n<p>Take a look at the <code>Setter for state attributes</code> section of the <a href=\"http://aloco.github.io/SimpleButton/swift_output/Classes/SimpleButton.html#/Setter%20for%20state%20attributes\">API Docs</a> </p>\n<h2 id='installation' class='heading'>Installation</h2>\n\n<p>Note that SimpleButton is written in <code>swift 4</code> and may not be compatible with previous versions of swift. </p>\n<h4 id='carthage' class='heading'>Carthage</h4>\n\n<p>Add the following line to your <a href=\"https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile\">Cartfile</a>.</p>\n<pre class=\"highlight plaintext\"><code>github \"aloco/SimpleButton\" ~&gt; 4.0\n</code></pre>\n\n<p>Then run <code>carthage update</code>.</p>\n<h4 id='manually' class='heading'>Manually</h4>\n\n<p>Just drag and drop the <code>SimpleButton.swift</code> file into  your project.</p>\n<h2 id='contributing' class='heading'>Contributing</h2>\n\n<ul>\n<li>Create something awesome, make the code better, add some functionality,\nwhatever (this is the hardest part).</li>\n<li><a href=\"http://help.github.com/forking/\">Fork it</a></li>\n<li>Create new branch to make your changes</li>\n<li>Commit all your changes to your branch</li>\n<li>Submit a <a href=\"http://help.github.com/pull-requests/\">pull request</a></li>\n</ul>\n\n          </section>\n        </section>\n        <section id=\"footer\">\n          <p>&copy; 2018 <a class=\"link\" href=\"https://github.com/aloco/simplebutton\" target=\"_blank\" rel=\"external\">Andreas</a>. All rights reserved. (Last updated: 2018-12-29)</p>\n          <p>Generated by <a class=\"link\" href=\"https://github.com/realm/jazzy\" target=\"_blank\" rel=\"external\">jazzy ♪♫ v0.9.4</a>, a <a class=\"link\" href=\"https://realm.io\" target=\"_blank\" rel=\"external\">Realm</a> project.</p>\n        </section>\n      </article>\n    </div>\n  </body>\n</div>\n</html>\n"
  },
  {
    "path": "docs/swift_output/js/jazzy.js",
    "content": "window.jazzy = {'docset': false}\nif (typeof window.dash != 'undefined') {\n  document.documentElement.className += ' dash'\n  window.jazzy.docset = true\n}\nif (navigator.userAgent.match(/xcode/i)) {\n  document.documentElement.className += ' xcode'\n  window.jazzy.docset = true\n}\n\n// On doc load, toggle the URL hash discussion if present\n$(document).ready(function() {\n  if (!window.jazzy.docset) {\n    var linkToHash = $('a[href=\"' + window.location.hash +'\"]');\n    linkToHash.trigger(\"click\");\n  }\n});\n\n// On token click, toggle its discussion and animate token.marginLeft\n$(\".token\").click(function(event) {\n  if (window.jazzy.docset) {\n    return;\n  }\n  var link = $(this);\n  var animationDuration = 300;\n  var tokenOffset = \"15px\";\n  var original = link.css('marginLeft') == tokenOffset;\n  link.animate({'margin-left':original ? \"0px\" : tokenOffset}, animationDuration);\n  $content = link.parent().parent().next();\n  $content.slideToggle(animationDuration);\n\n  // Keeps the document from jumping to the hash.\n  var href = $(this).attr('href');\n  if (history.pushState) {\n    history.pushState({}, '', href);\n  } else {\n    location.hash = href;\n  }\n  event.preventDefault();\n});\n\n// Dumb down quotes within code blocks that delimit strings instead of quotations\n// https://github.com/realm/jazzy/issues/714\n$(\"code q\").replaceWith(function () {\n  return [\"\\\"\", $(this).contents(), \"\\\"\"];\n});\n"
  },
  {
    "path": "docs/swift_output/search.json",
    "content": "{\"Structs/SimpleButtonControlState.html#/s:12SimpleButton0aB12ControlStateV7loadingSo09UIControlD0VvpZ\":{\"name\":\"loading\",\"abstract\":\"<p>Indicates loading state of SimpleButton</p>\",\"parent_name\":\"SimpleButtonControlState\"},\"Structs/SimpleButtonControlState.html\":{\"name\":\"SimpleButtonControlState\",\"abstract\":\"<p>Custom SimpleButton control state</p>\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC11loadingViewSo6UIViewCSgvp\":{\"name\":\"loadingView\",\"abstract\":\"<p>Loading view. UIActivityIndicatorView as default</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC24defaultAnimationDurationSdvp\":{\"name\":\"defaultAnimationDuration\",\"abstract\":\"<p>Default duration of animated state change.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)state\":{\"name\":\"state\",\"abstract\":\"<p>Represents current button state.</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)enabled\":{\"name\":\"isEnabled\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)highlighted\":{\"name\":\"isHighlighted\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(py)selected\":{\"name\":\"isSelected\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC9isLoadingSbvp\":{\"name\":\"isLoading\",\"abstract\":\"<p>A Boolean value that determines the SimpleButton´s loading state.\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithFrame:\":{\"name\":\"init(frame:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)initWithCoder:\":{\"name\":\"init(coder:)\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)prepareForInterfaceBuilder\":{\"name\":\"prepareForInterfaceBuilder()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)awakeFromNib\":{\"name\":\"awakeFromNib()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC09configureB6StylesyyF\":{\"name\":\"configureButtonStyles()\",\"abstract\":\"<p>To define various styles for specific button states, override this function and set attributes for specific states (e.g. setBackgroundColor(UIColor.blueColor(), for: .Highlighted, animated: true))</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC8setScale_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setScale(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the scale for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC18setBackgroundColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBackgroundColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the background color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderWidth_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderWidth(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border width for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setBorderColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setBorderColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the border color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setCornerRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setCornerRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the corner radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC14setShadowColor_3for8animated17animationDurationySo7UIColorC_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowColor(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow color for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC16setShadowOpacity_3for8animated17animationDurationySf_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOpacity(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow opacity for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowRadius_3for8animated17animationDurationy12CoreGraphics7CGFloatV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowRadius(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow radius for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC15setShadowOffset_3for8animated17animationDurationySo6CGSizeV_So14UIControlStateVSbSdSgtF\":{\"name\":\"setShadowOffset(_:for:animated:animationDuration:)\",\"abstract\":\"<p>Sets the shadow offset for a specific <code>UIControlState</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/s:12SimpleButtonAAC20setTitleImageSpacingyy12CoreGraphics7CGFloatVF\":{\"name\":\"setTitleImageSpacing(_:)\",\"abstract\":\"<p>Sets the spacing between <code>titleLabel</code> and <code>imageView</code></p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html#/c:@M@SimpleButton@objc(cs)SimpleButton(im)layoutSubviews\":{\"name\":\"layoutSubviews()\",\"abstract\":\"<p>Undocumented</p>\",\"parent_name\":\"SimpleButton\"},\"Classes/SimpleButton.html\":{\"name\":\"SimpleButton\",\"abstract\":\"<p>Undocumented</p>\"},\"Classes.html\":{\"name\":\"Classes\",\"abstract\":\"<p>The following classes are available globally.</p>\"},\"Structs.html\":{\"name\":\"Structures\",\"abstract\":\"<p>The following structures are available globally.</p>\"}}"
  },
  {
    "path": "docs/swift_output/undocumented.json",
    "content": "{\n  \"warnings\": [\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 12,\n      \"symbol\": \"SimpleButton\",\n      \"symbol_kind\": \"source.lang.swift.decl.class\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 90,\n      \"symbol\": \"SimpleButton.isEnabled\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 103,\n      \"symbol\": \"SimpleButton.isHighlighted\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 109,\n      \"symbol\": \"SimpleButton.isSelected\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 150,\n      \"symbol\": \"SimpleButton.init(frame:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 155,\n      \"symbol\": \"SimpleButton.init(coder:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 160,\n      \"symbol\": \"SimpleButton.prepareForInterfaceBuilder()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 165,\n      \"symbol\": \"SimpleButton.awakeFromNib()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 426,\n      \"symbol\": \"SimpleButton.layoutSubviews()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    }\n  ],\n  \"source_directory\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton\"\n}"
  },
  {
    "path": "docs/undocumented.json",
    "content": "{\n  \"warnings\": [\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 12,\n      \"symbol\": \"SimpleButton\",\n      \"symbol_kind\": \"source.lang.swift.decl.class\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 90,\n      \"symbol\": \"SimpleButton.isEnabled\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 103,\n      \"symbol\": \"SimpleButton.isHighlighted\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 109,\n      \"symbol\": \"SimpleButton.isSelected\",\n      \"symbol_kind\": \"source.lang.swift.decl.var.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 150,\n      \"symbol\": \"SimpleButton.init(frame:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 155,\n      \"symbol\": \"SimpleButton.init(coder:)\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 160,\n      \"symbol\": \"SimpleButton.prepareForInterfaceBuilder()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 165,\n      \"symbol\": \"SimpleButton.awakeFromNib()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    },\n    {\n      \"file\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton/SimpleButton/SimpleButton.swift\",\n      \"line\": 426,\n      \"symbol\": \"SimpleButton.layoutSubviews()\",\n      \"symbol_kind\": \"source.lang.swift.decl.function.method.instance\",\n      \"warning\": \"undocumented\"\n    }\n  ],\n  \"source_directory\": \"/Users/andreastinocolobo/Applications/iOS/SimpleButton\"\n}"
  }
]