├── .swift-version ├── docs ├── img │ ├── gh.png │ ├── dash.png │ └── carat.png ├── undocumented.json ├── js │ ├── jazzy.js │ └── jquery.min.js ├── Extensions.html ├── Extensions │ ├── String.html │ └── CustomStringConvertible.html ├── css │ ├── highlight.css │ └── jazzy.css └── index.html ├── .github ├── CONTRIBUTING.md ├── PULL_REQUEST_TEMPLATE.md └── ISSUE_TEMPLATE.md ├── DefaultStringConvertible.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcshareddata │ └── xcschemes │ │ ├── DefaultStringConvertible-watchOS.xcscheme │ │ ├── DefaultStringConvertible-OSX.xcscheme │ │ ├── DefaultStringConvertible-iOS.xcscheme │ │ └── DefaultStringConvertible-tvOS.xcscheme └── project.pbxproj ├── Package.swift ├── Tests ├── LinuxMain.swift ├── Info.plist └── DefaultStringConvertibleTests │ └── DefaultStringConvertibleTests.swift ├── .codecov.yml ├── Sources ├── DefaultStringConvertible.h ├── Info.plist └── DefaultStringConvertible.swift ├── DefaultStringConvertible.podspec ├── LICENSE ├── CHANGELOG.md ├── .gitignore ├── README.md └── .travis.yml /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /docs/img/gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jessesquires/DefaultStringConvertible/HEAD/docs/img/gh.png -------------------------------------------------------------------------------- /docs/img/dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jessesquires/DefaultStringConvertible/HEAD/docs/img/dash.png -------------------------------------------------------------------------------- /docs/img/carat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jessesquires/DefaultStringConvertible/HEAD/docs/img/carat.png -------------------------------------------------------------------------------- /docs/undocumented.json: -------------------------------------------------------------------------------- 1 | { 2 | "warnings": [ 3 | 4 | ], 5 | "source_directory": "/Users/jesse/GitHub/DefaultStringConvertible" 6 | } -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How To Contribute 2 | 3 | Please follow these sweet [contribution guidelines](https://github.com/jessesquires/HowToContribute). 4 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Pull request checklist 2 | 3 | - [ ] All tests pass. 4 | - [ ] Demo project builds and runs. 5 | - [ ] I have resolved merge conflicts. 6 | - [ ] I have followed the [coding style](https://github.com/jessesquires/HowToContribute#style-guidelines) and [contributing guidelines](https://github.com/jessesquires/HowToContribute). 7 | 8 | #### This fixes issue # 9 | 10 | ## What's in this pull request? 11 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Jesse Squires 3 | // http://www.jessesquires.com 4 | // 5 | // 6 | // Documentation 7 | // http://jessesquires.com/DefaultStringConvertible 8 | // 9 | // 10 | // GitHub 11 | // https://github.com/jessesquires/DefaultStringConvertible 12 | // 13 | // 14 | // License 15 | // Copyright © 2016 Jesse Squires 16 | // Released under an MIT license: http://opensource.org/licenses/MIT 17 | // 18 | 19 | import PackageDescription 20 | 21 | let package = Package( 22 | name: "DefaultStringConvertible" 23 | ) 24 | -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Jesse Squires 3 | // http://www.jessesquires.com 4 | // 5 | // 6 | // Documentation 7 | // http://jessesquires.com/DefaultStringConvertible 8 | // 9 | // 10 | // GitHub 11 | // https://github.com/jessesquires/DefaultStringConvertible 12 | // 13 | // 14 | // License 15 | // Copyright © 2016 Jesse Squires 16 | // Released under an MIT license: http://opensource.org/licenses/MIT 17 | // 18 | 19 | import XCTest 20 | @testable import DefaultStringConvertibleTests 21 | 22 | XCTMain([ 23 | testCase(DefaultStringConvertibleTests.allTests) 24 | ]) 25 | -------------------------------------------------------------------------------- /.codecov.yml: -------------------------------------------------------------------------------- 1 | codecov: 2 | branch: develop 3 | 4 | coverage: 5 | precision: 2 6 | round: nearest 7 | range: "60...100" 8 | ignore: 9 | - Tests/* 10 | 11 | status: 12 | project: 13 | default: 14 | target: auto 15 | threshold: 2.0 16 | branches: 17 | - master 18 | - develop 19 | patch: 20 | default: 21 | target: auto 22 | branches: 23 | - master 24 | - develop 25 | 26 | comment: 27 | layout: header, diff, changes, sunburst, uncovered 28 | behavior: default 29 | branches: 30 | - master 31 | - develop 32 | -------------------------------------------------------------------------------- /Sources/DefaultStringConvertible.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Jesse Squires 3 | // http://www.jessesquires.com 4 | // 5 | // 6 | // Documentation 7 | // http://jessesquires.com/DefaultStringConvertible 8 | // 9 | // 10 | // GitHub 11 | // https://github.com/jessesquires/DefaultStringConvertible 12 | // 13 | // 14 | // License 15 | // Copyright © 2016 Jesse Squires 16 | // Released under an MIT license: http://opensource.org/licenses/MIT 17 | // 18 | 19 | #import 20 | 21 | FOUNDATION_EXPORT double DefaultStringConvertibleVersionNumber; 22 | 23 | FOUNDATION_EXPORT const unsigned char DefaultStringConvertibleVersionString[]; 24 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## New issue checklist 2 | 3 | 4 | - [ ] I have read all of the [`README`](https://github.com/jessesquires/JSQDataSourcesKit/blob/develop/README.md) and [documentation](http://www.jessesquires.com/JSQDataSourcesKit/). 5 | - [ ] I have reviewed the [contributing guidelines](https://github.com/jessesquires/HowToContribute). 6 | - [ ] I have searched [existing issues](https://github.com/jessesquires/JSQDataSourcesKit/issues?q=is%3Aissue+sort%3Acreated-desc) and **this is not a duplicate**. 7 | 8 | ## General information 9 | 10 | - Library version: 11 | - OS version: 12 | - Devices/Simulators: 13 | - Reproducible in the demo project (Yes/No): 14 | - Any related issues: 15 | 16 | ## What happened? 17 | -------------------------------------------------------------------------------- /Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /DefaultStringConvertible.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'DefaultStringConvertible' 3 | s.version = '2.0.1' 4 | s.license = 'MIT' 5 | 6 | s.summary = 'A default CustomStringConvertible implementation for Swift types' 7 | s.homepage = 'https://github.com/jessesquires/DefaultStringConvertible' 8 | s.documentation_url = 'http://www.jessesquires.com/DefaultStringConvertible/' 9 | s.social_media_url = 'https://twitter.com/jesse_squires' 10 | s.author = 'Jesse Squires' 11 | 12 | s.source = { :git => 'https://github.com/jessesquires/DefaultStringConvertible.git', :tag => s.version } 13 | s.source_files = 'Sources/*.swift' 14 | 15 | s.ios.deployment_target = '8.0' 16 | s.osx.deployment_target = '10.10' 17 | s.tvos.deployment_target = '9.0' 18 | s.watchos.deployment_target = '2.0' 19 | 20 | s.requires_arc = true 21 | end 22 | -------------------------------------------------------------------------------- /Sources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Jesse Squires 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | The changelog for `DefaultStringConvertible`. Also see the [releases](https://github.com/jessesquires/DefaultStringConvertible/releases) on GitHub. 4 | 5 | -------------------------------------- 6 | 7 | 2.0.1 8 | ----- 9 | This release closes the [2.0.1 milestone](https://github.com/jessesquires/DefaultStringConvertible/milestone/3?closed=1). 10 | 11 | - Fixed an issue with `deepUnwrap` unconditionally returning `nil` ([#7](https://github.com/jessesquires/DefaultStringConvertible/issues/7)). 12 | 13 | 2.0.0 14 | ----- 15 | 16 | This release closes the [2.0.0 milestone](https://github.com/jessesquires/DefaultStringConvertible/milestone/2?closed=1). 17 | 18 | - **Migrated to Swift 3.0** ([#3](https://github.com/jessesquires/DefaultStringConvertible/pull/3), thanks [@broadwaylamb](https://github.com/broadwaylamb)!) 19 | 20 | 1.1.0 21 | ----- 22 | 23 | This release closes the [1.1.0 milestone](https://github.com/jessesquires/DefaultStringConvertible/issues?q=milestone%3A1.1.0). 24 | 25 | - Added even more detailed option, `public var deepDescription: String`. ([#1](https://github.com/jessesquires/DefaultStringConvertible/issues/1), [#2](https://github.com/jessesquires/DefaultStringConvertible/pull/2)) Thanks @mhuusko5! 26 | 27 | 1.0.0 28 | ----- 29 | 30 | Initial release. :tada: 31 | -------------------------------------------------------------------------------- /docs/js/jazzy.js: -------------------------------------------------------------------------------- 1 | window.jazzy = {'docset': false} 2 | if (typeof window.dash != 'undefined') { 3 | document.documentElement.className += ' dash' 4 | window.jazzy.docset = true 5 | } 6 | if (navigator.userAgent.match(/xcode/i)) { 7 | document.documentElement.className += ' xcode' 8 | window.jazzy.docset = true 9 | } 10 | 11 | // On doc load, toggle the URL hash discussion if present 12 | $(document).ready(function() { 13 | if (!window.jazzy.docset) { 14 | var linkToHash = $('a[href="' + window.location.hash +'"]'); 15 | linkToHash.trigger("click"); 16 | } 17 | }); 18 | 19 | // On token click, toggle its discussion and animate token.marginLeft 20 | $(".token").click(function(event) { 21 | if (window.jazzy.docset) { 22 | return; 23 | } 24 | var link = $(this); 25 | var animationDuration = 300; 26 | var tokenOffset = "15px"; 27 | var original = link.css('marginLeft') == tokenOffset; 28 | link.animate({'margin-left':original ? "0px" : tokenOffset}, animationDuration); 29 | $content = link.parent().parent().next(); 30 | $content.slideToggle(animationDuration); 31 | 32 | // Keeps the document from jumping to the hash. 33 | var href = $(this).attr('href'); 34 | if (history.pushState) { 35 | history.pushState({}, '', href); 36 | } else { 37 | location.hash = href; 38 | } 39 | event.preventDefault(); 40 | }); 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | # SPM 4 | .build 5 | 6 | # docs 7 | docs/docsets/ 8 | 9 | # Xcode 10 | ## Build generated 11 | build/ 12 | DerivedData/ 13 | 14 | ## Various settings 15 | *.pbxuser 16 | !default.pbxuser 17 | *.mode1v3 18 | !default.mode1v3 19 | *.mode2v3 20 | !default.mode2v3 21 | *.perspectivev3 22 | !default.perspectivev3 23 | xcuserdata/ 24 | 25 | ## Other 26 | *.moved-aside 27 | *.xcuserstate 28 | 29 | ## Obj-C/Swift specific 30 | *.hmap 31 | *.ipa 32 | *.dSYM.zip 33 | *.dSYM 34 | 35 | # CocoaPods 36 | # 37 | # We recommend against adding the Pods directory to your .gitignore. However 38 | # you should judge for yourself, the pros and cons are mentioned at: 39 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 40 | # 41 | # Pods/ 42 | 43 | # Carthage 44 | # 45 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 46 | # Carthage/Checkouts 47 | 48 | Carthage/Build 49 | 50 | # fastlane 51 | # 52 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 53 | # screenshots whenever they are needed. 54 | # For more information about the recommended setup visit: 55 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 56 | 57 | fastlane/report.xml 58 | fastlane/Preview.html 59 | fastlane/screenshots 60 | fastlane/test_output 61 | 62 | # Code Injection 63 | # 64 | # After new code Injection tools there's a generated folder /iOSInjectionProject 65 | # https://github.com/johnno1962/injectionforxcode 66 | 67 | iOSInjectionProject/ 68 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/xcshareddata/xcschemes/DefaultStringConvertible-watchOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /docs/Extensions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Extensions Reference 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |

DefaultStringConvertible Docs (100% documented)

17 |

View on GitHub

18 |
19 |
20 |
21 | 26 |
27 |
28 | 40 |
41 |
42 |
43 |

Extensions

44 |

The following extensions are available globally.

45 | 46 |
47 |
48 |
49 |
    50 |
  • 51 |
    52 | 53 | 54 | 55 | CustomStringConvertible 56 | 57 |
    58 |
    59 |
    60 |
    61 |
    62 |
    63 | 64 | See more 65 |
    66 |
    67 |

    Declaration

    68 |
    69 |

    Swift

    70 |
    protocol CustomStringConvertible
    71 | 72 |
    73 |
    74 |
    75 |
    76 |
  • 77 |
78 |
79 |
80 |
81 | 85 |
86 |
87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) 2 | 3 | # :warning: DEPRECATED :warning: 4 | 5 | # DefaultStringConvertible 6 | [![Build Status](https://secure.travis-ci.org/jessesquires/DefaultStringConvertible.svg)](http://travis-ci.org/jessesquires/DefaultStringConvertible) [![Version Status](https://img.shields.io/cocoapods/v/DefaultStringConvertible.svg)][podLink] [![license MIT](https://img.shields.io/cocoapods/l/DefaultStringConvertible.svg)][mitLink] [![codecov](https://codecov.io/gh/jessesquires/DefaultStringConvertible/branch/develop/graph/badge.svg)](https://codecov.io/gh/jessesquires/DefaultStringConvertible) [![Platform](https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20iOS%20%7C%20watchOS%20%7C%20tvOS-lightgrey.svg)][docsLink] [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 7 | 8 | *A default `CustomStringConvertible` implementation for Swift types* 9 | 10 | ## About 11 | 12 | Never implement `var description: String` again. Simply `import DefaultStringConvertible` and conform to `CustomStringConvertible` and get a default type description for free. 13 | 14 | > **This micro-library is based on [this post](http://ericasadun.com/2016/04/18/default-reflection/) from Erica Sadun.** 15 | 16 | ## Requirements 17 | 18 | * Swift 3 19 | * Xcode 8 20 | * iOS 8.0+ 21 | * macOS 10.10+ 22 | * tvOS 9.0+ 23 | * watchOS 2.0+ 24 | * Ubuntu 14.04+ 25 | 26 | ## Installation 27 | 28 | #### [CocoaPods](http://cocoapods.org) (recommended) 29 | 30 | ````ruby 31 | use_frameworks! 32 | 33 | # For latest release in cocoapods 34 | pod 'DefaultStringConvertible' 35 | 36 | # Feeling adventurous? Get the latest on develop 37 | pod 'DefaultStringConvertible', :git => 'https://github.com/jessesquires/DefaultStringConvertible.git', :branch => 'develop' 38 | ```` 39 | 40 | #### [Carthage](https://github.com/Carthage/Carthage) 41 | 42 | ````bash 43 | github "jessesquires/DefaultStringConvertible" 44 | ```` 45 | 46 | #### [Swift Package Manager](https://github.com/apple/swift-package-manager) 47 | 48 | Add DefaultStringConvertible as a dependency to your `Package.swift`. For example: 49 | 50 | ````swift 51 | let package = Package( 52 | name: "YourPackageName", 53 | dependencies: [ 54 | .Package(url: "https://github.com/jessesquires/DefaultStringConvertible.git", majorVersion: 2) 55 | ] 56 | ) 57 | ```` 58 | 59 | ## Documentation 60 | 61 | Read the [docs][docsLink]. Generated with [jazzy](https://github.com/realm/jazzy). Hosted by [GitHub Pages](https://pages.github.com). 62 | 63 | #### Generate 64 | 65 | ````bash 66 | $ ./build_docs.sh 67 | ```` 68 | 69 | #### Preview 70 | 71 | ````bash 72 | $ open index.html -a Safari 73 | ```` 74 | 75 | ## Getting Started 76 | 77 | ````swift 78 | import DefaultStringConvertible 79 | 80 | class MyClass: CustomStringConvertible { 81 | // ... 82 | 83 | // You *do not* need to implement `var description: String` 84 | // by importing `DefaultStringConvertible`, you get a default `description` for free 85 | } 86 | ```` 87 | 88 | ## Unit tests 89 | 90 | There's a suite of unit tests for `DefaultStringConvertible`. Run them from Xcode by opening `DefaultStringConvertible.xcodeproj`. 91 | 92 | ## Contribute 93 | 94 | Please follow these sweet [contribution guidelines](https://github.com/jessesquires/HowToContribute). 95 | 96 | ## Credits 97 | 98 | Created and maintained by [**@jesse_squires**](https://twitter.com/jesse_squires). 99 | 100 | ## License 101 | 102 | `DefaultStringConvertible` is released under an [MIT License][mitLink]. See `LICENSE` for details. 103 | 104 | >**Copyright © 2016-present Jesse Squires.** 105 | 106 | *Please provide attribution, it is greatly appreciated.* 107 | 108 | [podLink]:https://cocoapods.org/pods/DefaultStringConvertible 109 | [docsLink]:http://www.jessesquires.com/DefaultStringConvertible 110 | [mitLink]:http://opensource.org/licenses/MIT 111 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | osx_image: xcode8 2 | 3 | env: 4 | global: 5 | - LANG=en_US.UTF-8 6 | 7 | - PROJECT="DefaultStringConvertible.xcodeproj" 8 | - IOS_SCHEME="DefaultStringConvertible-iOS" 9 | - OSX_SCHEME="DefaultStringConvertible-OSX" 10 | - TVOS_SCHEME="DefaultStringConvertible-tvOS" 11 | - WATCHOS_SCHEME="DefaultStringConvertible-watchOS" 12 | 13 | - IOS_SDK=iphonesimulator10.0 14 | - OSX_SDK=macosx10.12 15 | - TVOS_SDK=appletvsimulator10.0 16 | - WATCHOS_SDK=watchsimulator3.0 17 | 18 | matrix: 19 | include: 20 | - language: swift 21 | os: osx 22 | env: DESTINATION="OS=8.1,name=iPhone 4s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" POD_LINT="YES" 23 | 24 | - language: swift 25 | os: osx 26 | env: DESTINATION="OS=8.2,name=iPhone 5" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" POD_LINT="NO" 27 | 28 | - language: swift 29 | os: osx 30 | env: DESTINATION="OS=8.3,name=iPhone 5s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" POD_LINT="NO" 31 | 32 | - language: swift 33 | os: osx 34 | env: DESTINATION="OS=8.4,name=iPhone 6" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" POD_LINT="NO" 35 | 36 | - language: swift 37 | os: osx 38 | env: DESTINATION="OS=9.0,name=iPhone 6s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 39 | 40 | - language: swift 41 | os: osx 42 | env: DESTINATION="OS=9.1,name=iPhone 6 Plus" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 43 | 44 | - language: swift 45 | os: osx 46 | env: DESTINATION="OS=9.2,name=iPhone 6s Plus" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 47 | 48 | - language: swift 49 | os: osx 50 | env: DESTINATION="OS=10.0,name=iPhone 7" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 51 | 52 | - language: swift 53 | os: osx 54 | env: DESTINATION="arch=x86_64" SDK="$OSX_SDK" SCHEME="$OSX_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 55 | 56 | - language: swift 57 | os: osx 58 | env: DESTINATION="OS=9.0,name=Apple TV 1080p" SDK="$TVOS_SDK" SCHEME="$TVOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 59 | 60 | - language: swift 61 | os: osx 62 | env: DESTINATION="OS=10.0,name=Apple TV 1080p" SDK="$TVOS_SDK" SCHEME="$TVOS_SCHEME" RUN_TESTS="YES" POD_LINT="NO" 63 | 64 | - language: swift 65 | os: osx 66 | env: DESTINATION="OS=2.0,name=Apple Watch - 38mm" SDK="$WATCHOS_SDK" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" POD_LINT="NO" 67 | 68 | - language: swift 69 | os: osx 70 | env: DESTINATION="OS=3.0,name=Apple Watch - 42mm" SDK="$WATCHOS_SDK" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" POD_LINT="NO" 71 | 72 | - language: generic 73 | os: linux 74 | sudo: required 75 | dist: trusty 76 | 77 | install: 78 | - if [[ $TRAVIS_OS_NAME == "linux" ]]; then 79 | eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"; 80 | fi 81 | 82 | script: 83 | - set -o pipefail 84 | 85 | - if [[ $POD_LINT == "YES" && $TRAVIS_OS_NAME == "osx" ]]; then 86 | gem install cocoapods --no-rdoc --no-ri --no-document --quiet && pod lib lint; 87 | fi 88 | 89 | - if [[ $RUN_TESTS == "YES" && $TRAVIS_OS_NAME == "osx" ]]; then 90 | xcodebuild analyze test -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c; 91 | elif [[ $TRAVIS_OS_NAME == "osx" ]]; then 92 | xcodebuild build analyze -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c; 93 | fi 94 | 95 | - if [[ $TRAVIS_OS_NAME == "linux" ]]; then 96 | swift build && swift test; 97 | fi 98 | 99 | after_success: 100 | - bash <(curl -s https://codecov.io/bash) 101 | -------------------------------------------------------------------------------- /docs/Extensions/String.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | String Extension Reference 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 |

DefaultStringConvertible Docs (100% documented)

18 |

View on GitHub

19 |
20 |
21 |
22 | 27 |
28 |
29 | 44 |
45 |
46 |
47 |

String

48 |

Undocumented

49 | 50 |
51 |
52 |
53 |
    54 |
  • 55 |
    56 | 57 | 58 | 59 | hasPrefix(_:) 60 | 61 |
    62 |
    63 |
    64 |
    65 |
    66 |
    67 |

    Undocumented

    68 | 69 |
    70 |
    71 |
    72 |
  • 73 |
  • 74 |
    75 | 76 | 77 | 78 | hasSuffix(_:) 79 | 80 |
    81 |
    82 |
    83 |
    84 |
    85 |
    86 |

    Undocumented

    87 | 88 |
    89 |
    90 |
    91 |
  • 92 |
93 |
94 |
95 |
96 | 100 |
101 |
102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/xcshareddata/xcschemes/DefaultStringConvertible-OSX.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/xcshareddata/xcschemes/DefaultStringConvertible-iOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/xcshareddata/xcschemes/DefaultStringConvertible-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /docs/css/highlight.css: -------------------------------------------------------------------------------- 1 | /* Credit to https://gist.github.com/wataru420/2048287 */ 2 | .highlight { 3 | /* Comment */ 4 | /* Error */ 5 | /* Keyword */ 6 | /* Operator */ 7 | /* Comment.Multiline */ 8 | /* Comment.Preproc */ 9 | /* Comment.Single */ 10 | /* Comment.Special */ 11 | /* Generic.Deleted */ 12 | /* Generic.Deleted.Specific */ 13 | /* Generic.Emph */ 14 | /* Generic.Error */ 15 | /* Generic.Heading */ 16 | /* Generic.Inserted */ 17 | /* Generic.Inserted.Specific */ 18 | /* Generic.Output */ 19 | /* Generic.Prompt */ 20 | /* Generic.Strong */ 21 | /* Generic.Subheading */ 22 | /* Generic.Traceback */ 23 | /* Keyword.Constant */ 24 | /* Keyword.Declaration */ 25 | /* Keyword.Pseudo */ 26 | /* Keyword.Reserved */ 27 | /* Keyword.Type */ 28 | /* Literal.Number */ 29 | /* Literal.String */ 30 | /* Name.Attribute */ 31 | /* Name.Builtin */ 32 | /* Name.Class */ 33 | /* Name.Constant */ 34 | /* Name.Entity */ 35 | /* Name.Exception */ 36 | /* Name.Function */ 37 | /* Name.Namespace */ 38 | /* Name.Tag */ 39 | /* Name.Variable */ 40 | /* Operator.Word */ 41 | /* Text.Whitespace */ 42 | /* Literal.Number.Float */ 43 | /* Literal.Number.Hex */ 44 | /* Literal.Number.Integer */ 45 | /* Literal.Number.Oct */ 46 | /* Literal.String.Backtick */ 47 | /* Literal.String.Char */ 48 | /* Literal.String.Doc */ 49 | /* Literal.String.Double */ 50 | /* Literal.String.Escape */ 51 | /* Literal.String.Heredoc */ 52 | /* Literal.String.Interpol */ 53 | /* Literal.String.Other */ 54 | /* Literal.String.Regex */ 55 | /* Literal.String.Single */ 56 | /* Literal.String.Symbol */ 57 | /* Name.Builtin.Pseudo */ 58 | /* Name.Variable.Class */ 59 | /* Name.Variable.Global */ 60 | /* Name.Variable.Instance */ 61 | /* Literal.Number.Integer.Long */ } 62 | .highlight .c { 63 | color: #999988; 64 | font-style: italic; } 65 | .highlight .err { 66 | color: #a61717; 67 | background-color: #e3d2d2; } 68 | .highlight .k { 69 | color: #000000; 70 | font-weight: bold; } 71 | .highlight .o { 72 | color: #000000; 73 | font-weight: bold; } 74 | .highlight .cm { 75 | color: #999988; 76 | font-style: italic; } 77 | .highlight .cp { 78 | color: #999999; 79 | font-weight: bold; } 80 | .highlight .c1 { 81 | color: #999988; 82 | font-style: italic; } 83 | .highlight .cs { 84 | color: #999999; 85 | font-weight: bold; 86 | font-style: italic; } 87 | .highlight .gd { 88 | color: #000000; 89 | background-color: #ffdddd; } 90 | .highlight .gd .x { 91 | color: #000000; 92 | background-color: #ffaaaa; } 93 | .highlight .ge { 94 | color: #000000; 95 | font-style: italic; } 96 | .highlight .gr { 97 | color: #aa0000; } 98 | .highlight .gh { 99 | color: #999999; } 100 | .highlight .gi { 101 | color: #000000; 102 | background-color: #ddffdd; } 103 | .highlight .gi .x { 104 | color: #000000; 105 | background-color: #aaffaa; } 106 | .highlight .go { 107 | color: #888888; } 108 | .highlight .gp { 109 | color: #555555; } 110 | .highlight .gs { 111 | font-weight: bold; } 112 | .highlight .gu { 113 | color: #aaaaaa; } 114 | .highlight .gt { 115 | color: #aa0000; } 116 | .highlight .kc { 117 | color: #000000; 118 | font-weight: bold; } 119 | .highlight .kd { 120 | color: #000000; 121 | font-weight: bold; } 122 | .highlight .kp { 123 | color: #000000; 124 | font-weight: bold; } 125 | .highlight .kr { 126 | color: #000000; 127 | font-weight: bold; } 128 | .highlight .kt { 129 | color: #445588; } 130 | .highlight .m { 131 | color: #009999; } 132 | .highlight .s { 133 | color: #d14; } 134 | .highlight .na { 135 | color: #008080; } 136 | .highlight .nb { 137 | color: #0086B3; } 138 | .highlight .nc { 139 | color: #445588; 140 | font-weight: bold; } 141 | .highlight .no { 142 | color: #008080; } 143 | .highlight .ni { 144 | color: #800080; } 145 | .highlight .ne { 146 | color: #990000; 147 | font-weight: bold; } 148 | .highlight .nf { 149 | color: #990000; } 150 | .highlight .nn { 151 | color: #555555; } 152 | .highlight .nt { 153 | color: #000080; } 154 | .highlight .nv { 155 | color: #008080; } 156 | .highlight .ow { 157 | color: #000000; 158 | font-weight: bold; } 159 | .highlight .w { 160 | color: #bbbbbb; } 161 | .highlight .mf { 162 | color: #009999; } 163 | .highlight .mh { 164 | color: #009999; } 165 | .highlight .mi { 166 | color: #009999; } 167 | .highlight .mo { 168 | color: #009999; } 169 | .highlight .sb { 170 | color: #d14; } 171 | .highlight .sc { 172 | color: #d14; } 173 | .highlight .sd { 174 | color: #d14; } 175 | .highlight .s2 { 176 | color: #d14; } 177 | .highlight .se { 178 | color: #d14; } 179 | .highlight .sh { 180 | color: #d14; } 181 | .highlight .si { 182 | color: #d14; } 183 | .highlight .sx { 184 | color: #d14; } 185 | .highlight .sr { 186 | color: #009926; } 187 | .highlight .s1 { 188 | color: #d14; } 189 | .highlight .ss { 190 | color: #990073; } 191 | .highlight .bp { 192 | color: #999999; } 193 | .highlight .vc { 194 | color: #008080; } 195 | .highlight .vg { 196 | color: #008080; } 197 | .highlight .vi { 198 | color: #008080; } 199 | .highlight .il { 200 | color: #009999; } 201 | -------------------------------------------------------------------------------- /docs/Extensions/CustomStringConvertible.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CustomStringConvertible Extension Reference 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 |

DefaultStringConvertible Docs (100% documented)

18 |

View on GitHub

19 |
20 |
21 |
22 | 27 |
28 |
29 | 41 |
42 |
43 |
44 |

CustomStringConvertible

45 |
46 |
47 |
protocol CustomStringConvertible
48 | 49 |
50 |
51 | 52 |
53 |
54 |
55 |
    56 |
  • 57 |
    58 | 59 | 60 | 61 | defaultDescription 62 | 63 |
    64 |
    65 |
    66 |
    67 |
    68 |
    69 |

    Constructs and returns a detailed description of the receiver via its Mirror.

    70 | 71 |
    72 |
    73 |

    Declaration

    74 |
    75 |

    Swift

    76 |
    public var defaultDescription: String
    77 | 78 |
    79 |
    80 |
    81 |
    82 |
  • 83 |
  • 84 |
    85 | 86 | 87 | 88 | deepDescription 89 | 90 |
    91 |
    92 |
    93 |
    94 |
    95 |
    96 |

    Constructs and returns a recursive description of the receiver, similar to a Playgrounds sidebar description.

    97 | 98 |
    99 |
    100 |

    Declaration

    101 |
    102 |

    Swift

    103 |
    public var deepDescription: String
    104 | 105 |
    106 |
    107 |
    108 |
    109 |
  • 110 |
  • 111 |
    112 | 113 | 114 | 115 | description 116 | 117 |
    118 |
    119 |
    120 |
    121 |
    122 |
    123 |

    Returns the value from defaultDescription.

    124 | 125 |
    126 |
    127 |

    Declaration

    128 |
    129 |

    Swift

    130 |
    public var description: String
    131 | 132 |
    133 |
    134 |
    135 |
    136 |
  • 137 |
138 |
139 |
140 |
141 | 145 |
146 |
147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /Sources/DefaultStringConvertible.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Jesse Squires 3 | // http://www.jessesquires.com 4 | // 5 | // 6 | // Documentation 7 | // http://jessesquires.com/DefaultStringConvertible 8 | // 9 | // 10 | // GitHub 11 | // https://github.com/jessesquires/DefaultStringConvertible 12 | // 13 | // 14 | // License 15 | // Copyright © 2016 Jesse Squires 16 | // Released under an MIT license: http://opensource.org/licenses/MIT 17 | // 18 | 19 | 20 | /** 21 | A better default implementation of `description`. 22 | Displays the type name followed by all members with labels. 23 | */ 24 | public extension CustomStringConvertible { 25 | 26 | /// Constructs and returns a detailed description of the receiver via its `Mirror`. 27 | public var defaultDescription: String { 28 | return generateDefaultDescription(self) 29 | } 30 | 31 | /// Constructs and returns a recursive description of the receiver, similar to a Playgrounds sidebar description. 32 | public var deepDescription: String { 33 | return generateDeepDescription(self) 34 | } 35 | 36 | /// Returns the value from `defaultDescription`. 37 | public var description: String { 38 | return defaultDescription 39 | } 40 | } 41 | 42 | 43 | private func generateDefaultDescription(_ any: Any) -> String { 44 | let mirror = Mirror(reflecting: any) 45 | var children = Array(mirror.children) 46 | 47 | var superclassMirror = mirror.superclassMirror 48 | repeat { 49 | if let superChildren = superclassMirror?.children { 50 | children.append(contentsOf: superChildren) 51 | } 52 | superclassMirror = superclassMirror?.superclassMirror 53 | } while superclassMirror != nil 54 | 55 | let chunks = children.map { (label: String?, value: Any) -> String in 56 | if let label = label { 57 | if value is String { 58 | return "\(label): \"\(value)\"" 59 | } 60 | return "\(label): \(value)" 61 | } 62 | return "\(value)" 63 | } 64 | 65 | if chunks.count > 0 { 66 | let chunksString = chunks.joined(separator: ", ") 67 | return "\(mirror.subjectType)(\(chunksString))" 68 | } 69 | 70 | return "\(type(of: any))" 71 | } 72 | 73 | 74 | private func generateDeepDescription(_ any: Any) -> String { 75 | 76 | func indentedString(_ string: String) -> String { 77 | return string.characters 78 | .split(separator: "\r") 79 | .map(String.init) 80 | .map { $0.isEmpty ? "" : "\r \($0)" } 81 | .joined(separator: "") 82 | } 83 | 84 | func deepUnwrap(_ any: Any) -> Any? { 85 | let mirror = Mirror(reflecting: any) 86 | 87 | if mirror.displayStyle != .optional { 88 | return any 89 | } 90 | 91 | if let child = mirror.children.first , child.label == "some" { 92 | return deepUnwrap(child.value) 93 | } 94 | 95 | return nil 96 | } 97 | 98 | guard let any = deepUnwrap(any) else { 99 | return "nil" 100 | } 101 | 102 | if any is Void { 103 | return "Void" 104 | } 105 | 106 | if let int = any as? Int { 107 | return String(int) 108 | } else if let double = any as? Double { 109 | return String(double) 110 | } else if let float = any as? Float { 111 | return String(float) 112 | } else if let bool = any as? Bool { 113 | return String(bool) 114 | } else if let string = any as? String { 115 | return "\"\(string)\"" 116 | } 117 | 118 | let mirror = Mirror(reflecting: any) 119 | 120 | var properties = Array(mirror.children) 121 | 122 | var typeName = String(describing: mirror.subjectType) 123 | if typeName.hasSuffix(".Type") { 124 | typeName = "" 125 | } else { typeName = "<\(typeName)> " } 126 | 127 | guard let displayStyle = mirror.displayStyle else { 128 | return "\(typeName)\(String(describing: any))" 129 | } 130 | 131 | switch displayStyle { 132 | case .tuple: 133 | if properties.isEmpty { return "()" } 134 | 135 | var string = "(" 136 | 137 | for (index, property) in properties.enumerated() { 138 | if property.label!.characters.first! == "." { 139 | string += generateDeepDescription(property.value) 140 | } else { 141 | string += "\(property.label!): \(generateDeepDescription(property.value))" 142 | } 143 | 144 | string += (index < properties.count - 1 ? ", " : "") 145 | } 146 | return string + ")" 147 | 148 | case .collection, .set: 149 | if properties.isEmpty { return "[]" } 150 | 151 | var string = "[" 152 | 153 | for (index, property) in properties.enumerated() { 154 | string += indentedString(generateDeepDescription(property.value) + (index < properties.count - 1 ? ",\r" : "")) 155 | } 156 | return string + "\r]" 157 | 158 | case .dictionary: 159 | if properties.isEmpty { 160 | return "[:]" 161 | } 162 | 163 | var string = "[" 164 | for (index, property) in properties.enumerated() { 165 | let pair = Array(Mirror(reflecting: property.value).children) 166 | string += indentedString("\(generateDeepDescription(pair[0].value)): \(generateDeepDescription(pair[1].value))" 167 | + (index < properties.count - 1 ? ",\r" : "")) 168 | } 169 | return string + "\r]" 170 | 171 | case .enum: 172 | if let any = any as? CustomDebugStringConvertible { 173 | return any.debugDescription 174 | } 175 | 176 | if properties.isEmpty { 177 | return "\(mirror.subjectType)." + String(describing: any) 178 | } 179 | 180 | var string = "\(mirror.subjectType).\(properties.first!.label!)" 181 | let associatedValueString = generateDeepDescription(properties.first!.value) 182 | 183 | if associatedValueString.characters.first! == "(" { 184 | string += associatedValueString 185 | } else { 186 | string += "(\(associatedValueString))" 187 | } 188 | return string 189 | 190 | case .struct, .class: 191 | if let any = any as? CustomDebugStringConvertible { 192 | return any.debugDescription 193 | } 194 | 195 | var superclassMirror = mirror.superclassMirror 196 | repeat { 197 | if let superChildren = superclassMirror?.children { 198 | properties.append(contentsOf: superChildren) 199 | } 200 | 201 | superclassMirror = superclassMirror?.superclassMirror 202 | } while superclassMirror != nil 203 | 204 | if properties.isEmpty { return "\(typeName)\(String(describing: any))" } 205 | var string = "\(typeName){" 206 | for (index, property) in properties.enumerated() { 207 | string += indentedString("\(property.label!): \(generateDeepDescription(property.value))" + (index < properties.count - 1 ? ",\r" : "")) 208 | } 209 | return string + "\r}" 210 | 211 | case .optional: 212 | return generateDefaultDescription(any) 213 | } 214 | } 215 | 216 | // Since these methods are not available in Linux 217 | #if !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS)) 218 | /// :nodoc: 219 | extension String { 220 | 221 | /// :nodoc: 222 | public func hasPrefix(_ prefix: String) -> Bool { 223 | return prefix == String(characters.prefix(prefix.characters.count)) 224 | } 225 | 226 | /// :nodoc: 227 | public func hasSuffix(_ suffix: String) -> Bool { 228 | return suffix == String(characters.suffix(suffix.characters.count)) 229 | } 230 | } 231 | #endif 232 | -------------------------------------------------------------------------------- /docs/css/jazzy.css: -------------------------------------------------------------------------------- 1 | html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { 2 | background: transparent; 3 | border: 0; 4 | margin: 0; 5 | outline: 0; 6 | padding: 0; 7 | vertical-align: baseline; } 8 | 9 | body { 10 | background-color: #f2f2f2; 11 | font-family: Helvetica, freesans, Arial, sans-serif; 12 | font-size: 14px; 13 | -webkit-font-smoothing: subpixel-antialiased; 14 | word-wrap: break-word; } 15 | 16 | h1, h2, h3 { 17 | margin-top: 0.8em; 18 | margin-bottom: 0.3em; 19 | font-weight: 100; 20 | color: black; } 21 | 22 | h1 { 23 | font-size: 2.5em; } 24 | 25 | h2 { 26 | font-size: 2em; 27 | border-bottom: 1px solid #e2e2e2; } 28 | 29 | h4 { 30 | font-size: 13px; 31 | line-height: 1.5; 32 | margin-top: 21px; } 33 | 34 | h5 { 35 | font-size: 1.1em; } 36 | 37 | h6 { 38 | font-size: 1.1em; 39 | color: #777; } 40 | 41 | .section-name { 42 | color: gray; 43 | display: block; 44 | font-family: Helvetica; 45 | font-size: 22px; 46 | font-weight: 100; 47 | margin-bottom: 15px; } 48 | 49 | pre, code { 50 | font: 0.95em Menlo, monospace; 51 | color: #777; 52 | word-wrap: normal; } 53 | 54 | p code, li code { 55 | background-color: #eee; 56 | padding: 2px 4px; 57 | border-radius: 4px; } 58 | 59 | a { 60 | color: #0088cc; 61 | text-decoration: none; } 62 | 63 | ul { 64 | padding-left: 15px; } 65 | 66 | li { 67 | line-height: 1.8em; } 68 | 69 | img { 70 | max-width: 100%; } 71 | 72 | blockquote { 73 | margin-left: 0; 74 | padding: 0 10px; 75 | border-left: 4px solid #ccc; } 76 | 77 | .content-wrapper { 78 | margin: 0 auto; 79 | width: 980px; } 80 | 81 | header { 82 | font-size: 0.85em; 83 | line-height: 26px; 84 | background-color: #414141; 85 | position: fixed; 86 | width: 100%; 87 | z-index: 1; } 88 | header img { 89 | padding-right: 6px; 90 | vertical-align: -4px; 91 | height: 16px; } 92 | header a { 93 | color: #fff; } 94 | header p { 95 | float: left; 96 | color: #999; } 97 | header .header-right { 98 | float: right; 99 | margin-left: 16px; } 100 | 101 | #breadcrumbs { 102 | background-color: #f2f2f2; 103 | height: 27px; 104 | padding-top: 17px; 105 | position: fixed; 106 | width: 100%; 107 | z-index: 1; 108 | margin-top: 26px; } 109 | #breadcrumbs #carat { 110 | height: 10px; 111 | margin: 0 5px; } 112 | 113 | .sidebar { 114 | background-color: #f9f9f9; 115 | border: 1px solid #e2e2e2; 116 | overflow-y: auto; 117 | overflow-x: hidden; 118 | position: fixed; 119 | top: 70px; 120 | bottom: 0; 121 | width: 230px; 122 | word-wrap: normal; } 123 | 124 | .nav-groups { 125 | list-style-type: none; 126 | background: #fff; 127 | padding-left: 0; } 128 | 129 | .nav-group-name { 130 | border-bottom: 1px solid #e2e2e2; 131 | font-size: 1.1em; 132 | font-weight: 100; 133 | padding: 15px 0 15px 20px; } 134 | .nav-group-name > a { 135 | color: #333; } 136 | 137 | .nav-group-tasks { 138 | margin-top: 5px; } 139 | 140 | .nav-group-task { 141 | font-size: 0.9em; 142 | list-style-type: none; 143 | white-space: nowrap; } 144 | .nav-group-task a { 145 | color: #888; } 146 | 147 | .main-content { 148 | background-color: #fff; 149 | border: 1px solid #e2e2e2; 150 | margin-left: 246px; 151 | position: absolute; 152 | overflow: hidden; 153 | padding-bottom: 60px; 154 | top: 70px; 155 | width: 734px; } 156 | .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote { 157 | margin-bottom: 1em; } 158 | .main-content p { 159 | line-height: 1.8em; } 160 | .main-content section .section:first-child { 161 | margin-top: 0; 162 | padding-top: 0; } 163 | .main-content section .task-group-section .task-group:first-of-type { 164 | padding-top: 10px; } 165 | .main-content section .task-group-section .task-group:first-of-type .section-name { 166 | padding-top: 15px; } 167 | 168 | .section { 169 | padding: 0 25px; } 170 | 171 | .highlight { 172 | background-color: #eee; 173 | padding: 10px 12px; 174 | border: 1px solid #e2e2e2; 175 | border-radius: 4px; 176 | overflow-x: auto; } 177 | 178 | .declaration .highlight { 179 | overflow-x: initial; 180 | padding: 0 40px 40px 0; 181 | margin-bottom: -25px; 182 | background-color: transparent; 183 | border: none; } 184 | 185 | .section-name { 186 | margin: 0; 187 | margin-left: 18px; } 188 | 189 | .task-group-section { 190 | padding-left: 6px; 191 | border-top: 1px solid #e2e2e2; } 192 | 193 | .task-group { 194 | padding-top: 0px; } 195 | 196 | .task-name-container a[name]:before { 197 | content: ""; 198 | display: block; 199 | padding-top: 70px; 200 | margin: -70px 0 0; } 201 | 202 | .item { 203 | padding-top: 8px; 204 | width: 100%; 205 | list-style-type: none; } 206 | .item a[name]:before { 207 | content: ""; 208 | display: block; 209 | padding-top: 70px; 210 | margin: -70px 0 0; } 211 | .item code { 212 | background-color: transparent; 213 | padding: 0; } 214 | .item .token { 215 | padding-left: 3px; 216 | margin-left: 15px; 217 | font-size: 11.9px; } 218 | .item .declaration-note { 219 | font-size: .85em; 220 | color: gray; 221 | font-style: italic; } 222 | 223 | .pointer-container { 224 | border-bottom: 1px solid #e2e2e2; 225 | left: -23px; 226 | padding-bottom: 13px; 227 | position: relative; 228 | width: 110%; } 229 | 230 | .pointer { 231 | background: #f9f9f9; 232 | border-left: 1px solid #e2e2e2; 233 | border-top: 1px solid #e2e2e2; 234 | height: 12px; 235 | left: 21px; 236 | top: -7px; 237 | -webkit-transform: rotate(45deg); 238 | -moz-transform: rotate(45deg); 239 | -o-transform: rotate(45deg); 240 | transform: rotate(45deg); 241 | position: absolute; 242 | width: 12px; } 243 | 244 | .height-container { 245 | display: none; 246 | left: -25px; 247 | padding: 0 25px; 248 | position: relative; 249 | width: 100%; 250 | overflow: hidden; } 251 | .height-container .section { 252 | background: #f9f9f9; 253 | border-bottom: 1px solid #e2e2e2; 254 | left: -25px; 255 | position: relative; 256 | width: 100%; 257 | padding-top: 10px; 258 | padding-bottom: 5px; } 259 | 260 | .aside, .language { 261 | padding: 6px 12px; 262 | margin: 12px 0; 263 | border-left: 5px solid #dddddd; 264 | overflow-y: hidden; } 265 | .aside .aside-title, .language .aside-title { 266 | font-size: 9px; 267 | letter-spacing: 2px; 268 | text-transform: uppercase; 269 | padding-bottom: 0; 270 | margin: 0; 271 | color: #aaa; 272 | -webkit-user-select: none; } 273 | .aside p:last-child, .language p:last-child { 274 | margin-bottom: 0; } 275 | 276 | .language { 277 | border-left: 5px solid #cde9f4; } 278 | .language .aside-title { 279 | color: #4b8afb; } 280 | 281 | .aside-warning { 282 | border-left: 5px solid #ff6666; } 283 | .aside-warning .aside-title { 284 | color: #ff0000; } 285 | 286 | .graybox { 287 | border-collapse: collapse; 288 | width: 100%; } 289 | .graybox p { 290 | margin: 0; 291 | word-break: break-word; 292 | min-width: 50px; } 293 | .graybox td { 294 | border: 1px solid #e2e2e2; 295 | padding: 5px 25px 5px 10px; 296 | vertical-align: middle; } 297 | .graybox tr td:first-of-type { 298 | text-align: right; 299 | padding: 7px; 300 | vertical-align: top; 301 | word-break: normal; 302 | width: 40px; } 303 | 304 | .slightly-smaller { 305 | font-size: 0.9em; } 306 | 307 | #footer { 308 | position: absolute; 309 | bottom: 10px; 310 | margin-left: 25px; } 311 | #footer p { 312 | margin: 0; 313 | color: #aaa; 314 | font-size: 0.8em; } 315 | 316 | html.dash header, html.dash #breadcrumbs, html.dash .sidebar { 317 | display: none; } 318 | html.dash .main-content { 319 | width: 980px; 320 | margin-left: 0; 321 | border: none; 322 | width: 100%; 323 | top: 0; 324 | padding-bottom: 0; } 325 | html.dash .height-container { 326 | display: block; } 327 | html.dash .item .token { 328 | margin-left: 0; } 329 | html.dash .content-wrapper { 330 | width: auto; } 331 | html.dash #footer { 332 | position: static; } 333 | -------------------------------------------------------------------------------- /Tests/DefaultStringConvertibleTests/DefaultStringConvertibleTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Jesse Squires 3 | // http://www.jessesquires.com 4 | // 5 | // 6 | // Documentation 7 | // http://jessesquires.com/DefaultStringConvertible 8 | // 9 | // 10 | // GitHub 11 | // https://github.com/jessesquires/DefaultStringConvertible 12 | // 13 | // 14 | // License 15 | // Copyright © 2016 Jesse Squires 16 | // Released under an MIT license: http://opensource.org/licenses/MIT 17 | // 18 | 19 | import XCTest 20 | import Foundation 21 | import DefaultStringConvertible 22 | 23 | 24 | final class DefaultStringConvertibleTests: XCTestCase { 25 | 26 | static var allTests = { 27 | return [ 28 | ("test_thatClass_providesDefaultDescription_1", test_thatClass_providesDefaultDescription_1), 29 | ("test_thatClass_providesDefaultDescription_2", test_thatClass_providesDefaultDescription_2), 30 | ("test_thatClass_providesDefaultDescription_3", test_thatClass_providesDefaultDescription_3), 31 | ("test_thatClass_providesDefaultDescription_4", test_thatClass_providesDefaultDescription_4), 32 | ("test_thatStruct_providesDefaultDescription_1", test_thatStruct_providesDefaultDescription_1), 33 | ("test_thatStruct_providesCustomDescription", test_thatStruct_providesCustomDescription), 34 | ("test_thatStruct_providesDeepDescription", test_thatStruct_providesDeepDescription), 35 | ("test_thatEnum_providesDeepDescription", test_thatEnum_providesDeepDescription), 36 | ("test_thatClass_providesDeepDescription", test_thatClass_providesDeepDescription), 37 | ("test_thatInherittingClass_providesDeepDescription", test_thatInherittingClass_providesDeepDescription), 38 | ("test_thatDictionary_providesDeepDescription", test_thatDictionary_providesDeepDescription) 39 | ] 40 | }() 41 | 42 | func test_thatClass_providesDefaultDescription_1() { 43 | let c = MyClass1() 44 | let description = c.description 45 | 46 | XCTAssertEqual(description, "MyClass1(myString: \"my string var\", myInt: 666, myDouble: 42.0, myChar: c)") 47 | print("\n", c, "\n") 48 | } 49 | 50 | func test_thatClass_providesDefaultDescription_2() { 51 | let c = MyClass2() 52 | let description = c.description 53 | 54 | XCTAssertEqual(description, "MyClass2") 55 | print("\n", c, "\n") 56 | } 57 | 58 | func test_thatClass_providesDefaultDescription_3() { 59 | let c = MyClass3() 60 | let description = c.description 61 | 62 | XCTAssertEqual(description, "MyClass3(myBool: true, myString: \"my string var\", myInt: 0, myDouble: 42.0, myChar: c)") 63 | print("\n", c, "\n") 64 | } 65 | 66 | func test_thatClass_providesDefaultDescription_4() { 67 | let c = MyClass4() 68 | let description = c.description 69 | 70 | XCTAssertEqual(description, "MyClass4(myBool: true, myString: \"my string var\", myInt: 0, myDouble: 42.0, myChar: c)") 71 | print("\n", c, "\n") 72 | } 73 | 74 | func test_thatStruct_providesDefaultDescription_1() { 75 | let s = MyStruct1() 76 | let description = s.description 77 | 78 | XCTAssertEqual(description, "MyStruct1(myString: \"my string var\", myInt: 666, myDouble: 42.0, myChar: x, myBool: false)") 79 | print("\n", s, "\n") 80 | } 81 | 82 | func test_thatStruct_providesCustomDescription() { 83 | let v = OtherStruct() 84 | let deepDescription = v.description 85 | 86 | XCTAssertEqual(deepDescription, "OtherStruct: override description") 87 | print("\n", deepDescription, "\n") 88 | 89 | } 90 | 91 | func test_thatStruct_providesDeepDescription() { 92 | let v = SomeStruct(prop1: 4, prop2: "hey there", optionalProp: 2.71828) 93 | let deepDescription = v.deepDescription 94 | 95 | XCTAssertEqual(deepDescription, " {\r prop1: 4,\r prop2: \"hey there\",\r optionalProp: 2.71828\r}") 96 | print("\n", deepDescription, "\n") 97 | 98 | } 99 | 100 | func test_thatEnum_providesDeepDescription() { 101 | let v = SomeEnum.case3(value1: nil) 102 | let deepDescription = v.deepDescription 103 | 104 | XCTAssertEqual(deepDescription, "SomeEnum.case3(nil)") 105 | print("\n", deepDescription, "\n") 106 | 107 | } 108 | 109 | func test_thatClass_providesDeepDescription() { 110 | 111 | let v = SomeClass(prop1: [1, 2, 3], prop2: [0, "hello world", [String : String]()], optionalProp: 2.71828) 112 | 113 | let deepDescription = v.deepDescription 114 | 115 | XCTAssertEqual(deepDescription, 116 | " {\r prop1: [\r 1,\r 2,\r 3\r ],\r prop2: " 117 | + "[\r 0,\r \"hello world\",\r [:]\r ],\r optionalProp: 2.71828\r}") 118 | print("\n", deepDescription, "\n") 119 | } 120 | 121 | func test_thatInherittingClass_providesDeepDescription() { 122 | let v = InheritingClass( 123 | prop1: [0], 124 | prop2: [SomeClass.self, InheritingClass.self], 125 | prop3: .case2(value1: -1, value2: false), 126 | prop4: [0, "goodbye", 0.66], 127 | prop5: (6.66, "stringgg"), 128 | optionalProp: 2.71828 129 | ) 130 | let deepDescription = v.deepDescription 131 | 132 | XCTAssertEqual(deepDescription, 133 | " {\r prop3: SomeEnum.case2(-1, false),\r prop4: [\r 0,\r" 134 | + " \"goodbye\",\r 0.66\r ],\r prop5: (6.66, \"stringgg\"),\r prop1: [\r 0\r ],\r" 135 | + " prop2: [\r SomeClass,\r InheritingClass\r ],\r optionalProp: 2.71828\r}") 136 | print("\n", deepDescription, "\n") 137 | } 138 | 139 | func test_thatDictionary_providesDeepDescription() { 140 | let v: [String: Any] = [ 141 | "someClass": SomeClass(prop1: [1, 2, 3], prop2: [0, "hello world"], optionalProp: 2.71828), 142 | ] 143 | let deepDescription = v.deepDescription 144 | 145 | XCTAssertEqual(deepDescription, 146 | "[\r \"someClass\": {\r prop1: [\r 1,\r 2,\r 3\r" 147 | + " ],\r prop2: [\r 0,\r \"hello world\"\r ],\r optionalProp: 2.71828\r }\r]") 148 | print("\n", deepDescription, "\n") 149 | } 150 | } 151 | 152 | 153 | 154 | 155 | 156 | // MARK: Fakes 157 | 158 | class MyClass1: CustomStringConvertible { 159 | 160 | let myString = "my string var" 161 | var myInt = 666 162 | let myDouble = 42.0 163 | let myChar = Character("c") 164 | } 165 | 166 | 167 | class MyClass2: CustomStringConvertible { 168 | 169 | } 170 | 171 | 172 | class MyClass3: MyClass1 { 173 | 174 | let myBool = true 175 | 176 | override init() { 177 | super.init() 178 | myInt = 0 179 | } 180 | } 181 | 182 | 183 | class MyClass4: MyClass3 { 184 | 185 | } 186 | 187 | 188 | struct MyStruct1: CustomStringConvertible { 189 | let myString = "my string var" 190 | var myInt = 666 191 | let myDouble = 42.0 192 | let myChar = Character("x") 193 | let myBool = false 194 | } 195 | 196 | 197 | struct SomeStruct: CustomStringConvertible { 198 | let prop1: Int 199 | let prop2: String 200 | var optionalProp: Double? 201 | } 202 | 203 | 204 | enum SomeEnum: CustomStringConvertible { 205 | case case1 206 | case case2(value1: Int, value2: Bool) 207 | case case3(value1: String?) 208 | } 209 | 210 | 211 | class SomeClass: CustomStringConvertible { 212 | let prop1: [Int] 213 | var prop2: [Any] 214 | var optionalProp: Double? 215 | 216 | init(prop1: [Int], prop2: [Any], optionalProp: Double?) { 217 | self.prop1 = prop1 218 | self.prop2 = prop2 219 | self.optionalProp = optionalProp 220 | } 221 | } 222 | 223 | class InheritingClass: SomeClass { 224 | let prop3: SomeEnum 225 | let prop4: [Any] 226 | let prop5: (Double, String) 227 | 228 | init(prop1: [Int], 229 | prop2: [Any], 230 | prop3: SomeEnum, 231 | prop4: [Any], 232 | prop5: (Double, String), 233 | optionalProp: Double?) { 234 | 235 | self.prop3 = prop3 236 | self.prop4 = prop4 237 | self.prop5 = prop5 238 | super.init(prop1: prop1, prop2: prop2, optionalProp: optionalProp) 239 | } 240 | } 241 | 242 | struct OtherStruct: CustomStringConvertible { 243 | var description: String { 244 | return "OtherStruct: override description" 245 | } 246 | } 247 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DefaultStringConvertible Reference 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |

DefaultStringConvertible Docs (100% documented)

17 |

View on GitHub

18 |
19 |
20 |
21 | 26 |
27 |
28 | 40 |
41 |
42 |
43 | 44 |

DefaultStringConvertible

45 | 46 |

Build Status Version Status license MIT codecov Platform Carthage compatible

47 | 48 |

A default CustomStringConvertible implementation for Swift types

49 |

About

50 | 51 |

Never implement var description: String again. Simply import DefaultStringConvertible and conform to CustomStringConvertible and get a default type description for free.

52 | 53 |
54 |

This micro-library is based on this post from Erica Sadun.

55 |
56 |

Requirements

57 | 58 |
    59 |
  • Swift 3
  • 60 |
  • Xcode 8
  • 61 |
  • iOS 8.0+
  • 62 |
  • macOS 10.10+
  • 63 |
  • tvOS 9.0+
  • 64 |
  • watchOS 2.0+
  • 65 |
  • Ubuntu 14.04+
  • 66 |
67 |

Installation

68 | 69 |
use_frameworks!
 70 | 
 71 | # For latest release in cocoapods
 72 | pod 'DefaultStringConvertible'
 73 | 
 74 | # Feeling adventurous? Get the latest on develop
 75 | pod 'DefaultStringConvertible', :git => 'https://github.com/jessesquires/DefaultStringConvertible.git', :branch => 'develop'
 76 | 
77 |

Carthage

78 |
github "jessesquires/DefaultStringConvertible"
 79 | 
80 |

Swift Package Manager

81 | 82 |

Add DefaultStringConvertible as a dependency to your Package.swift. For example:

83 |
let package = Package(
 84 |     name: "YourPackageName",
 85 |     dependencies: [
 86 |         .Package(url: "https://github.com/jessesquires/DefaultStringConvertible.git", majorVersion: 2)
 87 |     ]
 88 | )
 89 | 
90 |

Documentation

91 | 92 |

Read the docs. Generated with jazzy. Hosted by GitHub Pages.

93 |

Generate

94 |
$ ./build_docs.sh
 95 | 
96 |

Preview

97 |
$ open index.html -a Safari
 98 | 
99 |

Getting Started

100 |
import DefaultStringConvertible
101 | 
102 | class MyClass: CustomStringConvertible {
103 |     // ...
104 | 
105 |     // You *do not* need to implement `var description: String`
106 |     // by importing `DefaultStringConvertible`, you get a default `description` for free
107 | }
108 | 
109 |

Unit tests

110 | 111 |

There’s a suite of unit tests for DefaultStringConvertible. Run them from Xcode by opening DefaultStringConvertible.xcodeproj.

112 |

Contribute

113 | 114 |

Please follow these sweet contribution guidelines.

115 |

Credits

116 | 117 |

Created and maintained by @jesse_squires.

118 |

License

119 | 120 |

DefaultStringConvertible is released under an MIT License. See LICENSE for details.

121 | 122 |
123 |

Copyright © 2016-present Jesse Squires.

124 |
125 | 126 |

Please provide attribution, it is greatly appreciated.

127 | 128 |
129 |
130 | 134 |
135 |
136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /DefaultStringConvertible.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8870AA4F1CCEF912006CE7D0 /* DefaultStringConvertible.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8870AA441CCEF912006CE7D0 /* DefaultStringConvertible.framework */; }; 11 | 8870AA641CCEF949006CE7D0 /* DefaultStringConvertible.h in Headers */ = {isa = PBXBuildFile; fileRef = 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 8870AA691CCEF9B3006CE7D0 /* DefaultStringConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */; }; 13 | 8870AA6A1CCEFA62006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA621CCEF949006CE7D0 /* DefaultStringConvertibleTests.swift */; }; 14 | 8870AA7A1CCEFD66006CE7D0 /* DefaultStringConvertible.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8870AA701CCEFD66006CE7D0 /* DefaultStringConvertible.framework */; }; 15 | 8870AA871CCEFDA2006CE7D0 /* DefaultStringConvertible.h in Headers */ = {isa = PBXBuildFile; fileRef = 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 8870AA881CCEFDA8006CE7D0 /* DefaultStringConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */; }; 17 | 8870AA891CCEFDAC006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA621CCEF949006CE7D0 /* DefaultStringConvertibleTests.swift */; }; 18 | 8870AA991CCEFE38006CE7D0 /* DefaultStringConvertible.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8870AA8F1CCEFE38006CE7D0 /* DefaultStringConvertible.framework */; }; 19 | 8870AAA61CCEFE89006CE7D0 /* DefaultStringConvertible.h in Headers */ = {isa = PBXBuildFile; fileRef = 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | 8870AAA71CCEFE91006CE7D0 /* DefaultStringConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */; }; 21 | 8870AAA81CCEFE96006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA621CCEF949006CE7D0 /* DefaultStringConvertibleTests.swift */; }; 22 | 8870AAC31CCEFF93006CE7D0 /* DefaultStringConvertible.h in Headers */ = {isa = PBXBuildFile; fileRef = 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | 8870AAC41CCEFF9A006CE7D0 /* DefaultStringConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 8870AA501CCEF912006CE7D0 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 8870AA3B1CCEF912006CE7D0 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 8870AA431CCEF912006CE7D0; 32 | remoteInfo = DefaultStringConvertible; 33 | }; 34 | 8870AA7B1CCEFD66006CE7D0 /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = 8870AA3B1CCEF912006CE7D0 /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = 8870AA6F1CCEFD66006CE7D0; 39 | remoteInfo = "DefaultStringConvertible-OSX"; 40 | }; 41 | 8870AA9A1CCEFE38006CE7D0 /* PBXContainerItemProxy */ = { 42 | isa = PBXContainerItemProxy; 43 | containerPortal = 8870AA3B1CCEF912006CE7D0 /* Project object */; 44 | proxyType = 1; 45 | remoteGlobalIDString = 8870AA8E1CCEFE38006CE7D0; 46 | remoteInfo = "DefaultStringConvertible-tvOS"; 47 | }; 48 | /* End PBXContainerItemProxy section */ 49 | 50 | /* Begin PBXFileReference section */ 51 | 8706E6D61D87729C00097172 /* LinuxMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinuxMain.swift; sourceTree = ""; }; 52 | 8870AA441CCEF912006CE7D0 /* DefaultStringConvertible.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DefaultStringConvertible.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 8870AA4E1CCEF912006CE7D0 /* DefaultStringConvertible-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DefaultStringConvertible-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DefaultStringConvertible.h; sourceTree = ""; }; 55 | 8870AA601CCEF949006CE7D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 8870AA621CCEF949006CE7D0 /* DefaultStringConvertibleTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DefaultStringConvertibleTests.swift; path = DefaultStringConvertibleTests/DefaultStringConvertibleTests.swift; sourceTree = ""; }; 57 | 8870AA631CCEF949006CE7D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultStringConvertible.swift; sourceTree = ""; }; 59 | 8870AA701CCEFD66006CE7D0 /* DefaultStringConvertible.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DefaultStringConvertible.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 8870AA791CCEFD66006CE7D0 /* DefaultStringConvertible-OSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DefaultStringConvertible-OSXTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 8870AA8F1CCEFE38006CE7D0 /* DefaultStringConvertible.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DefaultStringConvertible.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 8870AA981CCEFE38006CE7D0 /* DefaultStringConvertible-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DefaultStringConvertible-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 8870AABB1CCEFF41006CE7D0 /* DefaultStringConvertible.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DefaultStringConvertible.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | /* End PBXFileReference section */ 65 | 66 | /* Begin PBXFrameworksBuildPhase section */ 67 | 8870AA401CCEF912006CE7D0 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | 8870AA4B1CCEF912006CE7D0 /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | 8870AA4F1CCEF912006CE7D0 /* DefaultStringConvertible.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 8870AA6C1CCEFD66006CE7D0 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | 8870AA761CCEFD66006CE7D0 /* Frameworks */ = { 90 | isa = PBXFrameworksBuildPhase; 91 | buildActionMask = 2147483647; 92 | files = ( 93 | 8870AA7A1CCEFD66006CE7D0 /* DefaultStringConvertible.framework in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | 8870AA8B1CCEFE38006CE7D0 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | 8870AA951CCEFE38006CE7D0 /* Frameworks */ = { 105 | isa = PBXFrameworksBuildPhase; 106 | buildActionMask = 2147483647; 107 | files = ( 108 | 8870AA991CCEFE38006CE7D0 /* DefaultStringConvertible.framework in Frameworks */, 109 | ); 110 | runOnlyForDeploymentPostprocessing = 0; 111 | }; 112 | 8870AAB71CCEFF41006CE7D0 /* Frameworks */ = { 113 | isa = PBXFrameworksBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | ); 117 | runOnlyForDeploymentPostprocessing = 0; 118 | }; 119 | /* End PBXFrameworksBuildPhase section */ 120 | 121 | /* Begin PBXGroup section */ 122 | 8870AA3A1CCEF912006CE7D0 = { 123 | isa = PBXGroup; 124 | children = ( 125 | 8870AA5E1CCEF949006CE7D0 /* Sources */, 126 | 8870AA611CCEF949006CE7D0 /* Tests */, 127 | 8870AA451CCEF912006CE7D0 /* Products */, 128 | ); 129 | sourceTree = ""; 130 | }; 131 | 8870AA451CCEF912006CE7D0 /* Products */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 8870AA441CCEF912006CE7D0 /* DefaultStringConvertible.framework */, 135 | 8870AA4E1CCEF912006CE7D0 /* DefaultStringConvertible-iOSTests.xctest */, 136 | 8870AA701CCEFD66006CE7D0 /* DefaultStringConvertible.framework */, 137 | 8870AA791CCEFD66006CE7D0 /* DefaultStringConvertible-OSXTests.xctest */, 138 | 8870AA8F1CCEFE38006CE7D0 /* DefaultStringConvertible.framework */, 139 | 8870AA981CCEFE38006CE7D0 /* DefaultStringConvertible-tvOSTests.xctest */, 140 | 8870AABB1CCEFF41006CE7D0 /* DefaultStringConvertible.framework */, 141 | ); 142 | name = Products; 143 | sourceTree = ""; 144 | }; 145 | 8870AA5E1CCEF949006CE7D0 /* Sources */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 8870AA5F1CCEF949006CE7D0 /* DefaultStringConvertible.h */, 149 | 8870AA681CCEF9B3006CE7D0 /* DefaultStringConvertible.swift */, 150 | 8870AA601CCEF949006CE7D0 /* Info.plist */, 151 | ); 152 | path = Sources; 153 | sourceTree = ""; 154 | }; 155 | 8870AA611CCEF949006CE7D0 /* Tests */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 8870AA621CCEF949006CE7D0 /* DefaultStringConvertibleTests.swift */, 159 | 8706E6D61D87729C00097172 /* LinuxMain.swift */, 160 | 8870AA631CCEF949006CE7D0 /* Info.plist */, 161 | ); 162 | path = Tests; 163 | sourceTree = ""; 164 | }; 165 | /* End PBXGroup section */ 166 | 167 | /* Begin PBXHeadersBuildPhase section */ 168 | 8870AA411CCEF912006CE7D0 /* Headers */ = { 169 | isa = PBXHeadersBuildPhase; 170 | buildActionMask = 2147483647; 171 | files = ( 172 | 8870AA641CCEF949006CE7D0 /* DefaultStringConvertible.h in Headers */, 173 | ); 174 | runOnlyForDeploymentPostprocessing = 0; 175 | }; 176 | 8870AA6D1CCEFD66006CE7D0 /* Headers */ = { 177 | isa = PBXHeadersBuildPhase; 178 | buildActionMask = 2147483647; 179 | files = ( 180 | 8870AA871CCEFDA2006CE7D0 /* DefaultStringConvertible.h in Headers */, 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | }; 184 | 8870AA8C1CCEFE38006CE7D0 /* Headers */ = { 185 | isa = PBXHeadersBuildPhase; 186 | buildActionMask = 2147483647; 187 | files = ( 188 | 8870AAA61CCEFE89006CE7D0 /* DefaultStringConvertible.h in Headers */, 189 | ); 190 | runOnlyForDeploymentPostprocessing = 0; 191 | }; 192 | 8870AAB81CCEFF41006CE7D0 /* Headers */ = { 193 | isa = PBXHeadersBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | 8870AAC31CCEFF93006CE7D0 /* DefaultStringConvertible.h in Headers */, 197 | ); 198 | runOnlyForDeploymentPostprocessing = 0; 199 | }; 200 | /* End PBXHeadersBuildPhase section */ 201 | 202 | /* Begin PBXNativeTarget section */ 203 | 8870AA431CCEF912006CE7D0 /* DefaultStringConvertible-iOS */ = { 204 | isa = PBXNativeTarget; 205 | buildConfigurationList = 8870AA581CCEF912006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-iOS" */; 206 | buildPhases = ( 207 | 8870AA3F1CCEF912006CE7D0 /* Sources */, 208 | 8870AA401CCEF912006CE7D0 /* Frameworks */, 209 | 8870AA411CCEF912006CE7D0 /* Headers */, 210 | 8870AA421CCEF912006CE7D0 /* Resources */, 211 | ); 212 | buildRules = ( 213 | ); 214 | dependencies = ( 215 | ); 216 | name = "DefaultStringConvertible-iOS"; 217 | productName = DefaultStringConvertible; 218 | productReference = 8870AA441CCEF912006CE7D0 /* DefaultStringConvertible.framework */; 219 | productType = "com.apple.product-type.framework"; 220 | }; 221 | 8870AA4D1CCEF912006CE7D0 /* DefaultStringConvertible-iOSTests */ = { 222 | isa = PBXNativeTarget; 223 | buildConfigurationList = 8870AA5B1CCEF912006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-iOSTests" */; 224 | buildPhases = ( 225 | 8870AA4A1CCEF912006CE7D0 /* Sources */, 226 | 8870AA4B1CCEF912006CE7D0 /* Frameworks */, 227 | 8870AA4C1CCEF912006CE7D0 /* Resources */, 228 | ); 229 | buildRules = ( 230 | ); 231 | dependencies = ( 232 | 8870AA511CCEF912006CE7D0 /* PBXTargetDependency */, 233 | ); 234 | name = "DefaultStringConvertible-iOSTests"; 235 | productName = DefaultStringConvertibleTests; 236 | productReference = 8870AA4E1CCEF912006CE7D0 /* DefaultStringConvertible-iOSTests.xctest */; 237 | productType = "com.apple.product-type.bundle.unit-test"; 238 | }; 239 | 8870AA6F1CCEFD66006CE7D0 /* DefaultStringConvertible-OSX */ = { 240 | isa = PBXNativeTarget; 241 | buildConfigurationList = 8870AA811CCEFD66006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-OSX" */; 242 | buildPhases = ( 243 | 8870AA6B1CCEFD66006CE7D0 /* Sources */, 244 | 8870AA6C1CCEFD66006CE7D0 /* Frameworks */, 245 | 8870AA6D1CCEFD66006CE7D0 /* Headers */, 246 | 8870AA6E1CCEFD66006CE7D0 /* Resources */, 247 | ); 248 | buildRules = ( 249 | ); 250 | dependencies = ( 251 | ); 252 | name = "DefaultStringConvertible-OSX"; 253 | productName = "DefaultStringConvertible-OSX"; 254 | productReference = 8870AA701CCEFD66006CE7D0 /* DefaultStringConvertible.framework */; 255 | productType = "com.apple.product-type.framework"; 256 | }; 257 | 8870AA781CCEFD66006CE7D0 /* DefaultStringConvertible-OSXTests */ = { 258 | isa = PBXNativeTarget; 259 | buildConfigurationList = 8870AA841CCEFD66006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-OSXTests" */; 260 | buildPhases = ( 261 | 8870AA751CCEFD66006CE7D0 /* Sources */, 262 | 8870AA761CCEFD66006CE7D0 /* Frameworks */, 263 | 8870AA771CCEFD66006CE7D0 /* Resources */, 264 | ); 265 | buildRules = ( 266 | ); 267 | dependencies = ( 268 | 8870AA7C1CCEFD66006CE7D0 /* PBXTargetDependency */, 269 | ); 270 | name = "DefaultStringConvertible-OSXTests"; 271 | productName = "DefaultStringConvertible-OSXTests"; 272 | productReference = 8870AA791CCEFD66006CE7D0 /* DefaultStringConvertible-OSXTests.xctest */; 273 | productType = "com.apple.product-type.bundle.unit-test"; 274 | }; 275 | 8870AA8E1CCEFE38006CE7D0 /* DefaultStringConvertible-tvOS */ = { 276 | isa = PBXNativeTarget; 277 | buildConfigurationList = 8870AAA01CCEFE38006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-tvOS" */; 278 | buildPhases = ( 279 | 8870AA8A1CCEFE38006CE7D0 /* Sources */, 280 | 8870AA8B1CCEFE38006CE7D0 /* Frameworks */, 281 | 8870AA8C1CCEFE38006CE7D0 /* Headers */, 282 | 8870AA8D1CCEFE38006CE7D0 /* Resources */, 283 | ); 284 | buildRules = ( 285 | ); 286 | dependencies = ( 287 | ); 288 | name = "DefaultStringConvertible-tvOS"; 289 | productName = "DefaultStringConvertible-tvOS"; 290 | productReference = 8870AA8F1CCEFE38006CE7D0 /* DefaultStringConvertible.framework */; 291 | productType = "com.apple.product-type.framework"; 292 | }; 293 | 8870AA971CCEFE38006CE7D0 /* DefaultStringConvertible-tvOSTests */ = { 294 | isa = PBXNativeTarget; 295 | buildConfigurationList = 8870AAA31CCEFE38006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-tvOSTests" */; 296 | buildPhases = ( 297 | 8870AA941CCEFE38006CE7D0 /* Sources */, 298 | 8870AA951CCEFE38006CE7D0 /* Frameworks */, 299 | 8870AA961CCEFE38006CE7D0 /* Resources */, 300 | ); 301 | buildRules = ( 302 | ); 303 | dependencies = ( 304 | 8870AA9B1CCEFE38006CE7D0 /* PBXTargetDependency */, 305 | ); 306 | name = "DefaultStringConvertible-tvOSTests"; 307 | productName = "DefaultStringConvertible-tvOSTests"; 308 | productReference = 8870AA981CCEFE38006CE7D0 /* DefaultStringConvertible-tvOSTests.xctest */; 309 | productType = "com.apple.product-type.bundle.unit-test"; 310 | }; 311 | 8870AABA1CCEFF41006CE7D0 /* DefaultStringConvertible-watchOS */ = { 312 | isa = PBXNativeTarget; 313 | buildConfigurationList = 8870AAC21CCEFF41006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-watchOS" */; 314 | buildPhases = ( 315 | 8870AAB61CCEFF41006CE7D0 /* Sources */, 316 | 8870AAB71CCEFF41006CE7D0 /* Frameworks */, 317 | 8870AAB81CCEFF41006CE7D0 /* Headers */, 318 | 8870AAB91CCEFF41006CE7D0 /* Resources */, 319 | ); 320 | buildRules = ( 321 | ); 322 | dependencies = ( 323 | ); 324 | name = "DefaultStringConvertible-watchOS"; 325 | productName = "DefaultStringConvertible-watchOS"; 326 | productReference = 8870AABB1CCEFF41006CE7D0 /* DefaultStringConvertible.framework */; 327 | productType = "com.apple.product-type.framework"; 328 | }; 329 | /* End PBXNativeTarget section */ 330 | 331 | /* Begin PBXProject section */ 332 | 8870AA3B1CCEF912006CE7D0 /* Project object */ = { 333 | isa = PBXProject; 334 | attributes = { 335 | LastSwiftUpdateCheck = 0730; 336 | LastUpgradeCheck = 0800; 337 | ORGANIZATIONNAME = "Hexed Bits"; 338 | TargetAttributes = { 339 | 8870AA431CCEF912006CE7D0 = { 340 | CreatedOnToolsVersion = 7.3; 341 | LastSwiftMigration = 0800; 342 | }; 343 | 8870AA4D1CCEF912006CE7D0 = { 344 | CreatedOnToolsVersion = 7.3; 345 | LastSwiftMigration = 0800; 346 | ProvisioningStyle = Manual; 347 | }; 348 | 8870AA6F1CCEFD66006CE7D0 = { 349 | CreatedOnToolsVersion = 7.3; 350 | LastSwiftMigration = 0800; 351 | }; 352 | 8870AA781CCEFD66006CE7D0 = { 353 | CreatedOnToolsVersion = 7.3; 354 | LastSwiftMigration = 0800; 355 | }; 356 | 8870AA8E1CCEFE38006CE7D0 = { 357 | CreatedOnToolsVersion = 7.3; 358 | }; 359 | 8870AA971CCEFE38006CE7D0 = { 360 | CreatedOnToolsVersion = 7.3; 361 | ProvisioningStyle = Manual; 362 | }; 363 | 8870AABA1CCEFF41006CE7D0 = { 364 | CreatedOnToolsVersion = 7.3; 365 | }; 366 | }; 367 | }; 368 | buildConfigurationList = 8870AA3E1CCEF912006CE7D0 /* Build configuration list for PBXProject "DefaultStringConvertible" */; 369 | compatibilityVersion = "Xcode 3.2"; 370 | developmentRegion = English; 371 | hasScannedForEncodings = 0; 372 | knownRegions = ( 373 | en, 374 | ); 375 | mainGroup = 8870AA3A1CCEF912006CE7D0; 376 | productRefGroup = 8870AA451CCEF912006CE7D0 /* Products */; 377 | projectDirPath = ""; 378 | projectRoot = ""; 379 | targets = ( 380 | 8870AA431CCEF912006CE7D0 /* DefaultStringConvertible-iOS */, 381 | 8870AA4D1CCEF912006CE7D0 /* DefaultStringConvertible-iOSTests */, 382 | 8870AA6F1CCEFD66006CE7D0 /* DefaultStringConvertible-OSX */, 383 | 8870AA781CCEFD66006CE7D0 /* DefaultStringConvertible-OSXTests */, 384 | 8870AA8E1CCEFE38006CE7D0 /* DefaultStringConvertible-tvOS */, 385 | 8870AA971CCEFE38006CE7D0 /* DefaultStringConvertible-tvOSTests */, 386 | 8870AABA1CCEFF41006CE7D0 /* DefaultStringConvertible-watchOS */, 387 | ); 388 | }; 389 | /* End PBXProject section */ 390 | 391 | /* Begin PBXResourcesBuildPhase section */ 392 | 8870AA421CCEF912006CE7D0 /* Resources */ = { 393 | isa = PBXResourcesBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | ); 397 | runOnlyForDeploymentPostprocessing = 0; 398 | }; 399 | 8870AA4C1CCEF912006CE7D0 /* Resources */ = { 400 | isa = PBXResourcesBuildPhase; 401 | buildActionMask = 2147483647; 402 | files = ( 403 | ); 404 | runOnlyForDeploymentPostprocessing = 0; 405 | }; 406 | 8870AA6E1CCEFD66006CE7D0 /* Resources */ = { 407 | isa = PBXResourcesBuildPhase; 408 | buildActionMask = 2147483647; 409 | files = ( 410 | ); 411 | runOnlyForDeploymentPostprocessing = 0; 412 | }; 413 | 8870AA771CCEFD66006CE7D0 /* Resources */ = { 414 | isa = PBXResourcesBuildPhase; 415 | buildActionMask = 2147483647; 416 | files = ( 417 | ); 418 | runOnlyForDeploymentPostprocessing = 0; 419 | }; 420 | 8870AA8D1CCEFE38006CE7D0 /* Resources */ = { 421 | isa = PBXResourcesBuildPhase; 422 | buildActionMask = 2147483647; 423 | files = ( 424 | ); 425 | runOnlyForDeploymentPostprocessing = 0; 426 | }; 427 | 8870AA961CCEFE38006CE7D0 /* Resources */ = { 428 | isa = PBXResourcesBuildPhase; 429 | buildActionMask = 2147483647; 430 | files = ( 431 | ); 432 | runOnlyForDeploymentPostprocessing = 0; 433 | }; 434 | 8870AAB91CCEFF41006CE7D0 /* Resources */ = { 435 | isa = PBXResourcesBuildPhase; 436 | buildActionMask = 2147483647; 437 | files = ( 438 | ); 439 | runOnlyForDeploymentPostprocessing = 0; 440 | }; 441 | /* End PBXResourcesBuildPhase section */ 442 | 443 | /* Begin PBXSourcesBuildPhase section */ 444 | 8870AA3F1CCEF912006CE7D0 /* Sources */ = { 445 | isa = PBXSourcesBuildPhase; 446 | buildActionMask = 2147483647; 447 | files = ( 448 | 8870AA691CCEF9B3006CE7D0 /* DefaultStringConvertible.swift in Sources */, 449 | ); 450 | runOnlyForDeploymentPostprocessing = 0; 451 | }; 452 | 8870AA4A1CCEF912006CE7D0 /* Sources */ = { 453 | isa = PBXSourcesBuildPhase; 454 | buildActionMask = 2147483647; 455 | files = ( 456 | 8870AA6A1CCEFA62006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */, 457 | ); 458 | runOnlyForDeploymentPostprocessing = 0; 459 | }; 460 | 8870AA6B1CCEFD66006CE7D0 /* Sources */ = { 461 | isa = PBXSourcesBuildPhase; 462 | buildActionMask = 2147483647; 463 | files = ( 464 | 8870AA881CCEFDA8006CE7D0 /* DefaultStringConvertible.swift in Sources */, 465 | ); 466 | runOnlyForDeploymentPostprocessing = 0; 467 | }; 468 | 8870AA751CCEFD66006CE7D0 /* Sources */ = { 469 | isa = PBXSourcesBuildPhase; 470 | buildActionMask = 2147483647; 471 | files = ( 472 | 8870AA891CCEFDAC006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */, 473 | ); 474 | runOnlyForDeploymentPostprocessing = 0; 475 | }; 476 | 8870AA8A1CCEFE38006CE7D0 /* Sources */ = { 477 | isa = PBXSourcesBuildPhase; 478 | buildActionMask = 2147483647; 479 | files = ( 480 | 8870AAA71CCEFE91006CE7D0 /* DefaultStringConvertible.swift in Sources */, 481 | ); 482 | runOnlyForDeploymentPostprocessing = 0; 483 | }; 484 | 8870AA941CCEFE38006CE7D0 /* Sources */ = { 485 | isa = PBXSourcesBuildPhase; 486 | buildActionMask = 2147483647; 487 | files = ( 488 | 8870AAA81CCEFE96006CE7D0 /* DefaultStringConvertibleTests.swift in Sources */, 489 | ); 490 | runOnlyForDeploymentPostprocessing = 0; 491 | }; 492 | 8870AAB61CCEFF41006CE7D0 /* Sources */ = { 493 | isa = PBXSourcesBuildPhase; 494 | buildActionMask = 2147483647; 495 | files = ( 496 | 8870AAC41CCEFF9A006CE7D0 /* DefaultStringConvertible.swift in Sources */, 497 | ); 498 | runOnlyForDeploymentPostprocessing = 0; 499 | }; 500 | /* End PBXSourcesBuildPhase section */ 501 | 502 | /* Begin PBXTargetDependency section */ 503 | 8870AA511CCEF912006CE7D0 /* PBXTargetDependency */ = { 504 | isa = PBXTargetDependency; 505 | target = 8870AA431CCEF912006CE7D0 /* DefaultStringConvertible-iOS */; 506 | targetProxy = 8870AA501CCEF912006CE7D0 /* PBXContainerItemProxy */; 507 | }; 508 | 8870AA7C1CCEFD66006CE7D0 /* PBXTargetDependency */ = { 509 | isa = PBXTargetDependency; 510 | target = 8870AA6F1CCEFD66006CE7D0 /* DefaultStringConvertible-OSX */; 511 | targetProxy = 8870AA7B1CCEFD66006CE7D0 /* PBXContainerItemProxy */; 512 | }; 513 | 8870AA9B1CCEFE38006CE7D0 /* PBXTargetDependency */ = { 514 | isa = PBXTargetDependency; 515 | target = 8870AA8E1CCEFE38006CE7D0 /* DefaultStringConvertible-tvOS */; 516 | targetProxy = 8870AA9A1CCEFE38006CE7D0 /* PBXContainerItemProxy */; 517 | }; 518 | /* End PBXTargetDependency section */ 519 | 520 | /* Begin XCBuildConfiguration section */ 521 | 8870AA561CCEF912006CE7D0 /* Debug */ = { 522 | isa = XCBuildConfiguration; 523 | buildSettings = { 524 | ALWAYS_SEARCH_USER_PATHS = NO; 525 | CLANG_ANALYZER_NONNULL = YES; 526 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 527 | CLANG_CXX_LIBRARY = "libc++"; 528 | CLANG_ENABLE_MODULES = YES; 529 | CLANG_ENABLE_OBJC_ARC = YES; 530 | CLANG_WARN_BOOL_CONVERSION = YES; 531 | CLANG_WARN_CONSTANT_CONVERSION = YES; 532 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 533 | CLANG_WARN_EMPTY_BODY = YES; 534 | CLANG_WARN_ENUM_CONVERSION = YES; 535 | CLANG_WARN_INFINITE_RECURSION = YES; 536 | CLANG_WARN_INT_CONVERSION = YES; 537 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 538 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 539 | CLANG_WARN_UNREACHABLE_CODE = YES; 540 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 541 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 542 | COPY_PHASE_STRIP = NO; 543 | CURRENT_PROJECT_VERSION = 1; 544 | DEBUG_INFORMATION_FORMAT = dwarf; 545 | ENABLE_STRICT_OBJC_MSGSEND = YES; 546 | ENABLE_TESTABILITY = YES; 547 | GCC_C_LANGUAGE_STANDARD = gnu99; 548 | GCC_DYNAMIC_NO_PIC = NO; 549 | GCC_NO_COMMON_BLOCKS = YES; 550 | GCC_OPTIMIZATION_LEVEL = 0; 551 | GCC_PREPROCESSOR_DEFINITIONS = ( 552 | "DEBUG=1", 553 | "$(inherited)", 554 | ); 555 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 556 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 557 | GCC_WARN_UNDECLARED_SELECTOR = YES; 558 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 559 | GCC_WARN_UNUSED_FUNCTION = YES; 560 | GCC_WARN_UNUSED_VARIABLE = YES; 561 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 562 | MTL_ENABLE_DEBUG_INFO = YES; 563 | ONLY_ACTIVE_ARCH = YES; 564 | SDKROOT = iphoneos; 565 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 566 | SWIFT_VERSION = 3.0; 567 | TARGETED_DEVICE_FAMILY = "1,2"; 568 | VERSIONING_SYSTEM = "apple-generic"; 569 | VERSION_INFO_PREFIX = ""; 570 | }; 571 | name = Debug; 572 | }; 573 | 8870AA571CCEF912006CE7D0 /* Release */ = { 574 | isa = XCBuildConfiguration; 575 | buildSettings = { 576 | ALWAYS_SEARCH_USER_PATHS = NO; 577 | CLANG_ANALYZER_NONNULL = YES; 578 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 579 | CLANG_CXX_LIBRARY = "libc++"; 580 | CLANG_ENABLE_MODULES = YES; 581 | CLANG_ENABLE_OBJC_ARC = YES; 582 | CLANG_WARN_BOOL_CONVERSION = YES; 583 | CLANG_WARN_CONSTANT_CONVERSION = YES; 584 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 585 | CLANG_WARN_EMPTY_BODY = YES; 586 | CLANG_WARN_ENUM_CONVERSION = YES; 587 | CLANG_WARN_INFINITE_RECURSION = YES; 588 | CLANG_WARN_INT_CONVERSION = YES; 589 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 590 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 591 | CLANG_WARN_UNREACHABLE_CODE = YES; 592 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 593 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 594 | COPY_PHASE_STRIP = NO; 595 | CURRENT_PROJECT_VERSION = 1; 596 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 597 | ENABLE_NS_ASSERTIONS = NO; 598 | ENABLE_STRICT_OBJC_MSGSEND = YES; 599 | GCC_C_LANGUAGE_STANDARD = gnu99; 600 | GCC_NO_COMMON_BLOCKS = YES; 601 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 602 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 603 | GCC_WARN_UNDECLARED_SELECTOR = YES; 604 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 605 | GCC_WARN_UNUSED_FUNCTION = YES; 606 | GCC_WARN_UNUSED_VARIABLE = YES; 607 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 608 | MTL_ENABLE_DEBUG_INFO = NO; 609 | SDKROOT = iphoneos; 610 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 611 | SWIFT_VERSION = 3.0; 612 | TARGETED_DEVICE_FAMILY = "1,2"; 613 | VALIDATE_PRODUCT = YES; 614 | VERSIONING_SYSTEM = "apple-generic"; 615 | VERSION_INFO_PREFIX = ""; 616 | }; 617 | name = Release; 618 | }; 619 | 8870AA591CCEF912006CE7D0 /* Debug */ = { 620 | isa = XCBuildConfiguration; 621 | buildSettings = { 622 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 623 | DEFINES_MODULE = YES; 624 | DYLIB_COMPATIBILITY_VERSION = 1; 625 | DYLIB_CURRENT_VERSION = 1; 626 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 627 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 628 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 629 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 630 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 631 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 632 | PRODUCT_NAME = DefaultStringConvertible; 633 | SKIP_INSTALL = YES; 634 | SWIFT_VERSION = 3.0; 635 | }; 636 | name = Debug; 637 | }; 638 | 8870AA5A1CCEF912006CE7D0 /* Release */ = { 639 | isa = XCBuildConfiguration; 640 | buildSettings = { 641 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 642 | DEFINES_MODULE = YES; 643 | DYLIB_COMPATIBILITY_VERSION = 1; 644 | DYLIB_CURRENT_VERSION = 1; 645 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 646 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 647 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 648 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 649 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 650 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 651 | PRODUCT_NAME = DefaultStringConvertible; 652 | SKIP_INSTALL = YES; 653 | SWIFT_VERSION = 3.0; 654 | }; 655 | name = Release; 656 | }; 657 | 8870AA5C1CCEF912006CE7D0 /* Debug */ = { 658 | isa = XCBuildConfiguration; 659 | buildSettings = { 660 | DEVELOPMENT_TEAM = ""; 661 | INFOPLIST_FILE = Tests/Info.plist; 662 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 663 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertibleTests; 664 | PRODUCT_NAME = "$(TARGET_NAME)"; 665 | SWIFT_VERSION = 3.0; 666 | }; 667 | name = Debug; 668 | }; 669 | 8870AA5D1CCEF912006CE7D0 /* Release */ = { 670 | isa = XCBuildConfiguration; 671 | buildSettings = { 672 | DEVELOPMENT_TEAM = ""; 673 | INFOPLIST_FILE = Tests/Info.plist; 674 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 675 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertibleTests; 676 | PRODUCT_NAME = "$(TARGET_NAME)"; 677 | SWIFT_VERSION = 3.0; 678 | }; 679 | name = Release; 680 | }; 681 | 8870AA821CCEFD66006CE7D0 /* Debug */ = { 682 | isa = XCBuildConfiguration; 683 | buildSettings = { 684 | CODE_SIGN_IDENTITY = ""; 685 | COMBINE_HIDPI_IMAGES = YES; 686 | DEFINES_MODULE = YES; 687 | DYLIB_COMPATIBILITY_VERSION = 1; 688 | DYLIB_CURRENT_VERSION = 1; 689 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 690 | FRAMEWORK_VERSION = A; 691 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 692 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 693 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 694 | MACOSX_DEPLOYMENT_TARGET = 10.10; 695 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 696 | PRODUCT_NAME = DefaultStringConvertible; 697 | SDKROOT = macosx; 698 | SKIP_INSTALL = YES; 699 | SWIFT_VERSION = 3.0; 700 | }; 701 | name = Debug; 702 | }; 703 | 8870AA831CCEFD66006CE7D0 /* Release */ = { 704 | isa = XCBuildConfiguration; 705 | buildSettings = { 706 | CODE_SIGN_IDENTITY = ""; 707 | COMBINE_HIDPI_IMAGES = YES; 708 | DEFINES_MODULE = YES; 709 | DYLIB_COMPATIBILITY_VERSION = 1; 710 | DYLIB_CURRENT_VERSION = 1; 711 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 712 | FRAMEWORK_VERSION = A; 713 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 714 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 715 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 716 | MACOSX_DEPLOYMENT_TARGET = 10.10; 717 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 718 | PRODUCT_NAME = DefaultStringConvertible; 719 | SDKROOT = macosx; 720 | SKIP_INSTALL = YES; 721 | SWIFT_VERSION = 3.0; 722 | }; 723 | name = Release; 724 | }; 725 | 8870AA851CCEFD66006CE7D0 /* Debug */ = { 726 | isa = XCBuildConfiguration; 727 | buildSettings = { 728 | CODE_SIGN_IDENTITY = "-"; 729 | COMBINE_HIDPI_IMAGES = YES; 730 | INFOPLIST_FILE = Tests/Info.plist; 731 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 732 | MACOSX_DEPLOYMENT_TARGET = 10.11; 733 | PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.DefaultStringConvertible-OSXTests"; 734 | PRODUCT_NAME = "$(TARGET_NAME)"; 735 | SDKROOT = macosx; 736 | SWIFT_VERSION = 3.0; 737 | }; 738 | name = Debug; 739 | }; 740 | 8870AA861CCEFD66006CE7D0 /* Release */ = { 741 | isa = XCBuildConfiguration; 742 | buildSettings = { 743 | CODE_SIGN_IDENTITY = "-"; 744 | COMBINE_HIDPI_IMAGES = YES; 745 | INFOPLIST_FILE = Tests/Info.plist; 746 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 747 | MACOSX_DEPLOYMENT_TARGET = 10.11; 748 | PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.DefaultStringConvertible-OSXTests"; 749 | PRODUCT_NAME = "$(TARGET_NAME)"; 750 | SDKROOT = macosx; 751 | SWIFT_VERSION = 3.0; 752 | }; 753 | name = Release; 754 | }; 755 | 8870AAA11CCEFE38006CE7D0 /* Debug */ = { 756 | isa = XCBuildConfiguration; 757 | buildSettings = { 758 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 759 | DEFINES_MODULE = YES; 760 | DYLIB_COMPATIBILITY_VERSION = 1; 761 | DYLIB_CURRENT_VERSION = 1; 762 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 763 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 764 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 765 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 766 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 767 | PRODUCT_NAME = DefaultStringConvertible; 768 | SDKROOT = appletvos; 769 | SKIP_INSTALL = YES; 770 | SWIFT_VERSION = 3.0; 771 | TARGETED_DEVICE_FAMILY = 3; 772 | TVOS_DEPLOYMENT_TARGET = 9.0; 773 | }; 774 | name = Debug; 775 | }; 776 | 8870AAA21CCEFE38006CE7D0 /* Release */ = { 777 | isa = XCBuildConfiguration; 778 | buildSettings = { 779 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 780 | DEFINES_MODULE = YES; 781 | DYLIB_COMPATIBILITY_VERSION = 1; 782 | DYLIB_CURRENT_VERSION = 1; 783 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 784 | INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; 785 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 786 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 787 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 788 | PRODUCT_NAME = DefaultStringConvertible; 789 | SDKROOT = appletvos; 790 | SKIP_INSTALL = YES; 791 | SWIFT_VERSION = 3.0; 792 | TARGETED_DEVICE_FAMILY = 3; 793 | TVOS_DEPLOYMENT_TARGET = 9.0; 794 | }; 795 | name = Release; 796 | }; 797 | 8870AAA41CCEFE38006CE7D0 /* Debug */ = { 798 | isa = XCBuildConfiguration; 799 | buildSettings = { 800 | DEVELOPMENT_TEAM = ""; 801 | INFOPLIST_FILE = Tests/Info.plist; 802 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 803 | PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.DefaultStringConvertible-tvOSTests"; 804 | PRODUCT_NAME = "$(TARGET_NAME)"; 805 | SDKROOT = appletvos; 806 | SWIFT_VERSION = 3.0; 807 | TVOS_DEPLOYMENT_TARGET = 9.2; 808 | }; 809 | name = Debug; 810 | }; 811 | 8870AAA51CCEFE38006CE7D0 /* Release */ = { 812 | isa = XCBuildConfiguration; 813 | buildSettings = { 814 | DEVELOPMENT_TEAM = ""; 815 | INFOPLIST_FILE = Tests/Info.plist; 816 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 817 | PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.DefaultStringConvertible-tvOSTests"; 818 | PRODUCT_NAME = "$(TARGET_NAME)"; 819 | SDKROOT = appletvos; 820 | SWIFT_VERSION = 3.0; 821 | TVOS_DEPLOYMENT_TARGET = 9.2; 822 | }; 823 | name = Release; 824 | }; 825 | 8870AAC01CCEFF41006CE7D0 /* Debug */ = { 826 | isa = XCBuildConfiguration; 827 | buildSettings = { 828 | APPLICATION_EXTENSION_API_ONLY = YES; 829 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 830 | DEFINES_MODULE = YES; 831 | DYLIB_COMPATIBILITY_VERSION = 1; 832 | DYLIB_CURRENT_VERSION = 1; 833 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 834 | INFOPLIST_FILE = Sources/Info.plist; 835 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 836 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 837 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 838 | PRODUCT_NAME = DefaultStringConvertible; 839 | SDKROOT = watchos; 840 | SKIP_INSTALL = YES; 841 | SWIFT_VERSION = 3.0; 842 | TARGETED_DEVICE_FAMILY = 4; 843 | WATCHOS_DEPLOYMENT_TARGET = 2.0; 844 | }; 845 | name = Debug; 846 | }; 847 | 8870AAC11CCEFF41006CE7D0 /* Release */ = { 848 | isa = XCBuildConfiguration; 849 | buildSettings = { 850 | APPLICATION_EXTENSION_API_ONLY = YES; 851 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 852 | DEFINES_MODULE = YES; 853 | DYLIB_COMPATIBILITY_VERSION = 1; 854 | DYLIB_CURRENT_VERSION = 1; 855 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 856 | INFOPLIST_FILE = Sources/Info.plist; 857 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 858 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 859 | PRODUCT_BUNDLE_IDENTIFIER = com.hexedbits.DefaultStringConvertible; 860 | PRODUCT_NAME = DefaultStringConvertible; 861 | SDKROOT = watchos; 862 | SKIP_INSTALL = YES; 863 | SWIFT_VERSION = 3.0; 864 | TARGETED_DEVICE_FAMILY = 4; 865 | WATCHOS_DEPLOYMENT_TARGET = 2.0; 866 | }; 867 | name = Release; 868 | }; 869 | /* End XCBuildConfiguration section */ 870 | 871 | /* Begin XCConfigurationList section */ 872 | 8870AA3E1CCEF912006CE7D0 /* Build configuration list for PBXProject "DefaultStringConvertible" */ = { 873 | isa = XCConfigurationList; 874 | buildConfigurations = ( 875 | 8870AA561CCEF912006CE7D0 /* Debug */, 876 | 8870AA571CCEF912006CE7D0 /* Release */, 877 | ); 878 | defaultConfigurationIsVisible = 0; 879 | defaultConfigurationName = Release; 880 | }; 881 | 8870AA581CCEF912006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-iOS" */ = { 882 | isa = XCConfigurationList; 883 | buildConfigurations = ( 884 | 8870AA591CCEF912006CE7D0 /* Debug */, 885 | 8870AA5A1CCEF912006CE7D0 /* Release */, 886 | ); 887 | defaultConfigurationIsVisible = 0; 888 | defaultConfigurationName = Release; 889 | }; 890 | 8870AA5B1CCEF912006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-iOSTests" */ = { 891 | isa = XCConfigurationList; 892 | buildConfigurations = ( 893 | 8870AA5C1CCEF912006CE7D0 /* Debug */, 894 | 8870AA5D1CCEF912006CE7D0 /* Release */, 895 | ); 896 | defaultConfigurationIsVisible = 0; 897 | defaultConfigurationName = Release; 898 | }; 899 | 8870AA811CCEFD66006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-OSX" */ = { 900 | isa = XCConfigurationList; 901 | buildConfigurations = ( 902 | 8870AA821CCEFD66006CE7D0 /* Debug */, 903 | 8870AA831CCEFD66006CE7D0 /* Release */, 904 | ); 905 | defaultConfigurationIsVisible = 0; 906 | defaultConfigurationName = Release; 907 | }; 908 | 8870AA841CCEFD66006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-OSXTests" */ = { 909 | isa = XCConfigurationList; 910 | buildConfigurations = ( 911 | 8870AA851CCEFD66006CE7D0 /* Debug */, 912 | 8870AA861CCEFD66006CE7D0 /* Release */, 913 | ); 914 | defaultConfigurationIsVisible = 0; 915 | defaultConfigurationName = Release; 916 | }; 917 | 8870AAA01CCEFE38006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-tvOS" */ = { 918 | isa = XCConfigurationList; 919 | buildConfigurations = ( 920 | 8870AAA11CCEFE38006CE7D0 /* Debug */, 921 | 8870AAA21CCEFE38006CE7D0 /* Release */, 922 | ); 923 | defaultConfigurationIsVisible = 0; 924 | defaultConfigurationName = Release; 925 | }; 926 | 8870AAA31CCEFE38006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-tvOSTests" */ = { 927 | isa = XCConfigurationList; 928 | buildConfigurations = ( 929 | 8870AAA41CCEFE38006CE7D0 /* Debug */, 930 | 8870AAA51CCEFE38006CE7D0 /* Release */, 931 | ); 932 | defaultConfigurationIsVisible = 0; 933 | defaultConfigurationName = Release; 934 | }; 935 | 8870AAC21CCEFF41006CE7D0 /* Build configuration list for PBXNativeTarget "DefaultStringConvertible-watchOS" */ = { 936 | isa = XCConfigurationList; 937 | buildConfigurations = ( 938 | 8870AAC01CCEFF41006CE7D0 /* Debug */, 939 | 8870AAC11CCEFF41006CE7D0 /* Release */, 940 | ); 941 | defaultConfigurationIsVisible = 0; 942 | defaultConfigurationName = Release; 943 | }; 944 | /* End XCConfigurationList section */ 945 | }; 946 | rootObject = 8870AA3B1CCEF912006CE7D0 /* Project object */; 947 | } 948 | -------------------------------------------------------------------------------- /docs/js/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ 2 | !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; 3 | if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("