├── .gitignore ├── LICENSE ├── Menu.gif ├── Podfile ├── Podfile.lock ├── Pods ├── Headers │ ├── Private │ │ └── Masonry │ │ │ ├── MASCompositeConstraint.h │ │ │ ├── MASConstraint+Private.h │ │ │ ├── MASConstraint.h │ │ │ ├── MASConstraintMaker.h │ │ │ ├── MASLayoutConstraint.h │ │ │ ├── MASUtilities.h │ │ │ ├── MASViewAttribute.h │ │ │ ├── MASViewConstraint.h │ │ │ ├── Masonry.h │ │ │ ├── NSArray+MASAdditions.h │ │ │ ├── NSArray+MASShorthandAdditions.h │ │ │ ├── NSLayoutConstraint+MASDebugAdditions.h │ │ │ ├── View+MASAdditions.h │ │ │ ├── View+MASShorthandAdditions.h │ │ │ └── ViewController+MASAdditions.h │ └── Public │ │ └── Masonry │ │ ├── MASCompositeConstraint.h │ │ ├── MASConstraint+Private.h │ │ ├── MASConstraint.h │ │ ├── MASConstraintMaker.h │ │ ├── MASLayoutConstraint.h │ │ ├── MASUtilities.h │ │ ├── MASViewAttribute.h │ │ ├── MASViewConstraint.h │ │ ├── Masonry.h │ │ ├── NSArray+MASAdditions.h │ │ ├── NSArray+MASShorthandAdditions.h │ │ ├── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── View+MASAdditions.h │ │ ├── View+MASShorthandAdditions.h │ │ └── ViewController+MASAdditions.h ├── Manifest.lock ├── Masonry │ ├── LICENSE │ ├── Masonry │ │ ├── MASCompositeConstraint.h │ │ ├── MASCompositeConstraint.m │ │ ├── MASConstraint+Private.h │ │ ├── MASConstraint.h │ │ ├── MASConstraint.m │ │ ├── MASConstraintMaker.h │ │ ├── MASConstraintMaker.m │ │ ├── MASLayoutConstraint.h │ │ ├── MASLayoutConstraint.m │ │ ├── MASUtilities.h │ │ ├── MASViewAttribute.h │ │ ├── MASViewAttribute.m │ │ ├── MASViewConstraint.h │ │ ├── MASViewConstraint.m │ │ ├── Masonry.h │ │ ├── NSArray+MASAdditions.h │ │ ├── NSArray+MASAdditions.m │ │ ├── NSArray+MASShorthandAdditions.h │ │ ├── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── NSLayoutConstraint+MASDebugAdditions.m │ │ ├── View+MASAdditions.h │ │ ├── View+MASAdditions.m │ │ ├── View+MASShorthandAdditions.h │ │ ├── ViewController+MASAdditions.h │ │ └── ViewController+MASAdditions.m │ └── README.md ├── Pods.xcodeproj │ └── project.pbxproj └── Target Support Files │ ├── Masonry │ ├── Masonry-dummy.m │ ├── Masonry-prefix.pch │ └── Masonry.xcconfig │ └── Pods-UBERWelcome │ ├── Pods-UBERWelcome-acknowledgements.markdown │ ├── Pods-UBERWelcome-acknowledgements.plist │ ├── Pods-UBERWelcome-dummy.m │ ├── Pods-UBERWelcome-frameworks.sh │ ├── Pods-UBERWelcome-resources.sh │ ├── Pods-UBERWelcome.debug.xcconfig │ └── Pods-UBERWelcome.release.xcconfig ├── README.md ├── UBERWelcome.xcodeproj ├── project.pbxproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── UBERWelcome.xcworkspace └── contents.xcworkspacedata └── UBERWelcome ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets ├── AppIcon.appiconset │ └── Contents.json └── Contents.json ├── EMAlertView.h ├── EMAlertView.m ├── Info.plist ├── LZLoginView.h ├── LZLoginView.m ├── Launch Screen.storyboard ├── PrefixHeader.pch ├── ViewController.h ├── ViewController.m ├── main.m ├── rescorse ├── 12.png ├── logo-001.png ├── logo-001@2x.png ├── logo-001@3x.png ├── logo-002.png ├── logo-002@2x.png ├── logo-002@3x.png ├── logo-003.png ├── logo-003@2x.png ├── logo-003@3x.png ├── logo-004.png ├── logo-004@2x.png ├── logo-004@3x.png ├── logo-005.png ├── logo-005@2x.png ├── logo-005@3x.png ├── logo-006.png ├── logo-006@2x.png ├── logo-006@3x.png ├── logo-007.png ├── logo-007@2x.png ├── logo-007@3x.png ├── logo-008.png ├── logo-008@2x.png ├── logo-008@3x.png ├── logo-009.png ├── logo-009@2x.png ├── logo-009@3x.png ├── logo-010.png ├── logo-010@2x.png ├── logo-010@3x.png ├── logo-011.png ├── logo-011@2x.png ├── logo-011@3x.png ├── logo-012.png ├── logo-012@2x.png ├── logo-012@3x.png ├── logo-013.png ├── logo-013@2x.png ├── logo-013@3x.png ├── logo-014.png ├── logo-014@2x.png ├── logo-014@3x.png ├── logo-015.png ├── logo-015@2x.png ├── logo-015@3x.png ├── logo-016.png ├── logo-016@2x.png ├── logo-016@3x.png ├── logo-017.png ├── logo-017@2x.png ├── logo-017@3x.png ├── logo-018.png ├── logo-018@2x.png ├── logo-018@3x.png ├── logo-019.png ├── logo-019@2x.png ├── logo-019@3x.png ├── logo-020.png ├── logo-020@2x.png ├── logo-020@3x.png ├── logo-021.png ├── logo-021@2x.png ├── logo-021@3x.png ├── logo-022.png ├── logo-022@2x.png ├── logo-022@3x.png ├── logo-023.png ├── logo-023@2x.png ├── logo-023@3x.png ├── logo-024.png ├── logo-024@2x.png ├── logo-024@3x.png ├── logo-025.png ├── logo-025@2x.png ├── logo-025@3x.png ├── logo-026.png ├── logo-026@2x.png ├── logo-026@3x.png ├── logo-027.png ├── logo-027@2x.png ├── logo-027@3x.png ├── logo-028.png ├── logo-028@2x.png ├── logo-028@3x.png ├── logo-029.png ├── logo-029@2x.png ├── logo-029@3x.png ├── logo-030.png ├── logo-030@2x.png ├── logo-030@3x.png ├── logo-031.png ├── logo-031@2x.png ├── logo-031@3x.png ├── logo-032.png ├── logo-032@2x.png ├── logo-032@3x.png ├── logo-033.png ├── logo-033@2x.png ├── logo-033@3x.png ├── logo-034.png ├── logo-034@2x.png ├── logo-034@3x.png ├── logo-035.png ├── logo-035@2x.png ├── logo-035@3x.png ├── logo-036.png ├── logo-036@2x.png ├── logo-036@3x.png ├── logo-037.png ├── logo-037@2x.png ├── logo-037@3x.png ├── logo-038.png ├── logo-038@2x.png ├── logo-038@3x.png ├── logo-039.png ├── logo-039@2x.png ├── logo-039@3x.png ├── logo-040.png ├── logo-040@2x.png ├── logo-040@3x.png ├── logo-041.png ├── logo-041@2x.png ├── logo-041@3x.png ├── logo-042.png ├── logo-042@2x.png ├── logo-042@3x.png ├── logo-043.png ├── logo-043@2x.png ├── logo-043@3x.png ├── logo-044.png ├── logo-044@2x.png ├── logo-044@3x.png ├── logo-045.png ├── logo-045@2x.png ├── logo-045@3x.png ├── logo-046.png ├── logo-046@2x.png ├── logo-046@3x.png ├── logo-047.png ├── logo-047@2x.png ├── logo-047@3x.png ├── logo-048.png ├── logo-048@2x.png ├── logo-048@3x.png ├── logo-049.png ├── logo-049@2x.png ├── logo-049@3x.png ├── logo-050.png ├── logo-050@2x.png ├── logo-050@3x.png ├── logo-051.png ├── logo-051@2x.png ├── logo-051@3x.png ├── logo-052.png ├── logo-052@2x.png ├── logo-052@3x.png ├── logo-053.png ├── logo-053@2x.png ├── logo-053@3x.png ├── logo-054.png ├── logo-054@2x.png ├── logo-054@3x.png ├── logo-055.png ├── logo-055@2x.png ├── logo-055@3x.png ├── logo-056.png ├── logo-056@2x.png ├── logo-056@3x.png ├── logo-057.png ├── logo-057@2x.png ├── logo-057@3x.png ├── logo-058.png ├── logo-058@2x.png ├── logo-058@3x.png ├── logo-059.png ├── logo-059@2x.png ├── logo-059@3x.png ├── logo-060.png ├── logo-060@2x.png ├── logo-060@3x.png ├── logo-061.png ├── logo-061@2x.png ├── logo-061@3x.png ├── logo-062.png ├── logo-062@2x.png ├── logo-062@3x.png ├── logo-063.png ├── logo-063@2x.png ├── logo-063@3x.png ├── logo-064.png ├── logo-064@2x.png ├── logo-064@3x.png ├── logo-065.png ├── logo-065@2x.png ├── logo-065@3x.png ├── logo-066.png ├── logo-066@2x.png ├── logo-066@3x.png ├── logo-067.png ├── logo-067@2x.png ├── logo-067@3x.png ├── welcome_video.mp4 └── yyy.png └── welcome_video.mp4 /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | #Pods/ 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /Menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/Menu.gif -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '8.0' 3 | # Uncomment this line if you're using Swift 4 | # use_frameworks! 5 | 6 | target 'UBERWelcome' do 7 | 8 | pod "Masonry" 9 | 10 | end 11 | 12 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Masonry (0.6.4) 3 | 4 | DEPENDENCIES: 5 | - Masonry 6 | 7 | SPEC CHECKSUMS: 8 | Masonry: 281802d04d787ea2973179ee8bcb50500579ede2 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Masonry (0.6.4) 3 | 4 | DEPENDENCIES: 5 | - Masonry 6 | 7 | SPEC CHECKSUMS: 8 | Masonry: 281802d04d787ea2973179ee8bcb50500579ede2 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /Pods/Masonry/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASCompositeConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | #import "MASUtilities.h" 11 | 12 | /** 13 | * A group of MASConstraint objects 14 | */ 15 | @interface MASCompositeConstraint : MASConstraint 16 | 17 | /** 18 | * Creates a composite with a predefined array of children 19 | * 20 | * @param children child MASConstraints 21 | * 22 | * @return a composite constraint 23 | */ 24 | - (id)initWithChildren:(NSArray *)children; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASCompositeConstraint.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASCompositeConstraint.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASCompositeConstraint.h" 10 | #import "MASConstraint+Private.h" 11 | 12 | @interface MASCompositeConstraint () 13 | 14 | @property (nonatomic, strong) id mas_key; 15 | @property (nonatomic, strong) NSMutableArray *childConstraints; 16 | 17 | @end 18 | 19 | @implementation MASCompositeConstraint 20 | 21 | - (id)initWithChildren:(NSArray *)children { 22 | self = [super init]; 23 | if (!self) return nil; 24 | 25 | _childConstraints = [children mutableCopy]; 26 | for (MASConstraint *constraint in _childConstraints) { 27 | constraint.delegate = self; 28 | } 29 | 30 | return self; 31 | } 32 | 33 | #pragma mark - MASConstraintDelegate 34 | 35 | - (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint { 36 | NSUInteger index = [self.childConstraints indexOfObject:constraint]; 37 | NSAssert(index != NSNotFound, @"Could not find constraint %@", constraint); 38 | [self.childConstraints replaceObjectAtIndex:index withObject:replacementConstraint]; 39 | } 40 | 41 | - (MASConstraint *)constraint:(MASConstraint __unused *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute { 42 | id strongDelegate = self.delegate; 43 | MASConstraint *newConstraint = [strongDelegate constraint:self addConstraintWithLayoutAttribute:layoutAttribute]; 44 | newConstraint.delegate = self; 45 | [self.childConstraints addObject:newConstraint]; 46 | return newConstraint; 47 | } 48 | 49 | #pragma mark - NSLayoutConstraint multiplier proxies 50 | 51 | - (MASConstraint * (^)(CGFloat))multipliedBy { 52 | return ^id(CGFloat multiplier) { 53 | for (MASConstraint *constraint in self.childConstraints) { 54 | constraint.multipliedBy(multiplier); 55 | } 56 | return self; 57 | }; 58 | } 59 | 60 | - (MASConstraint * (^)(CGFloat))dividedBy { 61 | return ^id(CGFloat divider) { 62 | for (MASConstraint *constraint in self.childConstraints) { 63 | constraint.dividedBy(divider); 64 | } 65 | return self; 66 | }; 67 | } 68 | 69 | #pragma mark - MASLayoutPriority proxy 70 | 71 | - (MASConstraint * (^)(MASLayoutPriority))priority { 72 | return ^id(MASLayoutPriority priority) { 73 | for (MASConstraint *constraint in self.childConstraints) { 74 | constraint.priority(priority); 75 | } 76 | return self; 77 | }; 78 | } 79 | 80 | #pragma mark - NSLayoutRelation proxy 81 | 82 | - (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation { 83 | return ^id(id attr, NSLayoutRelation relation) { 84 | for (MASConstraint *constraint in self.childConstraints.copy) { 85 | constraint.equalToWithRelation(attr, relation); 86 | } 87 | return self; 88 | }; 89 | } 90 | 91 | #pragma mark - attribute chaining 92 | 93 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute { 94 | [self constraint:self addConstraintWithLayoutAttribute:layoutAttribute]; 95 | return self; 96 | } 97 | 98 | #pragma mark - Animator proxy 99 | 100 | #if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV) 101 | 102 | - (MASConstraint *)animator { 103 | for (MASConstraint *constraint in self.childConstraints) { 104 | [constraint animator]; 105 | } 106 | return self; 107 | } 108 | 109 | #endif 110 | 111 | #pragma mark - debug helpers 112 | 113 | - (MASConstraint * (^)(id))key { 114 | return ^id(id key) { 115 | self.mas_key = key; 116 | int i = 0; 117 | for (MASConstraint *constraint in self.childConstraints) { 118 | constraint.key([NSString stringWithFormat:@"%@[%d]", key, i++]); 119 | } 120 | return self; 121 | }; 122 | } 123 | 124 | #pragma mark - NSLayoutConstraint constant setters 125 | 126 | - (void)setInsets:(MASEdgeInsets)insets { 127 | for (MASConstraint *constraint in self.childConstraints) { 128 | constraint.insets = insets; 129 | } 130 | } 131 | 132 | - (void)setOffset:(CGFloat)offset { 133 | for (MASConstraint *constraint in self.childConstraints) { 134 | constraint.offset = offset; 135 | } 136 | } 137 | 138 | - (void)setSizeOffset:(CGSize)sizeOffset { 139 | for (MASConstraint *constraint in self.childConstraints) { 140 | constraint.sizeOffset = sizeOffset; 141 | } 142 | } 143 | 144 | - (void)setCenterOffset:(CGPoint)centerOffset { 145 | for (MASConstraint *constraint in self.childConstraints) { 146 | constraint.centerOffset = centerOffset; 147 | } 148 | } 149 | 150 | #pragma mark - MASConstraint 151 | 152 | - (void)activate { 153 | for (MASConstraint *constraint in self.childConstraints) { 154 | [constraint activate]; 155 | } 156 | } 157 | 158 | - (void)deactivate { 159 | for (MASConstraint *constraint in self.childConstraints) { 160 | [constraint deactivate]; 161 | } 162 | } 163 | 164 | - (void)install { 165 | for (MASConstraint *constraint in self.childConstraints) { 166 | constraint.updateExisting = self.updateExisting; 167 | [constraint install]; 168 | } 169 | } 170 | 171 | - (void)uninstall { 172 | for (MASConstraint *constraint in self.childConstraints) { 173 | [constraint uninstall]; 174 | } 175 | } 176 | 177 | @end 178 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint+Private.h 3 | // Masonry 4 | // 5 | // Created by Nick Tymchenko on 29/04/14. 6 | // Copyright (c) 2014 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | 11 | @protocol MASConstraintDelegate; 12 | 13 | 14 | @interface MASConstraint () 15 | 16 | /** 17 | * Whether or not to check for an existing constraint instead of adding constraint 18 | */ 19 | @property (nonatomic, assign) BOOL updateExisting; 20 | 21 | /** 22 | * Usually MASConstraintMaker but could be a parent MASConstraint 23 | */ 24 | @property (nonatomic, weak) id delegate; 25 | 26 | /** 27 | * Based on a provided value type, is equal to calling: 28 | * NSNumber - setOffset: 29 | * NSValue with CGPoint - setPointOffset: 30 | * NSValue with CGSize - setSizeOffset: 31 | * NSValue with MASEdgeInsets - setInsets: 32 | */ 33 | - (void)setLayoutConstantWithValue:(NSValue *)value; 34 | 35 | @end 36 | 37 | 38 | @interface MASConstraint (Abstract) 39 | 40 | /** 41 | * Sets the constraint relation to given NSLayoutRelation 42 | * returns a block which accepts one of the following: 43 | * MASViewAttribute, UIView, NSValue, NSArray 44 | * see readme for more details. 45 | */ 46 | - (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation; 47 | 48 | /** 49 | * Override to set a custom chaining behaviour 50 | */ 51 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute; 52 | 53 | @end 54 | 55 | 56 | @protocol MASConstraintDelegate 57 | 58 | /** 59 | * Notifies the delegate when the constraint needs to be replaced with another constraint. For example 60 | * A MASViewConstraint may turn into a MASCompositeConstraint when an array is passed to one of the equality blocks 61 | */ 62 | - (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint; 63 | 64 | - (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute; 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 22/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * Enables Constraints to be created with chainable syntax 13 | * Constraint can represent single NSLayoutConstraint (MASViewConstraint) 14 | * or a group of NSLayoutConstraints (MASComposisteConstraint) 15 | */ 16 | @interface MASConstraint : NSObject 17 | 18 | // Chaining Support 19 | 20 | /** 21 | * Modifies the NSLayoutConstraint constant, 22 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 23 | * NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight 24 | */ 25 | - (MASConstraint * (^)(MASEdgeInsets insets))insets; 26 | 27 | /** 28 | * Modifies the NSLayoutConstraint constant, 29 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 30 | * NSLayoutAttributeWidth, NSLayoutAttributeHeight 31 | */ 32 | - (MASConstraint * (^)(CGSize offset))sizeOffset; 33 | 34 | /** 35 | * Modifies the NSLayoutConstraint constant, 36 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 37 | * NSLayoutAttributeCenterX, NSLayoutAttributeCenterY 38 | */ 39 | - (MASConstraint * (^)(CGPoint offset))centerOffset; 40 | 41 | /** 42 | * Modifies the NSLayoutConstraint constant 43 | */ 44 | - (MASConstraint * (^)(CGFloat offset))offset; 45 | 46 | /** 47 | * Modifies the NSLayoutConstraint constant based on a value type 48 | */ 49 | - (MASConstraint * (^)(NSValue *value))valueOffset; 50 | 51 | /** 52 | * Sets the NSLayoutConstraint multiplier property 53 | */ 54 | - (MASConstraint * (^)(CGFloat multiplier))multipliedBy; 55 | 56 | /** 57 | * Sets the NSLayoutConstraint multiplier to 1.0/dividedBy 58 | */ 59 | - (MASConstraint * (^)(CGFloat divider))dividedBy; 60 | 61 | /** 62 | * Sets the NSLayoutConstraint priority to a float or MASLayoutPriority 63 | */ 64 | - (MASConstraint * (^)(MASLayoutPriority priority))priority; 65 | 66 | /** 67 | * Sets the NSLayoutConstraint priority to MASLayoutPriorityLow 68 | */ 69 | - (MASConstraint * (^)())priorityLow; 70 | 71 | /** 72 | * Sets the NSLayoutConstraint priority to MASLayoutPriorityMedium 73 | */ 74 | - (MASConstraint * (^)())priorityMedium; 75 | 76 | /** 77 | * Sets the NSLayoutConstraint priority to MASLayoutPriorityHigh 78 | */ 79 | - (MASConstraint * (^)())priorityHigh; 80 | 81 | /** 82 | * Sets the constraint relation to NSLayoutRelationEqual 83 | * returns a block which accepts one of the following: 84 | * MASViewAttribute, UIView, NSValue, NSArray 85 | * see readme for more details. 86 | */ 87 | - (MASConstraint * (^)(id attr))equalTo; 88 | 89 | /** 90 | * Sets the constraint relation to NSLayoutRelationGreaterThanOrEqual 91 | * returns a block which accepts one of the following: 92 | * MASViewAttribute, UIView, NSValue, NSArray 93 | * see readme for more details. 94 | */ 95 | - (MASConstraint * (^)(id attr))greaterThanOrEqualTo; 96 | 97 | /** 98 | * Sets the constraint relation to NSLayoutRelationLessThanOrEqual 99 | * returns a block which accepts one of the following: 100 | * MASViewAttribute, UIView, NSValue, NSArray 101 | * see readme for more details. 102 | */ 103 | - (MASConstraint * (^)(id attr))lessThanOrEqualTo; 104 | 105 | /** 106 | * Optional semantic property which has no effect but improves the readability of constraint 107 | */ 108 | - (MASConstraint *)with; 109 | 110 | /** 111 | * Optional semantic property which has no effect but improves the readability of constraint 112 | */ 113 | - (MASConstraint *)and; 114 | 115 | /** 116 | * Creates a new MASCompositeConstraint with the called attribute and reciever 117 | */ 118 | - (MASConstraint *)left; 119 | - (MASConstraint *)top; 120 | - (MASConstraint *)right; 121 | - (MASConstraint *)bottom; 122 | - (MASConstraint *)leading; 123 | - (MASConstraint *)trailing; 124 | - (MASConstraint *)width; 125 | - (MASConstraint *)height; 126 | - (MASConstraint *)centerX; 127 | - (MASConstraint *)centerY; 128 | - (MASConstraint *)baseline; 129 | 130 | #if TARGET_OS_IPHONE || TARGET_OS_TV 131 | 132 | - (MASConstraint *)leftMargin; 133 | - (MASConstraint *)rightMargin; 134 | - (MASConstraint *)topMargin; 135 | - (MASConstraint *)bottomMargin; 136 | - (MASConstraint *)leadingMargin; 137 | - (MASConstraint *)trailingMargin; 138 | - (MASConstraint *)centerXWithinMargins; 139 | - (MASConstraint *)centerYWithinMargins; 140 | 141 | #endif 142 | 143 | 144 | /** 145 | * Sets the constraint debug name 146 | */ 147 | - (MASConstraint * (^)(id key))key; 148 | 149 | // NSLayoutConstraint constant Setters 150 | // for use outside of mas_updateConstraints/mas_makeConstraints blocks 151 | 152 | /** 153 | * Modifies the NSLayoutConstraint constant, 154 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 155 | * NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight 156 | */ 157 | - (void)setInsets:(MASEdgeInsets)insets; 158 | 159 | /** 160 | * Modifies the NSLayoutConstraint constant, 161 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 162 | * NSLayoutAttributeWidth, NSLayoutAttributeHeight 163 | */ 164 | - (void)setSizeOffset:(CGSize)sizeOffset; 165 | 166 | /** 167 | * Modifies the NSLayoutConstraint constant, 168 | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following 169 | * NSLayoutAttributeCenterX, NSLayoutAttributeCenterY 170 | */ 171 | - (void)setCenterOffset:(CGPoint)centerOffset; 172 | 173 | /** 174 | * Modifies the NSLayoutConstraint constant 175 | */ 176 | - (void)setOffset:(CGFloat)offset; 177 | 178 | 179 | // NSLayoutConstraint Installation support 180 | 181 | #if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV) 182 | /** 183 | * Whether or not to go through the animator proxy when modifying the constraint 184 | */ 185 | @property (nonatomic, copy, readonly) MASConstraint *animator; 186 | #endif 187 | 188 | /** 189 | * Activates an NSLayoutConstraint if it's supported by an OS. 190 | * Invokes install otherwise. 191 | */ 192 | - (void)activate; 193 | 194 | /** 195 | * Deactivates previously installed/activated NSLayoutConstraint. 196 | */ 197 | - (void)deactivate; 198 | 199 | /** 200 | * Creates a NSLayoutConstraint and adds it to the appropriate view. 201 | */ 202 | - (void)install; 203 | 204 | /** 205 | * Removes previously installed NSLayoutConstraint 206 | */ 207 | - (void)uninstall; 208 | 209 | @end 210 | 211 | 212 | /** 213 | * Convenience auto-boxing macros for MASConstraint methods. 214 | * 215 | * Defining MAS_SHORTHAND_GLOBALS will turn on auto-boxing for default syntax. 216 | * A potential drawback of this is that the unprefixed macros will appear in global scope. 217 | */ 218 | #define mas_equalTo(...) equalTo(MASBoxValue((__VA_ARGS__))) 219 | #define mas_greaterThanOrEqualTo(...) greaterThanOrEqualTo(MASBoxValue((__VA_ARGS__))) 220 | #define mas_lessThanOrEqualTo(...) lessThanOrEqualTo(MASBoxValue((__VA_ARGS__))) 221 | 222 | #define mas_offset(...) valueOffset(MASBoxValue((__VA_ARGS__))) 223 | 224 | 225 | #ifdef MAS_SHORTHAND_GLOBALS 226 | 227 | #define equalTo(...) mas_equalTo(__VA_ARGS__) 228 | #define greaterThanOrEqualTo(...) mas_greaterThanOrEqualTo(__VA_ARGS__) 229 | #define lessThanOrEqualTo(...) mas_lessThanOrEqualTo(__VA_ARGS__) 230 | 231 | #define offset(...) mas_offset(__VA_ARGS__) 232 | 233 | #endif 234 | 235 | 236 | @interface MASConstraint (AutoboxingSupport) 237 | 238 | /** 239 | * Aliases to corresponding relation methods (for shorthand macros) 240 | * Also needed to aid autocompletion 241 | */ 242 | - (MASConstraint * (^)(id attr))mas_equalTo; 243 | - (MASConstraint * (^)(id attr))mas_greaterThanOrEqualTo; 244 | - (MASConstraint * (^)(id attr))mas_lessThanOrEqualTo; 245 | 246 | /** 247 | * A dummy method to aid autocompletion 248 | */ 249 | - (MASConstraint * (^)(id offset))mas_offset; 250 | 251 | @end 252 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraint.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint.m 3 | // Masonry 4 | // 5 | // Created by Nick Tymchenko on 1/20/14. 6 | // 7 | 8 | #import "MASConstraint.h" 9 | #import "MASConstraint+Private.h" 10 | 11 | #define MASMethodNotImplemented() \ 12 | @throw [NSException exceptionWithName:NSInternalInconsistencyException \ 13 | reason:[NSString stringWithFormat:@"You must override %@ in a subclass.", NSStringFromSelector(_cmd)] \ 14 | userInfo:nil] 15 | 16 | @implementation MASConstraint 17 | 18 | #pragma mark - Init 19 | 20 | - (id)init { 21 | NSAssert(![self isMemberOfClass:[MASConstraint class]], @"MASConstraint is an abstract class, you should not instantiate it directly."); 22 | return [super init]; 23 | } 24 | 25 | #pragma mark - NSLayoutRelation proxies 26 | 27 | - (MASConstraint * (^)(id))equalTo { 28 | return ^id(id attribute) { 29 | return self.equalToWithRelation(attribute, NSLayoutRelationEqual); 30 | }; 31 | } 32 | 33 | - (MASConstraint * (^)(id))mas_equalTo { 34 | return ^id(id attribute) { 35 | return self.equalToWithRelation(attribute, NSLayoutRelationEqual); 36 | }; 37 | } 38 | 39 | - (MASConstraint * (^)(id))greaterThanOrEqualTo { 40 | return ^id(id attribute) { 41 | return self.equalToWithRelation(attribute, NSLayoutRelationGreaterThanOrEqual); 42 | }; 43 | } 44 | 45 | - (MASConstraint * (^)(id))mas_greaterThanOrEqualTo { 46 | return ^id(id attribute) { 47 | return self.equalToWithRelation(attribute, NSLayoutRelationGreaterThanOrEqual); 48 | }; 49 | } 50 | 51 | - (MASConstraint * (^)(id))lessThanOrEqualTo { 52 | return ^id(id attribute) { 53 | return self.equalToWithRelation(attribute, NSLayoutRelationLessThanOrEqual); 54 | }; 55 | } 56 | 57 | - (MASConstraint * (^)(id))mas_lessThanOrEqualTo { 58 | return ^id(id attribute) { 59 | return self.equalToWithRelation(attribute, NSLayoutRelationLessThanOrEqual); 60 | }; 61 | } 62 | 63 | #pragma mark - MASLayoutPriority proxies 64 | 65 | - (MASConstraint * (^)())priorityLow { 66 | return ^id{ 67 | self.priority(MASLayoutPriorityDefaultLow); 68 | return self; 69 | }; 70 | } 71 | 72 | - (MASConstraint * (^)())priorityMedium { 73 | return ^id{ 74 | self.priority(MASLayoutPriorityDefaultMedium); 75 | return self; 76 | }; 77 | } 78 | 79 | - (MASConstraint * (^)())priorityHigh { 80 | return ^id{ 81 | self.priority(MASLayoutPriorityDefaultHigh); 82 | return self; 83 | }; 84 | } 85 | 86 | #pragma mark - NSLayoutConstraint constant proxies 87 | 88 | - (MASConstraint * (^)(MASEdgeInsets))insets { 89 | return ^id(MASEdgeInsets insets){ 90 | self.insets = insets; 91 | return self; 92 | }; 93 | } 94 | 95 | - (MASConstraint * (^)(CGSize))sizeOffset { 96 | return ^id(CGSize offset) { 97 | self.sizeOffset = offset; 98 | return self; 99 | }; 100 | } 101 | 102 | - (MASConstraint * (^)(CGPoint))centerOffset { 103 | return ^id(CGPoint offset) { 104 | self.centerOffset = offset; 105 | return self; 106 | }; 107 | } 108 | 109 | - (MASConstraint * (^)(CGFloat))offset { 110 | return ^id(CGFloat offset){ 111 | self.offset = offset; 112 | return self; 113 | }; 114 | } 115 | 116 | - (MASConstraint * (^)(NSValue *value))valueOffset { 117 | return ^id(NSValue *offset) { 118 | NSAssert([offset isKindOfClass:NSValue.class], @"expected an NSValue offset, got: %@", offset); 119 | [self setLayoutConstantWithValue:offset]; 120 | return self; 121 | }; 122 | } 123 | 124 | - (MASConstraint * (^)(id offset))mas_offset { 125 | // Will never be called due to macro 126 | return nil; 127 | } 128 | 129 | #pragma mark - NSLayoutConstraint constant setter 130 | 131 | - (void)setLayoutConstantWithValue:(NSValue *)value { 132 | if ([value isKindOfClass:NSNumber.class]) { 133 | self.offset = [(NSNumber *)value doubleValue]; 134 | } else if (strcmp(value.objCType, @encode(CGPoint)) == 0) { 135 | CGPoint point; 136 | [value getValue:&point]; 137 | self.centerOffset = point; 138 | } else if (strcmp(value.objCType, @encode(CGSize)) == 0) { 139 | CGSize size; 140 | [value getValue:&size]; 141 | self.sizeOffset = size; 142 | } else if (strcmp(value.objCType, @encode(MASEdgeInsets)) == 0) { 143 | MASEdgeInsets insets; 144 | [value getValue:&insets]; 145 | self.insets = insets; 146 | } else { 147 | NSAssert(NO, @"attempting to set layout constant with unsupported value: %@", value); 148 | } 149 | } 150 | 151 | #pragma mark - Semantic properties 152 | 153 | - (MASConstraint *)with { 154 | return self; 155 | } 156 | 157 | - (MASConstraint *)and { 158 | return self; 159 | } 160 | 161 | #pragma mark - Chaining 162 | 163 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute __unused)layoutAttribute { 164 | MASMethodNotImplemented(); 165 | } 166 | 167 | - (MASConstraint *)left { 168 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeft]; 169 | } 170 | 171 | - (MASConstraint *)top { 172 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTop]; 173 | } 174 | 175 | - (MASConstraint *)right { 176 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRight]; 177 | } 178 | 179 | - (MASConstraint *)bottom { 180 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottom]; 181 | } 182 | 183 | - (MASConstraint *)leading { 184 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeading]; 185 | } 186 | 187 | - (MASConstraint *)trailing { 188 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailing]; 189 | } 190 | 191 | - (MASConstraint *)width { 192 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeWidth]; 193 | } 194 | 195 | - (MASConstraint *)height { 196 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeHeight]; 197 | } 198 | 199 | - (MASConstraint *)centerX { 200 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterX]; 201 | } 202 | 203 | - (MASConstraint *)centerY { 204 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterY]; 205 | } 206 | 207 | - (MASConstraint *)baseline { 208 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBaseline]; 209 | } 210 | 211 | #if TARGET_OS_IPHONE || TARGET_OS_TV 212 | 213 | - (MASConstraint *)leftMargin { 214 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeftMargin]; 215 | } 216 | 217 | - (MASConstraint *)rightMargin { 218 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRightMargin]; 219 | } 220 | 221 | - (MASConstraint *)topMargin { 222 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTopMargin]; 223 | } 224 | 225 | - (MASConstraint *)bottomMargin { 226 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottomMargin]; 227 | } 228 | 229 | - (MASConstraint *)leadingMargin { 230 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeadingMargin]; 231 | } 232 | 233 | - (MASConstraint *)trailingMargin { 234 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailingMargin]; 235 | } 236 | 237 | - (MASConstraint *)centerXWithinMargins { 238 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterXWithinMargins]; 239 | } 240 | 241 | - (MASConstraint *)centerYWithinMargins { 242 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterYWithinMargins]; 243 | } 244 | 245 | #endif 246 | 247 | #pragma mark - Abstract 248 | 249 | - (MASConstraint * (^)(CGFloat multiplier))multipliedBy { MASMethodNotImplemented(); } 250 | 251 | - (MASConstraint * (^)(CGFloat divider))dividedBy { MASMethodNotImplemented(); } 252 | 253 | - (MASConstraint * (^)(MASLayoutPriority priority))priority { MASMethodNotImplemented(); } 254 | 255 | - (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation { MASMethodNotImplemented(); } 256 | 257 | - (MASConstraint * (^)(id key))key { MASMethodNotImplemented(); } 258 | 259 | - (void)setInsets:(MASEdgeInsets __unused)insets { MASMethodNotImplemented(); } 260 | 261 | - (void)setSizeOffset:(CGSize __unused)sizeOffset { MASMethodNotImplemented(); } 262 | 263 | - (void)setCenterOffset:(CGPoint __unused)centerOffset { MASMethodNotImplemented(); } 264 | 265 | - (void)setOffset:(CGFloat __unused)offset { MASMethodNotImplemented(); } 266 | 267 | #if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV) 268 | 269 | - (MASConstraint *)animator { MASMethodNotImplemented(); } 270 | 271 | #endif 272 | 273 | - (void)activate { MASMethodNotImplemented(); } 274 | 275 | - (void)deactivate { MASMethodNotImplemented(); } 276 | 277 | - (void)install { MASMethodNotImplemented(); } 278 | 279 | - (void)uninstall { MASMethodNotImplemented(); } 280 | 281 | @end 282 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraintBuilder.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | #import "MASUtilities.h" 11 | 12 | typedef NS_OPTIONS(NSInteger, MASAttribute) { 13 | MASAttributeLeft = 1 << NSLayoutAttributeLeft, 14 | MASAttributeRight = 1 << NSLayoutAttributeRight, 15 | MASAttributeTop = 1 << NSLayoutAttributeTop, 16 | MASAttributeBottom = 1 << NSLayoutAttributeBottom, 17 | MASAttributeLeading = 1 << NSLayoutAttributeLeading, 18 | MASAttributeTrailing = 1 << NSLayoutAttributeTrailing, 19 | MASAttributeWidth = 1 << NSLayoutAttributeWidth, 20 | MASAttributeHeight = 1 << NSLayoutAttributeHeight, 21 | MASAttributeCenterX = 1 << NSLayoutAttributeCenterX, 22 | MASAttributeCenterY = 1 << NSLayoutAttributeCenterY, 23 | MASAttributeBaseline = 1 << NSLayoutAttributeBaseline, 24 | 25 | #if TARGET_OS_IPHONE || TARGET_OS_TV 26 | 27 | MASAttributeLeftMargin = 1 << NSLayoutAttributeLeftMargin, 28 | MASAttributeRightMargin = 1 << NSLayoutAttributeRightMargin, 29 | MASAttributeTopMargin = 1 << NSLayoutAttributeTopMargin, 30 | MASAttributeBottomMargin = 1 << NSLayoutAttributeBottomMargin, 31 | MASAttributeLeadingMargin = 1 << NSLayoutAttributeLeadingMargin, 32 | MASAttributeTrailingMargin = 1 << NSLayoutAttributeTrailingMargin, 33 | MASAttributeCenterXWithinMargins = 1 << NSLayoutAttributeCenterXWithinMargins, 34 | MASAttributeCenterYWithinMargins = 1 << NSLayoutAttributeCenterYWithinMargins, 35 | 36 | #endif 37 | 38 | }; 39 | 40 | /** 41 | * Provides factory methods for creating MASConstraints. 42 | * Constraints are collected until they are ready to be installed 43 | * 44 | */ 45 | @interface MASConstraintMaker : NSObject 46 | 47 | /** 48 | * The following properties return a new MASViewConstraint 49 | * with the first item set to the makers associated view and the appropriate MASViewAttribute 50 | */ 51 | @property (nonatomic, strong, readonly) MASConstraint *left; 52 | @property (nonatomic, strong, readonly) MASConstraint *top; 53 | @property (nonatomic, strong, readonly) MASConstraint *right; 54 | @property (nonatomic, strong, readonly) MASConstraint *bottom; 55 | @property (nonatomic, strong, readonly) MASConstraint *leading; 56 | @property (nonatomic, strong, readonly) MASConstraint *trailing; 57 | @property (nonatomic, strong, readonly) MASConstraint *width; 58 | @property (nonatomic, strong, readonly) MASConstraint *height; 59 | @property (nonatomic, strong, readonly) MASConstraint *centerX; 60 | @property (nonatomic, strong, readonly) MASConstraint *centerY; 61 | @property (nonatomic, strong, readonly) MASConstraint *baseline; 62 | 63 | #if TARGET_OS_IPHONE || TARGET_OS_TV 64 | 65 | @property (nonatomic, strong, readonly) MASConstraint *leftMargin; 66 | @property (nonatomic, strong, readonly) MASConstraint *rightMargin; 67 | @property (nonatomic, strong, readonly) MASConstraint *topMargin; 68 | @property (nonatomic, strong, readonly) MASConstraint *bottomMargin; 69 | @property (nonatomic, strong, readonly) MASConstraint *leadingMargin; 70 | @property (nonatomic, strong, readonly) MASConstraint *trailingMargin; 71 | @property (nonatomic, strong, readonly) MASConstraint *centerXWithinMargins; 72 | @property (nonatomic, strong, readonly) MASConstraint *centerYWithinMargins; 73 | 74 | #endif 75 | 76 | /** 77 | * Returns a block which creates a new MASCompositeConstraint with the first item set 78 | * to the makers associated view and children corresponding to the set bits in the 79 | * MASAttribute parameter. Combine multiple attributes via binary-or. 80 | */ 81 | @property (nonatomic, strong, readonly) MASConstraint *(^attributes)(MASAttribute attrs); 82 | 83 | /** 84 | * Creates a MASCompositeConstraint with type MASCompositeConstraintTypeEdges 85 | * which generates the appropriate MASViewConstraint children (top, left, bottom, right) 86 | * with the first item set to the makers associated view 87 | */ 88 | @property (nonatomic, strong, readonly) MASConstraint *edges; 89 | 90 | /** 91 | * Creates a MASCompositeConstraint with type MASCompositeConstraintTypeSize 92 | * which generates the appropriate MASViewConstraint children (width, height) 93 | * with the first item set to the makers associated view 94 | */ 95 | @property (nonatomic, strong, readonly) MASConstraint *size; 96 | 97 | /** 98 | * Creates a MASCompositeConstraint with type MASCompositeConstraintTypeCenter 99 | * which generates the appropriate MASViewConstraint children (centerX, centerY) 100 | * with the first item set to the makers associated view 101 | */ 102 | @property (nonatomic, strong, readonly) MASConstraint *center; 103 | 104 | /** 105 | * Whether or not to check for an existing constraint instead of adding constraint 106 | */ 107 | @property (nonatomic, assign) BOOL updateExisting; 108 | 109 | /** 110 | * Whether or not to remove existing constraints prior to installing 111 | */ 112 | @property (nonatomic, assign) BOOL removeExisting; 113 | 114 | /** 115 | * initialises the maker with a default view 116 | * 117 | * @param view any MASConstrait are created with this view as the first item 118 | * 119 | * @return a new MASConstraintMaker 120 | */ 121 | - (id)initWithView:(MAS_VIEW *)view; 122 | 123 | /** 124 | * Calls install method on any MASConstraints which have been created by this maker 125 | * 126 | * @return an array of all the installed MASConstraints 127 | */ 128 | - (NSArray *)install; 129 | 130 | - (MASConstraint * (^)(dispatch_block_t))group; 131 | 132 | @end 133 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraintMaker.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraintBuilder.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraintMaker.h" 10 | #import "MASViewConstraint.h" 11 | #import "MASCompositeConstraint.h" 12 | #import "MASConstraint+Private.h" 13 | #import "MASViewAttribute.h" 14 | #import "View+MASAdditions.h" 15 | 16 | @interface MASConstraintMaker () 17 | 18 | @property (nonatomic, weak) MAS_VIEW *view; 19 | @property (nonatomic, strong) NSMutableArray *constraints; 20 | 21 | @end 22 | 23 | @implementation MASConstraintMaker 24 | 25 | - (id)initWithView:(MAS_VIEW *)view { 26 | self = [super init]; 27 | if (!self) return nil; 28 | 29 | self.view = view; 30 | self.constraints = NSMutableArray.new; 31 | 32 | return self; 33 | } 34 | 35 | - (NSArray *)install { 36 | if (self.removeExisting) { 37 | NSArray *installedConstraints = [MASViewConstraint installedConstraintsForView:self.view]; 38 | for (MASConstraint *constraint in installedConstraints) { 39 | [constraint uninstall]; 40 | } 41 | } 42 | NSArray *constraints = self.constraints.copy; 43 | for (MASConstraint *constraint in constraints) { 44 | constraint.updateExisting = self.updateExisting; 45 | [constraint install]; 46 | } 47 | [self.constraints removeAllObjects]; 48 | return constraints; 49 | } 50 | 51 | #pragma mark - MASConstraintDelegate 52 | 53 | - (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint { 54 | NSUInteger index = [self.constraints indexOfObject:constraint]; 55 | NSAssert(index != NSNotFound, @"Could not find constraint %@", constraint); 56 | [self.constraints replaceObjectAtIndex:index withObject:replacementConstraint]; 57 | } 58 | 59 | - (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute { 60 | MASViewAttribute *viewAttribute = [[MASViewAttribute alloc] initWithView:self.view layoutAttribute:layoutAttribute]; 61 | MASViewConstraint *newConstraint = [[MASViewConstraint alloc] initWithFirstViewAttribute:viewAttribute]; 62 | if ([constraint isKindOfClass:MASViewConstraint.class]) { 63 | //replace with composite constraint 64 | NSArray *children = @[constraint, newConstraint]; 65 | MASCompositeConstraint *compositeConstraint = [[MASCompositeConstraint alloc] initWithChildren:children]; 66 | compositeConstraint.delegate = self; 67 | [self constraint:constraint shouldBeReplacedWithConstraint:compositeConstraint]; 68 | return compositeConstraint; 69 | } 70 | if (!constraint) { 71 | newConstraint.delegate = self; 72 | [self.constraints addObject:newConstraint]; 73 | } 74 | return newConstraint; 75 | } 76 | 77 | - (MASConstraint *)addConstraintWithAttributes:(MASAttribute)attrs { 78 | __unused MASAttribute anyAttribute = (MASAttributeLeft | MASAttributeRight | MASAttributeTop | MASAttributeBottom | MASAttributeLeading 79 | | MASAttributeTrailing | MASAttributeWidth | MASAttributeHeight | MASAttributeCenterX 80 | | MASAttributeCenterY | MASAttributeBaseline 81 | #if TARGET_OS_IPHONE || TARGET_OS_TV 82 | | MASAttributeLeftMargin | MASAttributeRightMargin | MASAttributeTopMargin | MASAttributeBottomMargin 83 | | MASAttributeLeadingMargin | MASAttributeTrailingMargin | MASAttributeCenterXWithinMargins 84 | | MASAttributeCenterYWithinMargins 85 | #endif 86 | ); 87 | 88 | NSAssert((attrs & anyAttribute) != 0, @"You didn't pass any attribute to make.attributes(...)"); 89 | 90 | NSMutableArray *attributes = [NSMutableArray array]; 91 | 92 | if (attrs & MASAttributeLeft) [attributes addObject:self.view.mas_left]; 93 | if (attrs & MASAttributeRight) [attributes addObject:self.view.mas_right]; 94 | if (attrs & MASAttributeTop) [attributes addObject:self.view.mas_top]; 95 | if (attrs & MASAttributeBottom) [attributes addObject:self.view.mas_bottom]; 96 | if (attrs & MASAttributeLeading) [attributes addObject:self.view.mas_leading]; 97 | if (attrs & MASAttributeTrailing) [attributes addObject:self.view.mas_trailing]; 98 | if (attrs & MASAttributeWidth) [attributes addObject:self.view.mas_width]; 99 | if (attrs & MASAttributeHeight) [attributes addObject:self.view.mas_height]; 100 | if (attrs & MASAttributeCenterX) [attributes addObject:self.view.mas_centerX]; 101 | if (attrs & MASAttributeCenterY) [attributes addObject:self.view.mas_centerY]; 102 | if (attrs & MASAttributeBaseline) [attributes addObject:self.view.mas_baseline]; 103 | 104 | #if TARGET_OS_IPHONE || TARGET_OS_TV 105 | 106 | if (attrs & MASAttributeLeftMargin) [attributes addObject:self.view.mas_leftMargin]; 107 | if (attrs & MASAttributeRightMargin) [attributes addObject:self.view.mas_rightMargin]; 108 | if (attrs & MASAttributeTopMargin) [attributes addObject:self.view.mas_topMargin]; 109 | if (attrs & MASAttributeBottomMargin) [attributes addObject:self.view.mas_bottomMargin]; 110 | if (attrs & MASAttributeLeadingMargin) [attributes addObject:self.view.mas_leadingMargin]; 111 | if (attrs & MASAttributeTrailingMargin) [attributes addObject:self.view.mas_trailingMargin]; 112 | if (attrs & MASAttributeCenterXWithinMargins) [attributes addObject:self.view.mas_centerXWithinMargins]; 113 | if (attrs & MASAttributeCenterYWithinMargins) [attributes addObject:self.view.mas_centerYWithinMargins]; 114 | 115 | #endif 116 | 117 | NSMutableArray *children = [NSMutableArray arrayWithCapacity:attributes.count]; 118 | 119 | for (MASViewAttribute *a in attributes) { 120 | [children addObject:[[MASViewConstraint alloc] initWithFirstViewAttribute:a]]; 121 | } 122 | 123 | MASCompositeConstraint *constraint = [[MASCompositeConstraint alloc] initWithChildren:children]; 124 | constraint.delegate = self; 125 | [self.constraints addObject:constraint]; 126 | return constraint; 127 | } 128 | 129 | #pragma mark - standard Attributes 130 | 131 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute { 132 | return [self constraint:nil addConstraintWithLayoutAttribute:layoutAttribute]; 133 | } 134 | 135 | - (MASConstraint *)left { 136 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeft]; 137 | } 138 | 139 | - (MASConstraint *)top { 140 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTop]; 141 | } 142 | 143 | - (MASConstraint *)right { 144 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRight]; 145 | } 146 | 147 | - (MASConstraint *)bottom { 148 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottom]; 149 | } 150 | 151 | - (MASConstraint *)leading { 152 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeading]; 153 | } 154 | 155 | - (MASConstraint *)trailing { 156 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailing]; 157 | } 158 | 159 | - (MASConstraint *)width { 160 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeWidth]; 161 | } 162 | 163 | - (MASConstraint *)height { 164 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeHeight]; 165 | } 166 | 167 | - (MASConstraint *)centerX { 168 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterX]; 169 | } 170 | 171 | - (MASConstraint *)centerY { 172 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterY]; 173 | } 174 | 175 | - (MASConstraint *)baseline { 176 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBaseline]; 177 | } 178 | 179 | - (MASConstraint *(^)(MASAttribute))attributes { 180 | return ^(MASAttribute attrs){ 181 | return [self addConstraintWithAttributes:attrs]; 182 | }; 183 | } 184 | 185 | #if TARGET_OS_IPHONE || TARGET_OS_TV 186 | 187 | - (MASConstraint *)leftMargin { 188 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeftMargin]; 189 | } 190 | 191 | - (MASConstraint *)rightMargin { 192 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRightMargin]; 193 | } 194 | 195 | - (MASConstraint *)topMargin { 196 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTopMargin]; 197 | } 198 | 199 | - (MASConstraint *)bottomMargin { 200 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottomMargin]; 201 | } 202 | 203 | - (MASConstraint *)leadingMargin { 204 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeadingMargin]; 205 | } 206 | 207 | - (MASConstraint *)trailingMargin { 208 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailingMargin]; 209 | } 210 | 211 | - (MASConstraint *)centerXWithinMargins { 212 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterXWithinMargins]; 213 | } 214 | 215 | - (MASConstraint *)centerYWithinMargins { 216 | return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterYWithinMargins]; 217 | } 218 | 219 | #endif 220 | 221 | 222 | #pragma mark - composite Attributes 223 | 224 | - (MASConstraint *)edges { 225 | return [self addConstraintWithAttributes:MASAttributeTop | MASAttributeLeft | MASAttributeRight | MASAttributeBottom]; 226 | } 227 | 228 | - (MASConstraint *)size { 229 | return [self addConstraintWithAttributes:MASAttributeWidth | MASAttributeHeight]; 230 | } 231 | 232 | - (MASConstraint *)center { 233 | return [self addConstraintWithAttributes:MASAttributeCenterX | MASAttributeCenterY]; 234 | } 235 | 236 | #pragma mark - grouping 237 | 238 | - (MASConstraint *(^)(dispatch_block_t group))group { 239 | return ^id(dispatch_block_t group) { 240 | NSInteger previousCount = self.constraints.count; 241 | group(); 242 | 243 | NSArray *children = [self.constraints subarrayWithRange:NSMakeRange(previousCount, self.constraints.count - previousCount)]; 244 | MASCompositeConstraint *constraint = [[MASCompositeConstraint alloc] initWithChildren:children]; 245 | constraint.delegate = self; 246 | return constraint; 247 | }; 248 | } 249 | 250 | @end 251 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * When you are debugging or printing the constraints attached to a view this subclass 13 | * makes it easier to identify which constraints have been created via Masonry 14 | */ 15 | @interface MASLayoutConstraint : NSLayoutConstraint 16 | 17 | /** 18 | * a key to associate with this constraint 19 | */ 20 | @property (nonatomic, strong) id mas_key; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASLayoutConstraint.h" 10 | 11 | @implementation MASLayoutConstraint 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASUtilities.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 19/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | 13 | #if TARGET_OS_IPHONE || TARGET_OS_TV 14 | 15 | #import 16 | #define MAS_VIEW UIView 17 | #define MAS_VIEW_CONTROLLER UIViewController 18 | #define MASEdgeInsets UIEdgeInsets 19 | 20 | typedef UILayoutPriority MASLayoutPriority; 21 | static const MASLayoutPriority MASLayoutPriorityRequired = UILayoutPriorityRequired; 22 | static const MASLayoutPriority MASLayoutPriorityDefaultHigh = UILayoutPriorityDefaultHigh; 23 | static const MASLayoutPriority MASLayoutPriorityDefaultMedium = 500; 24 | static const MASLayoutPriority MASLayoutPriorityDefaultLow = UILayoutPriorityDefaultLow; 25 | static const MASLayoutPriority MASLayoutPriorityFittingSizeLevel = UILayoutPriorityFittingSizeLevel; 26 | 27 | #elif TARGET_OS_MAC 28 | 29 | #import 30 | #define MAS_VIEW NSView 31 | #define MASEdgeInsets NSEdgeInsets 32 | 33 | typedef NSLayoutPriority MASLayoutPriority; 34 | static const MASLayoutPriority MASLayoutPriorityRequired = NSLayoutPriorityRequired; 35 | static const MASLayoutPriority MASLayoutPriorityDefaultHigh = NSLayoutPriorityDefaultHigh; 36 | static const MASLayoutPriority MASLayoutPriorityDragThatCanResizeWindow = NSLayoutPriorityDragThatCanResizeWindow; 37 | static const MASLayoutPriority MASLayoutPriorityDefaultMedium = 501; 38 | static const MASLayoutPriority MASLayoutPriorityWindowSizeStayPut = NSLayoutPriorityWindowSizeStayPut; 39 | static const MASLayoutPriority MASLayoutPriorityDragThatCannotResizeWindow = NSLayoutPriorityDragThatCannotResizeWindow; 40 | static const MASLayoutPriority MASLayoutPriorityDefaultLow = NSLayoutPriorityDefaultLow; 41 | static const MASLayoutPriority MASLayoutPriorityFittingSizeCompression = NSLayoutPriorityFittingSizeCompression; 42 | 43 | #endif 44 | 45 | /** 46 | * Allows you to attach keys to objects matching the variable names passed. 47 | * 48 | * view1.mas_key = @"view1", view2.mas_key = @"view2"; 49 | * 50 | * is equivalent to: 51 | * 52 | * MASAttachKeys(view1, view2); 53 | */ 54 | #define MASAttachKeys(...) \ 55 | { \ 56 | NSDictionary *keyPairs = NSDictionaryOfVariableBindings(__VA_ARGS__); \ 57 | for (id key in keyPairs.allKeys) { \ 58 | id obj = keyPairs[key]; \ 59 | NSAssert([obj respondsToSelector:@selector(setMas_key:)], \ 60 | @"Cannot attach mas_key to %@", obj); \ 61 | [obj setMas_key:key]; \ 62 | } \ 63 | } 64 | 65 | /** 66 | * Used to create object hashes 67 | * Based on http://www.mikeash.com/pyblog/friday-qa-2010-06-18-implementing-equality-and-hashing.html 68 | */ 69 | #define MAS_NSUINT_BIT (CHAR_BIT * sizeof(NSUInteger)) 70 | #define MAS_NSUINTROTATE(val, howmuch) ((((NSUInteger)val) << howmuch) | (((NSUInteger)val) >> (MAS_NSUINT_BIT - howmuch))) 71 | 72 | /** 73 | * Given a scalar or struct value, wraps it in NSValue 74 | * Based on EXPObjectify: https://github.com/specta/expecta 75 | */ 76 | static inline id _MASBoxValue(const char *type, ...) { 77 | va_list v; 78 | va_start(v, type); 79 | id obj = nil; 80 | if (strcmp(type, @encode(id)) == 0) { 81 | id actual = va_arg(v, id); 82 | obj = actual; 83 | } else if (strcmp(type, @encode(CGPoint)) == 0) { 84 | CGPoint actual = (CGPoint)va_arg(v, CGPoint); 85 | obj = [NSValue value:&actual withObjCType:type]; 86 | } else if (strcmp(type, @encode(CGSize)) == 0) { 87 | CGSize actual = (CGSize)va_arg(v, CGSize); 88 | obj = [NSValue value:&actual withObjCType:type]; 89 | } else if (strcmp(type, @encode(MASEdgeInsets)) == 0) { 90 | MASEdgeInsets actual = (MASEdgeInsets)va_arg(v, MASEdgeInsets); 91 | obj = [NSValue value:&actual withObjCType:type]; 92 | } else if (strcmp(type, @encode(double)) == 0) { 93 | double actual = (double)va_arg(v, double); 94 | obj = [NSNumber numberWithDouble:actual]; 95 | } else if (strcmp(type, @encode(float)) == 0) { 96 | float actual = (float)va_arg(v, double); 97 | obj = [NSNumber numberWithFloat:actual]; 98 | } else if (strcmp(type, @encode(int)) == 0) { 99 | int actual = (int)va_arg(v, int); 100 | obj = [NSNumber numberWithInt:actual]; 101 | } else if (strcmp(type, @encode(long)) == 0) { 102 | long actual = (long)va_arg(v, long); 103 | obj = [NSNumber numberWithLong:actual]; 104 | } else if (strcmp(type, @encode(long long)) == 0) { 105 | long long actual = (long long)va_arg(v, long long); 106 | obj = [NSNumber numberWithLongLong:actual]; 107 | } else if (strcmp(type, @encode(short)) == 0) { 108 | short actual = (short)va_arg(v, int); 109 | obj = [NSNumber numberWithShort:actual]; 110 | } else if (strcmp(type, @encode(char)) == 0) { 111 | char actual = (char)va_arg(v, int); 112 | obj = [NSNumber numberWithChar:actual]; 113 | } else if (strcmp(type, @encode(bool)) == 0) { 114 | bool actual = (bool)va_arg(v, int); 115 | obj = [NSNumber numberWithBool:actual]; 116 | } else if (strcmp(type, @encode(unsigned char)) == 0) { 117 | unsigned char actual = (unsigned char)va_arg(v, unsigned int); 118 | obj = [NSNumber numberWithUnsignedChar:actual]; 119 | } else if (strcmp(type, @encode(unsigned int)) == 0) { 120 | unsigned int actual = (unsigned int)va_arg(v, unsigned int); 121 | obj = [NSNumber numberWithUnsignedInt:actual]; 122 | } else if (strcmp(type, @encode(unsigned long)) == 0) { 123 | unsigned long actual = (unsigned long)va_arg(v, unsigned long); 124 | obj = [NSNumber numberWithUnsignedLong:actual]; 125 | } else if (strcmp(type, @encode(unsigned long long)) == 0) { 126 | unsigned long long actual = (unsigned long long)va_arg(v, unsigned long long); 127 | obj = [NSNumber numberWithUnsignedLongLong:actual]; 128 | } else if (strcmp(type, @encode(unsigned short)) == 0) { 129 | unsigned short actual = (unsigned short)va_arg(v, unsigned int); 130 | obj = [NSNumber numberWithUnsignedShort:actual]; 131 | } 132 | va_end(v); 133 | return obj; 134 | } 135 | 136 | #define MASBoxValue(value) _MASBoxValue(@encode(__typeof__((value))), (value)) 137 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASAttribute.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * An immutable tuple which stores the view and the related NSLayoutAttribute. 13 | * Describes part of either the left or right hand side of a constraint equation 14 | */ 15 | @interface MASViewAttribute : NSObject 16 | 17 | /** 18 | * The view which the reciever relates to. Can be nil if item is not a view. 19 | */ 20 | @property (nonatomic, weak, readonly) MAS_VIEW *view; 21 | 22 | /** 23 | * The item which the reciever relates to. 24 | */ 25 | @property (nonatomic, weak, readonly) id item; 26 | 27 | /** 28 | * The attribute which the reciever relates to 29 | */ 30 | @property (nonatomic, assign, readonly) NSLayoutAttribute layoutAttribute; 31 | 32 | /** 33 | * Convenience initializer. 34 | */ 35 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute; 36 | 37 | /** 38 | * The designated initializer. 39 | */ 40 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute; 41 | 42 | /** 43 | * Determine whether the layoutAttribute is a size attribute 44 | * 45 | * @return YES if layoutAttribute is equal to NSLayoutAttributeWidth or NSLayoutAttributeHeight 46 | */ 47 | - (BOOL)isSizeAttribute; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewAttribute.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASAttribute.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASViewAttribute.h" 10 | 11 | @implementation MASViewAttribute 12 | 13 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute { 14 | self = [self initWithView:view item:view layoutAttribute:layoutAttribute]; 15 | return self; 16 | } 17 | 18 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute { 19 | self = [super init]; 20 | if (!self) return nil; 21 | 22 | _view = view; 23 | _item = item; 24 | _layoutAttribute = layoutAttribute; 25 | 26 | return self; 27 | } 28 | 29 | - (BOOL)isSizeAttribute { 30 | return self.layoutAttribute == NSLayoutAttributeWidth 31 | || self.layoutAttribute == NSLayoutAttributeHeight; 32 | } 33 | 34 | - (BOOL)isEqual:(MASViewAttribute *)viewAttribute { 35 | if ([viewAttribute isKindOfClass:self.class]) { 36 | return self.view == viewAttribute.view 37 | && self.layoutAttribute == viewAttribute.layoutAttribute; 38 | } 39 | return [super isEqual:viewAttribute]; 40 | } 41 | 42 | - (NSUInteger)hash { 43 | return MAS_NSUINTROTATE([self.view hash], MAS_NSUINT_BIT / 2) ^ self.layoutAttribute; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASViewAttribute.h" 10 | #import "MASConstraint.h" 11 | #import "MASLayoutConstraint.h" 12 | #import "MASUtilities.h" 13 | 14 | /** 15 | * A single constraint. 16 | * Contains the attributes neccessary for creating a NSLayoutConstraint and adding it to the appropriate view 17 | */ 18 | @interface MASViewConstraint : MASConstraint 19 | 20 | /** 21 | * First item/view and first attribute of the NSLayoutConstraint 22 | */ 23 | @property (nonatomic, strong, readonly) MASViewAttribute *firstViewAttribute; 24 | 25 | /** 26 | * Second item/view and second attribute of the NSLayoutConstraint 27 | */ 28 | @property (nonatomic, strong, readonly) MASViewAttribute *secondViewAttribute; 29 | 30 | /** 31 | * initialises the MASViewConstraint with the first part of the equation 32 | * 33 | * @param firstViewAttribute view.mas_left, view.mas_width etc. 34 | * 35 | * @return a new view constraint 36 | */ 37 | - (id)initWithFirstViewAttribute:(MASViewAttribute *)firstViewAttribute; 38 | 39 | /** 40 | * Returns all MASViewConstraints installed with this view as a first item. 41 | * 42 | * @param view A view to retrieve constraints for. 43 | * 44 | * @return An array of MASViewConstraints. 45 | */ 46 | + (NSArray *)installedConstraintsForView:(MAS_VIEW *)view; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | // 2 | // Masonry.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Masonry. 12 | FOUNDATION_EXPORT double MasonryVersionNumber; 13 | 14 | //! Project version string for Masonry. 15 | FOUNDATION_EXPORT const unsigned char MasonryVersionString[]; 16 | 17 | #import "MASUtilities.h" 18 | #import "View+MASAdditions.h" 19 | #import "View+MASShorthandAdditions.h" 20 | #import "ViewController+MASAdditions.h" 21 | #import "NSArray+MASAdditions.h" 22 | #import "NSArray+MASShorthandAdditions.h" 23 | #import "MASConstraint.h" 24 | #import "MASCompositeConstraint.h" 25 | #import "MASViewAttribute.h" 26 | #import "MASViewConstraint.h" 27 | #import "MASConstraintMaker.h" 28 | #import "MASLayoutConstraint.h" 29 | #import "NSLayoutConstraint+MASDebugAdditions.h" 30 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MASAdditions.h 3 | // 4 | // 5 | // Created by Daniel Hammond on 11/26/13. 6 | // 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | typedef NS_ENUM(NSUInteger, MASAxisType) { 14 | MASAxisTypeHorizontal, 15 | MASAxisTypeVertical 16 | }; 17 | 18 | @interface NSArray (MASAdditions) 19 | 20 | /** 21 | * Creates a MASConstraintMaker with each view in the callee. 22 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing on each view 23 | * 24 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 25 | * 26 | * @return Array of created MASConstraints 27 | */ 28 | - (NSArray *)mas_makeConstraints:(void (^)(MASConstraintMaker *make))block; 29 | 30 | /** 31 | * Creates a MASConstraintMaker with each view in the callee. 32 | * Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view. 33 | * If an existing constraint exists then it will be updated instead. 34 | * 35 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 36 | * 37 | * @return Array of created/updated MASConstraints 38 | */ 39 | - (NSArray *)mas_updateConstraints:(void (^)(MASConstraintMaker *make))block; 40 | 41 | /** 42 | * Creates a MASConstraintMaker with each view in the callee. 43 | * Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view. 44 | * All constraints previously installed for the views will be removed. 45 | * 46 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 47 | * 48 | * @return Array of created/updated MASConstraints 49 | */ 50 | - (NSArray *)mas_remakeConstraints:(void (^)(MASConstraintMaker *make))block; 51 | 52 | /** 53 | * distribute with fixed spacing 54 | * 55 | * @param axisType which axis to distribute items along 56 | * @param fixedSpacing the spacing between each item 57 | * @param leadSpacing the spacing before the first item and the container 58 | * @param tailSpacing the spacing after the last item and the container 59 | */ 60 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing; 61 | 62 | /** 63 | * distribute with fixed item size 64 | * 65 | * @param axisType which axis to distribute items along 66 | * @param fixedItemLength the fixed length of each item 67 | * @param leadSpacing the spacing before the first item and the container 68 | * @param tailSpacing the spacing after the last item and the container 69 | */ 70 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing; 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSArray+MASAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MASAdditions.m 3 | // 4 | // 5 | // Created by Daniel Hammond on 11/26/13. 6 | // 7 | // 8 | 9 | #import "NSArray+MASAdditions.h" 10 | #import "View+MASAdditions.h" 11 | 12 | @implementation NSArray (MASAdditions) 13 | 14 | - (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *make))block { 15 | NSMutableArray *constraints = [NSMutableArray array]; 16 | for (MAS_VIEW *view in self) { 17 | NSAssert([view isKindOfClass:[MAS_VIEW class]], @"All objects in the array must be views"); 18 | [constraints addObjectsFromArray:[view mas_makeConstraints:block]]; 19 | } 20 | return constraints; 21 | } 22 | 23 | - (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *make))block { 24 | NSMutableArray *constraints = [NSMutableArray array]; 25 | for (MAS_VIEW *view in self) { 26 | NSAssert([view isKindOfClass:[MAS_VIEW class]], @"All objects in the array must be views"); 27 | [constraints addObjectsFromArray:[view mas_updateConstraints:block]]; 28 | } 29 | return constraints; 30 | } 31 | 32 | - (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block { 33 | NSMutableArray *constraints = [NSMutableArray array]; 34 | for (MAS_VIEW *view in self) { 35 | NSAssert([view isKindOfClass:[MAS_VIEW class]], @"All objects in the array must be views"); 36 | [constraints addObjectsFromArray:[view mas_remakeConstraints:block]]; 37 | } 38 | return constraints; 39 | } 40 | 41 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing { 42 | if (self.count < 2) { 43 | NSAssert(self.count>1,@"views to distribute need to bigger than one"); 44 | return; 45 | } 46 | 47 | MAS_VIEW *tempSuperView = [self mas_commonSuperviewOfViews]; 48 | if (axisType == MASAxisTypeHorizontal) { 49 | MAS_VIEW *prev; 50 | for (int i = 0; i < self.count; i++) { 51 | MAS_VIEW *v = self[i]; 52 | [v mas_makeConstraints:^(MASConstraintMaker *make) { 53 | if (prev) { 54 | make.width.equalTo(prev); 55 | make.left.equalTo(prev.mas_right).offset(fixedSpacing); 56 | if (i == (CGFloat)self.count - 1) {//last one 57 | make.right.equalTo(tempSuperView).offset(-tailSpacing); 58 | } 59 | } 60 | else {//first one 61 | make.left.equalTo(tempSuperView).offset(leadSpacing); 62 | } 63 | 64 | }]; 65 | prev = v; 66 | } 67 | } 68 | else { 69 | MAS_VIEW *prev; 70 | for (int i = 0; i < self.count; i++) { 71 | MAS_VIEW *v = self[i]; 72 | [v mas_makeConstraints:^(MASConstraintMaker *make) { 73 | if (prev) { 74 | make.height.equalTo(prev); 75 | make.top.equalTo(prev.mas_bottom).offset(fixedSpacing); 76 | if (i == (CGFloat)self.count - 1) {//last one 77 | make.bottom.equalTo(tempSuperView).offset(-tailSpacing); 78 | } 79 | } 80 | else {//first one 81 | make.top.equalTo(tempSuperView).offset(leadSpacing); 82 | } 83 | 84 | }]; 85 | prev = v; 86 | } 87 | } 88 | } 89 | 90 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing { 91 | if (self.count < 2) { 92 | NSAssert(self.count>1,@"views to distribute need to bigger than one"); 93 | return; 94 | } 95 | 96 | MAS_VIEW *tempSuperView = [self mas_commonSuperviewOfViews]; 97 | if (axisType == MASAxisTypeHorizontal) { 98 | MAS_VIEW *prev; 99 | for (int i = 0; i < self.count; i++) { 100 | MAS_VIEW *v = self[i]; 101 | [v mas_makeConstraints:^(MASConstraintMaker *make) { 102 | if (prev) { 103 | CGFloat offset = (1-(i/((CGFloat)self.count-1)))*(fixedItemLength+leadSpacing)-i*tailSpacing/(((CGFloat)self.count-1)); 104 | make.width.equalTo(@(fixedItemLength)); 105 | if (i == (CGFloat)self.count - 1) {//last one 106 | make.right.equalTo(tempSuperView).offset(-tailSpacing); 107 | } 108 | else { 109 | make.right.equalTo(tempSuperView).multipliedBy(i/((CGFloat)self.count-1)).with.offset(offset); 110 | } 111 | } 112 | else {//first one 113 | make.left.equalTo(tempSuperView).offset(leadSpacing); 114 | make.width.equalTo(@(fixedItemLength)); 115 | } 116 | }]; 117 | prev = v; 118 | } 119 | } 120 | else { 121 | MAS_VIEW *prev; 122 | for (int i = 0; i < self.count; i++) { 123 | MAS_VIEW *v = self[i]; 124 | [v mas_makeConstraints:^(MASConstraintMaker *make) { 125 | if (prev) { 126 | CGFloat offset = (1-(i/((CGFloat)self.count-1)))*(fixedItemLength+leadSpacing)-i*tailSpacing/(((CGFloat)self.count-1)); 127 | make.height.equalTo(@(fixedItemLength)); 128 | if (i == (CGFloat)self.count - 1) {//last one 129 | make.bottom.equalTo(tempSuperView).offset(-tailSpacing); 130 | } 131 | else { 132 | make.bottom.equalTo(tempSuperView).multipliedBy(i/((CGFloat)self.count-1)).with.offset(offset); 133 | } 134 | } 135 | else {//first one 136 | make.top.equalTo(tempSuperView).offset(leadSpacing); 137 | make.height.equalTo(@(fixedItemLength)); 138 | } 139 | }]; 140 | prev = v; 141 | } 142 | } 143 | } 144 | 145 | - (MAS_VIEW *)mas_commonSuperviewOfViews 146 | { 147 | MAS_VIEW *commonSuperview = nil; 148 | MAS_VIEW *previousView = nil; 149 | for (id object in self) { 150 | if ([object isKindOfClass:[MAS_VIEW class]]) { 151 | MAS_VIEW *view = (MAS_VIEW *)object; 152 | if (previousView) { 153 | commonSuperview = [view mas_closestCommonSuperview:commonSuperview]; 154 | } else { 155 | commonSuperview = view; 156 | } 157 | previousView = view; 158 | } 159 | } 160 | NSAssert(commonSuperview, @"Can't constrain views that do not share a common superview. Make sure that all the views in this array have been added into the same view hierarchy."); 161 | return commonSuperview; 162 | } 163 | 164 | @end 165 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MASShorthandAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 22/07/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "NSArray+MASAdditions.h" 10 | 11 | #ifdef MAS_SHORTHAND 12 | 13 | /** 14 | * Shorthand array additions without the 'mas_' prefixes, 15 | * only enabled if MAS_SHORTHAND is defined 16 | */ 17 | @interface NSArray (MASShorthandAdditions) 18 | 19 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block; 20 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block; 21 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block; 22 | 23 | @end 24 | 25 | @implementation NSArray (MASShorthandAdditions) 26 | 27 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { 28 | return [self mas_makeConstraints:block]; 29 | } 30 | 31 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block { 32 | return [self mas_updateConstraints:block]; 33 | } 34 | 35 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block { 36 | return [self mas_remakeConstraints:block]; 37 | } 38 | 39 | @end 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSLayoutConstraint+MASDebugAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * makes debug and log output of NSLayoutConstraints more readable 13 | */ 14 | @interface NSLayoutConstraint (MASDebugAdditions) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSLayoutConstraint+MASDebugAdditions.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "NSLayoutConstraint+MASDebugAdditions.h" 10 | #import "MASConstraint.h" 11 | #import "MASLayoutConstraint.h" 12 | 13 | @implementation NSLayoutConstraint (MASDebugAdditions) 14 | 15 | #pragma mark - description maps 16 | 17 | + (NSDictionary *)layoutRelationDescriptionsByValue { 18 | static dispatch_once_t once; 19 | static NSDictionary *descriptionMap; 20 | dispatch_once(&once, ^{ 21 | descriptionMap = @{ 22 | @(NSLayoutRelationEqual) : @"==", 23 | @(NSLayoutRelationGreaterThanOrEqual) : @">=", 24 | @(NSLayoutRelationLessThanOrEqual) : @"<=", 25 | }; 26 | }); 27 | return descriptionMap; 28 | } 29 | 30 | + (NSDictionary *)layoutAttributeDescriptionsByValue { 31 | static dispatch_once_t once; 32 | static NSDictionary *descriptionMap; 33 | dispatch_once(&once, ^{ 34 | descriptionMap = @{ 35 | @(NSLayoutAttributeTop) : @"top", 36 | @(NSLayoutAttributeLeft) : @"left", 37 | @(NSLayoutAttributeBottom) : @"bottom", 38 | @(NSLayoutAttributeRight) : @"right", 39 | @(NSLayoutAttributeLeading) : @"leading", 40 | @(NSLayoutAttributeTrailing) : @"trailing", 41 | @(NSLayoutAttributeWidth) : @"width", 42 | @(NSLayoutAttributeHeight) : @"height", 43 | @(NSLayoutAttributeCenterX) : @"centerX", 44 | @(NSLayoutAttributeCenterY) : @"centerY", 45 | @(NSLayoutAttributeBaseline) : @"baseline", 46 | 47 | #if TARGET_OS_IPHONE || TARGET_OS_TV 48 | @(NSLayoutAttributeLeftMargin) : @"leftMargin", 49 | @(NSLayoutAttributeRightMargin) : @"rightMargin", 50 | @(NSLayoutAttributeTopMargin) : @"topMargin", 51 | @(NSLayoutAttributeBottomMargin) : @"bottomMargin", 52 | @(NSLayoutAttributeLeadingMargin) : @"leadingMargin", 53 | @(NSLayoutAttributeTrailingMargin) : @"trailingMargin", 54 | @(NSLayoutAttributeCenterXWithinMargins) : @"centerXWithinMargins", 55 | @(NSLayoutAttributeCenterYWithinMargins) : @"centerYWithinMargins", 56 | #endif 57 | 58 | }; 59 | 60 | }); 61 | return descriptionMap; 62 | } 63 | 64 | 65 | + (NSDictionary *)layoutPriorityDescriptionsByValue { 66 | static dispatch_once_t once; 67 | static NSDictionary *descriptionMap; 68 | dispatch_once(&once, ^{ 69 | #if TARGET_OS_IPHONE || TARGET_OS_TV 70 | descriptionMap = @{ 71 | @(MASLayoutPriorityDefaultHigh) : @"high", 72 | @(MASLayoutPriorityDefaultLow) : @"low", 73 | @(MASLayoutPriorityDefaultMedium) : @"medium", 74 | @(MASLayoutPriorityRequired) : @"required", 75 | @(MASLayoutPriorityFittingSizeLevel) : @"fitting size", 76 | }; 77 | #elif TARGET_OS_MAC 78 | descriptionMap = @{ 79 | @(MASLayoutPriorityDefaultHigh) : @"high", 80 | @(MASLayoutPriorityDragThatCanResizeWindow) : @"drag can resize window", 81 | @(MASLayoutPriorityDefaultMedium) : @"medium", 82 | @(MASLayoutPriorityWindowSizeStayPut) : @"window size stay put", 83 | @(MASLayoutPriorityDragThatCannotResizeWindow) : @"drag cannot resize window", 84 | @(MASLayoutPriorityDefaultLow) : @"low", 85 | @(MASLayoutPriorityFittingSizeCompression) : @"fitting size", 86 | @(MASLayoutPriorityRequired) : @"required", 87 | }; 88 | #endif 89 | }); 90 | return descriptionMap; 91 | } 92 | 93 | #pragma mark - description override 94 | 95 | + (NSString *)descriptionForObject:(id)obj { 96 | if ([obj respondsToSelector:@selector(mas_key)] && [obj mas_key]) { 97 | return [NSString stringWithFormat:@"%@:%@", [obj class], [obj mas_key]]; 98 | } 99 | return [NSString stringWithFormat:@"%@:%p", [obj class], obj]; 100 | } 101 | 102 | - (NSString *)description { 103 | NSMutableString *description = [[NSMutableString alloc] initWithString:@"<"]; 104 | 105 | [description appendString:[self.class descriptionForObject:self]]; 106 | 107 | [description appendFormat:@" %@", [self.class descriptionForObject:self.firstItem]]; 108 | if (self.firstAttribute != NSLayoutAttributeNotAnAttribute) { 109 | [description appendFormat:@".%@", self.class.layoutAttributeDescriptionsByValue[@(self.firstAttribute)]]; 110 | } 111 | 112 | [description appendFormat:@" %@", self.class.layoutRelationDescriptionsByValue[@(self.relation)]]; 113 | 114 | if (self.secondItem) { 115 | [description appendFormat:@" %@", [self.class descriptionForObject:self.secondItem]]; 116 | } 117 | if (self.secondAttribute != NSLayoutAttributeNotAnAttribute) { 118 | [description appendFormat:@".%@", self.class.layoutAttributeDescriptionsByValue[@(self.secondAttribute)]]; 119 | } 120 | 121 | if (self.multiplier != 1) { 122 | [description appendFormat:@" * %g", self.multiplier]; 123 | } 124 | 125 | if (self.secondAttribute == NSLayoutAttributeNotAnAttribute) { 126 | [description appendFormat:@" %g", self.constant]; 127 | } else { 128 | if (self.constant) { 129 | [description appendFormat:@" %@ %g", (self.constant < 0 ? @"-" : @"+"), ABS(self.constant)]; 130 | } 131 | } 132 | 133 | if (self.priority != MASLayoutPriorityRequired) { 134 | [description appendFormat:@" ^%@", self.class.layoutPriorityDescriptionsByValue[@(self.priority)] ?: [NSNumber numberWithDouble:self.priority]]; 135 | } 136 | 137 | [description appendString:@">"]; 138 | return description; 139 | } 140 | 141 | @end 142 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+MASAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | /** 14 | * Provides constraint maker block 15 | * and convience methods for creating MASViewAttribute which are view + NSLayoutAttribute pairs 16 | */ 17 | @interface MAS_VIEW (MASAdditions) 18 | 19 | /** 20 | * following properties return a new MASViewAttribute with current view and appropriate NSLayoutAttribute 21 | */ 22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_left; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_top; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_right; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottom; 26 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leading; 27 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_trailing; 28 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_width; 29 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_height; 30 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerX; 31 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerY; 32 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_baseline; 33 | @property (nonatomic, strong, readonly) MASViewAttribute *(^mas_attribute)(NSLayoutAttribute attr); 34 | 35 | #if TARGET_OS_IPHONE || TARGET_OS_TV 36 | 37 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leftMargin; 38 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_rightMargin; 39 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topMargin; 40 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomMargin; 41 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leadingMargin; 42 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_trailingMargin; 43 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerXWithinMargins; 44 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerYWithinMargins; 45 | 46 | #endif 47 | 48 | /** 49 | * a key to associate with this view 50 | */ 51 | @property (nonatomic, strong) id mas_key; 52 | 53 | /** 54 | * Finds the closest common superview between this view and another view 55 | * 56 | * @param view other view 57 | * 58 | * @return returns nil if common superview could not be found 59 | */ 60 | - (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view; 61 | 62 | /** 63 | * Creates a MASConstraintMaker with the callee view. 64 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing 65 | * 66 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 67 | * 68 | * @return Array of created MASConstraints 69 | */ 70 | - (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *make))block; 71 | 72 | /** 73 | * Creates a MASConstraintMaker with the callee view. 74 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing. 75 | * If an existing constraint exists then it will be updated instead. 76 | * 77 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 78 | * 79 | * @return Array of created/updated MASConstraints 80 | */ 81 | - (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *make))block; 82 | 83 | /** 84 | * Creates a MASConstraintMaker with the callee view. 85 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing. 86 | * All constraints previously installed for the view will be removed. 87 | * 88 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 89 | * 90 | * @return Array of created/updated MASConstraints 91 | */ 92 | - (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block; 93 | 94 | @end 95 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/View+MASAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+MASAdditions.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "View+MASAdditions.h" 10 | #import 11 | 12 | @implementation MAS_VIEW (MASAdditions) 13 | 14 | - (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *))block { 15 | self.translatesAutoresizingMaskIntoConstraints = NO; 16 | MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self]; 17 | block(constraintMaker); 18 | return [constraintMaker install]; 19 | } 20 | 21 | - (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *))block { 22 | self.translatesAutoresizingMaskIntoConstraints = NO; 23 | MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self]; 24 | constraintMaker.updateExisting = YES; 25 | block(constraintMaker); 26 | return [constraintMaker install]; 27 | } 28 | 29 | - (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block { 30 | self.translatesAutoresizingMaskIntoConstraints = NO; 31 | MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self]; 32 | constraintMaker.removeExisting = YES; 33 | block(constraintMaker); 34 | return [constraintMaker install]; 35 | } 36 | 37 | #pragma mark - NSLayoutAttribute properties 38 | 39 | - (MASViewAttribute *)mas_left { 40 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeft]; 41 | } 42 | 43 | - (MASViewAttribute *)mas_top { 44 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTop]; 45 | } 46 | 47 | - (MASViewAttribute *)mas_right { 48 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeRight]; 49 | } 50 | 51 | - (MASViewAttribute *)mas_bottom { 52 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBottom]; 53 | } 54 | 55 | - (MASViewAttribute *)mas_leading { 56 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeading]; 57 | } 58 | 59 | - (MASViewAttribute *)mas_trailing { 60 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTrailing]; 61 | } 62 | 63 | - (MASViewAttribute *)mas_width { 64 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeWidth]; 65 | } 66 | 67 | - (MASViewAttribute *)mas_height { 68 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeHeight]; 69 | } 70 | 71 | - (MASViewAttribute *)mas_centerX { 72 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterX]; 73 | } 74 | 75 | - (MASViewAttribute *)mas_centerY { 76 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterY]; 77 | } 78 | 79 | - (MASViewAttribute *)mas_baseline { 80 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBaseline]; 81 | } 82 | 83 | - (MASViewAttribute *(^)(NSLayoutAttribute))mas_attribute 84 | { 85 | return ^(NSLayoutAttribute attr) { 86 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:attr]; 87 | }; 88 | } 89 | 90 | #if TARGET_OS_IPHONE || TARGET_OS_TV 91 | 92 | - (MASViewAttribute *)mas_leftMargin { 93 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeftMargin]; 94 | } 95 | 96 | - (MASViewAttribute *)mas_rightMargin { 97 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeRightMargin]; 98 | } 99 | 100 | - (MASViewAttribute *)mas_topMargin { 101 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTopMargin]; 102 | } 103 | 104 | - (MASViewAttribute *)mas_bottomMargin { 105 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBottomMargin]; 106 | } 107 | 108 | - (MASViewAttribute *)mas_leadingMargin { 109 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeadingMargin]; 110 | } 111 | 112 | - (MASViewAttribute *)mas_trailingMargin { 113 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTrailingMargin]; 114 | } 115 | 116 | - (MASViewAttribute *)mas_centerXWithinMargins { 117 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterXWithinMargins]; 118 | } 119 | 120 | - (MASViewAttribute *)mas_centerYWithinMargins { 121 | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterYWithinMargins]; 122 | } 123 | 124 | #endif 125 | 126 | #pragma mark - associated properties 127 | 128 | - (id)mas_key { 129 | return objc_getAssociatedObject(self, @selector(mas_key)); 130 | } 131 | 132 | - (void)setMas_key:(id)key { 133 | objc_setAssociatedObject(self, @selector(mas_key), key, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 134 | } 135 | 136 | #pragma mark - heirachy 137 | 138 | - (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view { 139 | MAS_VIEW *closestCommonSuperview = nil; 140 | 141 | MAS_VIEW *secondViewSuperview = view; 142 | while (!closestCommonSuperview && secondViewSuperview) { 143 | MAS_VIEW *firstViewSuperview = self; 144 | while (!closestCommonSuperview && firstViewSuperview) { 145 | if (secondViewSuperview == firstViewSuperview) { 146 | closestCommonSuperview = secondViewSuperview; 147 | } 148 | firstViewSuperview = firstViewSuperview.superview; 149 | } 150 | secondViewSuperview = secondViewSuperview.superview; 151 | } 152 | return closestCommonSuperview; 153 | } 154 | 155 | @end 156 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+MASShorthandAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 22/07/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "View+MASAdditions.h" 10 | 11 | #ifdef MAS_SHORTHAND 12 | 13 | /** 14 | * Shorthand view additions without the 'mas_' prefixes, 15 | * only enabled if MAS_SHORTHAND is defined 16 | */ 17 | @interface MAS_VIEW (MASShorthandAdditions) 18 | 19 | @property (nonatomic, strong, readonly) MASViewAttribute *left; 20 | @property (nonatomic, strong, readonly) MASViewAttribute *top; 21 | @property (nonatomic, strong, readonly) MASViewAttribute *right; 22 | @property (nonatomic, strong, readonly) MASViewAttribute *bottom; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *leading; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *trailing; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *width; 26 | @property (nonatomic, strong, readonly) MASViewAttribute *height; 27 | @property (nonatomic, strong, readonly) MASViewAttribute *centerX; 28 | @property (nonatomic, strong, readonly) MASViewAttribute *centerY; 29 | @property (nonatomic, strong, readonly) MASViewAttribute *baseline; 30 | @property (nonatomic, strong, readonly) MASViewAttribute *(^attribute)(NSLayoutAttribute attr); 31 | 32 | #if TARGET_OS_IPHONE || TARGET_OS_TV 33 | 34 | @property (nonatomic, strong, readonly) MASViewAttribute *leftMargin; 35 | @property (nonatomic, strong, readonly) MASViewAttribute *rightMargin; 36 | @property (nonatomic, strong, readonly) MASViewAttribute *topMargin; 37 | @property (nonatomic, strong, readonly) MASViewAttribute *bottomMargin; 38 | @property (nonatomic, strong, readonly) MASViewAttribute *leadingMargin; 39 | @property (nonatomic, strong, readonly) MASViewAttribute *trailingMargin; 40 | @property (nonatomic, strong, readonly) MASViewAttribute *centerXWithinMargins; 41 | @property (nonatomic, strong, readonly) MASViewAttribute *centerYWithinMargins; 42 | 43 | #endif 44 | 45 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block; 46 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block; 47 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block; 48 | 49 | @end 50 | 51 | #define MAS_ATTR_FORWARD(attr) \ 52 | - (MASViewAttribute *)attr { \ 53 | return [self mas_##attr]; \ 54 | } 55 | 56 | @implementation MAS_VIEW (MASShorthandAdditions) 57 | 58 | MAS_ATTR_FORWARD(top); 59 | MAS_ATTR_FORWARD(left); 60 | MAS_ATTR_FORWARD(bottom); 61 | MAS_ATTR_FORWARD(right); 62 | MAS_ATTR_FORWARD(leading); 63 | MAS_ATTR_FORWARD(trailing); 64 | MAS_ATTR_FORWARD(width); 65 | MAS_ATTR_FORWARD(height); 66 | MAS_ATTR_FORWARD(centerX); 67 | MAS_ATTR_FORWARD(centerY); 68 | MAS_ATTR_FORWARD(baseline); 69 | 70 | #if TARGET_OS_IPHONE || TARGET_OS_TV 71 | 72 | MAS_ATTR_FORWARD(leftMargin); 73 | MAS_ATTR_FORWARD(rightMargin); 74 | MAS_ATTR_FORWARD(topMargin); 75 | MAS_ATTR_FORWARD(bottomMargin); 76 | MAS_ATTR_FORWARD(leadingMargin); 77 | MAS_ATTR_FORWARD(trailingMargin); 78 | MAS_ATTR_FORWARD(centerXWithinMargins); 79 | MAS_ATTR_FORWARD(centerYWithinMargins); 80 | 81 | #endif 82 | 83 | - (MASViewAttribute *(^)(NSLayoutAttribute))attribute { 84 | return [self mas_attribute]; 85 | } 86 | 87 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { 88 | return [self mas_makeConstraints:block]; 89 | } 90 | 91 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block { 92 | return [self mas_updateConstraints:block]; 93 | } 94 | 95 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block { 96 | return [self mas_remakeConstraints:block]; 97 | } 98 | 99 | @end 100 | 101 | #endif 102 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+MASAdditions.h 3 | // Masonry 4 | // 5 | // Created by Craig Siemens on 2015-06-23. 6 | // 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | #ifdef MAS_VIEW_CONTROLLER 14 | 15 | @interface MAS_VIEW_CONTROLLER (MASAdditions) 16 | 17 | /** 18 | * following properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute 19 | */ 20 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide; 21 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide; 22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom; 26 | 27 | 28 | @end 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/ViewController+MASAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+MASAdditions.m 3 | // Masonry 4 | // 5 | // Created by Craig Siemens on 2015-06-23. 6 | // 7 | // 8 | 9 | #import "ViewController+MASAdditions.h" 10 | 11 | #ifdef MAS_VIEW_CONTROLLER 12 | 13 | @implementation MAS_VIEW_CONTROLLER (MASAdditions) 14 | 15 | - (MASViewAttribute *)mas_topLayoutGuide { 16 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 17 | } 18 | - (MASViewAttribute *)mas_topLayoutGuideTop { 19 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 20 | } 21 | - (MASViewAttribute *)mas_topLayoutGuideBottom { 22 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 23 | } 24 | 25 | - (MASViewAttribute *)mas_bottomLayoutGuide { 26 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 27 | } 28 | - (MASViewAttribute *)mas_bottomLayoutGuideTop { 29 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 30 | } 31 | - (MASViewAttribute *)mas_bottomLayoutGuideBottom { 32 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 33 | } 34 | 35 | 36 | 37 | @end 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Masonry : NSObject 3 | @end 4 | @implementation PodsDummy_Masonry 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Masonry" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Masonry" 3 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## Masonry 5 | 6 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | Generated by CocoaPods - http://cocoapods.org 26 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | Title 37 | Masonry 38 | Type 39 | PSGroupSpecifier 40 | 41 | 42 | FooterText 43 | Generated by CocoaPods - http://cocoapods.org 44 | Title 45 | 46 | Type 47 | PSGroupSpecifier 48 | 49 | 50 | StringsTable 51 | Acknowledgements 52 | Title 53 | Acknowledgements 54 | 55 | 56 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_UBERWelcome : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_UBERWelcome 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Masonry" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Masonry" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Masonry" -framework "Foundation" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-UBERWelcome/Pods-UBERWelcome.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Masonry" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Masonry" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Masonry" -framework "Foundation" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WelcomeToUber 2 | 高仿Uber,Uber启动动画,实现视频欢迎界面.无内存泄漏版.欢迎大家参考 3 | 4 | ###废话不多说直接上图,Github排第一的有内存泄漏,大家可以参考我的...好不好运行起来看内存就知道 5 | 6 | ![WelcomeToUber in action](Menu.gif) 7 | 8 | -------------------------------------------------------------------------------- /UBERWelcome.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /UBERWelcome.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /UBERWelcome/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /UBERWelcome/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "ViewController.h" 11 | 12 | @interface AppDelegate () 13 | 14 | @end 15 | 16 | @implementation AppDelegate 17 | 18 | 19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 20 | 21 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 22 | 23 | [self.window makeKeyAndVisible]; 24 | 25 | self.window.rootViewController = [[ViewController alloc] init]; 26 | 27 | return YES; 28 | } 29 | 30 | - (void)applicationWillResignActive:(UIApplication *)application { 31 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 32 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 33 | } 34 | 35 | - (void)applicationDidEnterBackground:(UIApplication *)application { 36 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 37 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 38 | } 39 | 40 | - (void)applicationWillEnterForeground:(UIApplication *)application { 41 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 42 | } 43 | 44 | - (void)applicationDidBecomeActive:(UIApplication *)application { 45 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 46 | } 47 | 48 | - (void)applicationWillTerminate:(UIApplication *)application { 49 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 50 | } 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /UBERWelcome/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /UBERWelcome/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /UBERWelcome/EMAlertView.h: -------------------------------------------------------------------------------- 1 | // 2 | // EMAlertView.h 3 | // AlertView 4 | // 5 | // Created by EaseMob on 15/4/1. 6 | // Copyright (c) 2015年 EaseMob. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface EMAlertView : UIAlertView 12 | 13 | /** 14 | * 弹出提示框 15 | * 16 | * @param title <#title description#> 17 | * @param message <#message description#> 18 | * @param block <#block description#> 19 | * @param cancelButtonTitle <#cancelButtonTitle description#> 20 | * @param otherButtonTitles <#otherButtonTitles description#> 21 | * 22 | * @return <#return value description#> 23 | */ 24 | + (id)showAlertWithTitle:(NSString *)title 25 | message:(NSString *)message 26 | completionBlock:(void (^)(NSUInteger buttonIndex, EMAlertView *alertView))block 27 | cancelButtonTitle:(NSString *)cancelButtonTitle 28 | otherButtonTitles:(NSString *)otherButtonTitles, ...; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /UBERWelcome/EMAlertView.m: -------------------------------------------------------------------------------- 1 | // 2 | // EMAlertView.m 3 | // AlertView 4 | // 5 | // Created by EaseMob on 15/4/1. 6 | // Copyright (c) 2015年 EaseMob. All rights reserved. 7 | // 8 | 9 | #import "EMAlertView.h" 10 | #import 11 | 12 | @interface EMAlertView () 13 | 14 | @end 15 | 16 | @implementation EMAlertView 17 | 18 | + (id)showAlertWithTitle:(NSString *)title message:(NSString *)message 19 | completionBlock:(void (^)(NSUInteger buttonIndex, EMAlertView *alertView))block 20 | cancelButtonTitle:(NSString *)cancelButtonTitle 21 | otherButtonTitles:(NSString *)otherButtonTitles, ... 22 | { 23 | if (!cancelButtonTitle && !otherButtonTitles) { 24 | return nil; 25 | } 26 | EMAlertView *alertView = [[self alloc] initWithTitle:title 27 | message:message 28 | completionBlock:block 29 | cancelButtonTitle:cancelButtonTitle 30 | otherButtonTitles:nil]; 31 | 32 | if (otherButtonTitles != nil) { 33 | id eachObject; 34 | va_list argumentList; 35 | if (otherButtonTitles) { 36 | [alertView addButtonWithTitle:otherButtonTitles]; 37 | va_start(argumentList, otherButtonTitles); 38 | while ((eachObject = va_arg(argumentList, id))) { 39 | [alertView addButtonWithTitle:eachObject]; 40 | } 41 | va_end(argumentList); 42 | } 43 | } 44 | 45 | [alertView show]; 46 | 47 | return alertView; 48 | 49 | } 50 | 51 | 52 | - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex 53 | { 54 | void (^block)(NSUInteger buttonIndex, UIAlertView *alertView) = objc_getAssociatedObject(self, "blockCallback"); 55 | if (block) { 56 | block(buttonIndex, self); 57 | } 58 | } 59 | 60 | 61 | - (id)initWithTitle:(NSString *)title 62 | message:(NSString *)message 63 | completionBlock:(void (^)(NSUInteger buttonIndex, EMAlertView *alertView))block 64 | cancelButtonTitle:(NSString *)cancelButtonTitle 65 | otherButtonTitles:(NSString *)otherButtonTitles, ... { 66 | 67 | objc_setAssociatedObject(self, "blockCallback", [block copy], OBJC_ASSOCIATION_RETAIN_NONATOMIC); 68 | 69 | if (self = [self initWithTitle:title 70 | message:message 71 | delegate:self 72 | cancelButtonTitle:nil 73 | otherButtonTitles:nil]) { 74 | 75 | if (cancelButtonTitle) { 76 | [self addButtonWithTitle:cancelButtonTitle]; 77 | self.cancelButtonIndex = [self numberOfButtons] - 1; 78 | } 79 | 80 | id eachObject; 81 | va_list argumentList; 82 | if (otherButtonTitles) { 83 | [self addButtonWithTitle:otherButtonTitles]; 84 | va_start(argumentList, otherButtonTitles); 85 | while ((eachObject = va_arg(argumentList, id))) { 86 | [self addButtonWithTitle:eachObject]; 87 | } 88 | va_end(argumentList); 89 | } 90 | } 91 | return self; 92 | } 93 | 94 | @end 95 | -------------------------------------------------------------------------------- /UBERWelcome/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | Launch Screen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /UBERWelcome/LZLoginView.h: -------------------------------------------------------------------------------- 1 | // 2 | // LZLoginView.h 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef enum { 12 | KButtonLogin, 13 | KDateButtonRegister, 14 | } KButtonType; 15 | 16 | @class LZLoginView; 17 | 18 | @protocol LZLoginViewDelegate 19 | 20 | - (void)loginView:(LZLoginView *)loginView didSelectButton:(KButtonType)buttonType; 21 | 22 | @optional 23 | 24 | @end 25 | 26 | @interface LZLoginView : UIView 27 | 28 | @property (nonatomic, weak) id delegate; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /UBERWelcome/LZLoginView.m: -------------------------------------------------------------------------------- 1 | // 2 | // LZLoginView.m 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import "LZLoginView.h" 10 | #import "Masonry.h" 11 | 12 | @interface LZLoginView() 13 | 14 | @property (nonatomic, strong) UIButton *loginBtn; 15 | @property (nonatomic, strong) UIButton *registerBtn; 16 | 17 | @end 18 | 19 | @implementation LZLoginView 20 | 21 | - (instancetype)initWithFrame:(CGRect)frame 22 | { 23 | if (self = [super initWithFrame:frame]) { 24 | self.loginBtn = [self setupButtonWithTitle:@"登录" color:[UIColor blackColor] bgColor:KColor(255, 255, 255) index:KButtonLogin]; 25 | self.registerBtn = [self setupButtonWithTitle:@"注册" color:[UIColor whiteColor] bgColor:KColor(33, 172, 204) index:KDateButtonRegister]; 26 | } 27 | return self; 28 | } 29 | 30 | - (UIButton *)setupButtonWithTitle:(NSString *)title color:(UIColor *)color bgColor:(UIColor *)bgColor index:(KButtonType)index 31 | { 32 | UIButton *btn = [[UIButton alloc] init]; 33 | btn.tag = index; 34 | [btn setTitle:title forState:UIControlStateNormal]; 35 | [btn setBackgroundColor:bgColor]; 36 | btn.titleLabel.font = [UIFont systemFontOfSize:14]; 37 | // [button setTintColor:[UIColor whiteColor]]; 38 | [btn setTitleColor:color forState:UIControlStateNormal]; 39 | [btn addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside]; 40 | [self addSubview:btn]; 41 | return btn; 42 | } 43 | 44 | - (void)btnClick:(UIButton *)btn 45 | { 46 | if ([self.delegate respondsToSelector:@selector(loginView:didSelectButton:)]) { 47 | [self.delegate loginView:self didSelectButton:btn.tag]; 48 | } 49 | } 50 | 51 | - (void)layoutSubviews 52 | { 53 | [super layoutSubviews]; 54 | 55 | int padding = 20; 56 | [self.loginBtn mas_makeConstraints:^(MASConstraintMaker *make) { 57 | make.left.equalTo(self.mas_left).with.offset(padding); 58 | // make.top.bottom.equalTo(self); 59 | make.right.equalTo(self.registerBtn.mas_left).with.offset(-padding); 60 | make.width.equalTo(self.registerBtn); 61 | make.bottom.top.equalTo(self); 62 | }]; 63 | 64 | [self.registerBtn mas_makeConstraints:^(MASConstraintMaker *make) { 65 | make.left.equalTo(self.loginBtn.mas_right).with.offset(padding); 66 | make.right.equalTo(self.mas_right).with.offset(-padding); 67 | make.width.equalTo(self.loginBtn); 68 | make.bottom.top.equalTo(self); 69 | }]; 70 | } 71 | @end 72 | -------------------------------------------------------------------------------- /UBERWelcome/Launch Screen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /UBERWelcome/PrefixHeader.pch: -------------------------------------------------------------------------------- 1 | // 2 | // PrefixHeader.pch 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #ifndef PrefixHeader_pch 10 | #define PrefixHeader_pch 11 | 12 | // Include any system framework and library headers here that should be included in all compilation units. 13 | // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. 14 | 15 | #define KColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0] 16 | #define KRGBACOLOR(r,g,b,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)] 17 | #define KRandomColor KColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256)) 18 | 19 | #endif /* PrefixHeader_pch */ 20 | -------------------------------------------------------------------------------- /UBERWelcome/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /UBERWelcome/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import 11 | #import 12 | #import 13 | #import "Masonry.h" 14 | #import "LZLoginView.h" 15 | #import "EMAlertView.h" 16 | 17 | @interface ViewController () 18 | @property (nonatomic, weak) UIView *circleView; 19 | @property (strong, nonatomic) MPMoviePlayerController *player; 20 | 21 | @end 22 | 23 | @implementation ViewController 24 | 25 | - (void)viewDidLoad { 26 | [super viewDidLoad]; 27 | 28 | self.view.backgroundColor = [UIColor blackColor]; 29 | 30 | [self setupCircleView]; 31 | 32 | [self performSelector:@selector(animationOfCABasicAnimation) withObject:nil afterDelay:2.0f]; 33 | [self performSelector:@selector(runAnimationWithImage) withObject:nil afterDelay:2.0f]; 34 | [self performSelector:@selector(SetupVideoPlayer) withObject:nil afterDelay:5.0f]; 35 | } 36 | 37 | - (void)setupCircleView 38 | { 39 | CGRect rx = [UIScreen mainScreen].bounds; 40 | CGFloat myW = 2; 41 | UIView *circleView = [[UIView alloc]initWithFrame:CGRectMake((rx.size.width-myW)/2, (rx.size.height-myW)/2, myW, myW)]; 42 | circleView.layer.borderWidth = 2; 43 | circleView.layer.borderColor = [[UIColor colorWithRed:(33/255.0 ) green: (172/255.0) blue: (204/255.0) alpha:1.0] CGColor]; 44 | [self.view addSubview:circleView]; 45 | self.circleView = circleView; 46 | 47 | } 48 | 49 | - (void)runAnimationWithImage 50 | { 51 | UIImageView *imgView = [[UIImageView alloc] init]; 52 | NSMutableArray *images = [NSMutableArray array]; 53 | for (int i = 1; i < 68; i++) { 54 | NSString *filename = [NSString stringWithFormat:@"logo-%03d.png",i]; 55 | NSString *path = [[NSBundle mainBundle] pathForResource:filename ofType:nil]; 56 | UIImage *image = [UIImage imageWithContentsOfFile:path]; 57 | // NSString *filename = [NSString stringWithFormat:@"logo-%03d",i]; 58 | // UIImage *image = [UIImage imageNamed:filename]; 59 | [images addObject:image]; 60 | } 61 | [imgView setImage:[UIImage imageNamed:@"logo-067"]]; 62 | imgView.animationImages = images; 63 | imgView.animationDuration = 5.0; 64 | imgView.animationRepeatCount = 1; 65 | [imgView startAnimating]; 66 | [self.view insertSubview:imgView atIndex:[[self.view subviews] count]]; 67 | [imgView mas_makeConstraints:^(MASConstraintMaker *make) { 68 | make.center.equalTo(self.view); 69 | make.size.mas_equalTo(CGSizeMake(277, 277)); 70 | }]; 71 | 72 | CGFloat delay = imgView.animationDuration + 1.0; 73 | [imgView performSelector:@selector(setAnimationImages:) withObject:nil afterDelay:delay]; 74 | } 75 | 76 | - (void)animationOfCABasicAnimation 77 | { 78 | CGRect rx = [UIScreen mainScreen].bounds; 79 | CGFloat myW = rx.size.width - 20; 80 | self.circleView.frame = CGRectMake((rx.size.width-myW)/2, (rx.size.height-myW)/2, myW, myW); 81 | self.circleView.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"yyy"]]; 82 | //将图层的边框设置为圆脚 83 | self.circleView.layer.cornerRadius = myW / 2; 84 | self.circleView.layer.masksToBounds = YES; 85 | //给图层添加一个有色边框 86 | self.circleView.layer.borderWidth = 2; 87 | self.circleView.layer.borderColor = [[UIColor colorWithRed:(33/255.0 ) green: (172/255.0) blue: (204/255.0) alpha:1.0] CGColor]; 88 | 89 | [self.view addSubview:self.circleView]; 90 | //创建一个CABasicAnimation对象 91 | CABasicAnimation *animation=[CABasicAnimation animationWithKeyPath:@"transform.scale"]; 92 | self.circleView.layer.anchorPoint = CGPointMake(.5,.5); 93 | animation.fromValue = @0.0f; 94 | animation.toValue = @1.0f; 95 | //动画时间 96 | animation.duration=0.5; 97 | //是否反转变为原来的属性值 98 | // animation.autoreverses=YES; 99 | //把animation添加到图层的layer中,便可以播放动画了。forKey指定要应用此动画的属性 100 | [self.circleView.layer addAnimation:animation forKey:@"scale"]; 101 | [UIView animateWithDuration:3 animations:^{ 102 | self.circleView.alpha = 0; 103 | }]; 104 | } 105 | 106 | - (void)SetupVideoPlayer 107 | { 108 | NSString *myFilePath = [[NSBundle mainBundle]pathForResource:@"welcome_video"ofType:@"mp4"]; 109 | NSURL *movieURL = [NSURL fileURLWithPath:myFilePath]; 110 | self.player = [[MPMoviePlayerController alloc] initWithContentURL:movieURL]; 111 | [self.view insertSubview:self.player.view atIndex:[[self.view subviews] count] - 1]; 112 | self.player.shouldAutoplay = YES; 113 | [self.player setControlStyle:MPMovieControlStyleNone]; 114 | self.player.repeatMode = MPMovieRepeatModeOne; 115 | [self.player.view setFrame:self.view.bounds]; 116 | self.player.view.alpha = 0; 117 | [UIView animateWithDuration:3 animations:^{ 118 | self.player.view.alpha = 1; 119 | [self.player prepareToPlay]; 120 | }]; 121 | 122 | [self setupLoginView]; 123 | } 124 | 125 | - (void)setupLoginView 126 | { 127 | LZLoginView *loginView = [[LZLoginView alloc] init]; 128 | loginView.alpha = 0.0; 129 | loginView.delegate = self; 130 | [self.player.view addSubview:loginView]; 131 | [loginView mas_makeConstraints:^(MASConstraintMaker *make) { 132 | make.left.right.equalTo(self.player.view); 133 | make.bottom.equalTo(self.player.view.mas_bottom).with.offset(-20); 134 | make.height.equalTo(@35); 135 | }]; 136 | 137 | [UIView animateWithDuration:3.0 animations:^{ 138 | loginView.alpha = 1.0; 139 | }]; 140 | } 141 | 142 | 143 | - (UIStatusBarStyle)preferredStatusBarStyle 144 | { 145 | return UIStatusBarStyleDefault; 146 | } 147 | 148 | #pragma mark - LZLoginViewDelegate 149 | - (void)loginView:(LZLoginView *)loginView didSelectButton:(KButtonType)buttonType 150 | { 151 | switch (buttonType) { 152 | case KButtonLogin: 153 | [self loginAlert]; 154 | break; 155 | 156 | case KDateButtonRegister: 157 | [self registerAlert]; 158 | break; 159 | } 160 | } 161 | 162 | - (void)loginAlert 163 | { 164 | UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"1" message:@"1" delegate:self cancelButtonTitle:nil otherButtonTitles:@"好的", nil]; 165 | [alertView show]; 166 | } 167 | 168 | - (void)registerAlert 169 | { 170 | UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"2" message:@"2" delegate:self cancelButtonTitle:nil otherButtonTitles:@"好的", nil]; 171 | [alertView show]; 172 | } 173 | 174 | @end 175 | -------------------------------------------------------------------------------- /UBERWelcome/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UBERWelcome 4 | // 5 | // Created by nacker on 15/10/31. 6 | // Copyright © 2015年 nacker. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /UBERWelcome/rescorse/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/12.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-001.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-001@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-001@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-001@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-001@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-002.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-002@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-002@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-002@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-002@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-003.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-003@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-003@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-003@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-003@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-004.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-004@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-004@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-004@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-004@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-005.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-005@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-005@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-005@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-005@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-006.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-006@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-006@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-006@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-006@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-007.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-007@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-007@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-007@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-007@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-008.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-008@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-008@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-008@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-008@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-009.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-009@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-009@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-009@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-009@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-010.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-010@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-010@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-010@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-010@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-011.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-011@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-011@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-011@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-011@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-012.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-012@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-012@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-012@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-012@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-013.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-013@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-013@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-013@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-013@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-014.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-014@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-014@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-014@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-014@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-015.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-015@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-015@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-015@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-015@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-016.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-016@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-016@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-016@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-016@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-017.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-017@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-017@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-017@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-017@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-018.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-018@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-018@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-018@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-018@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-019.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-019@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-019@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-019@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-019@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-020.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-020@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-020@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-020@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-020@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-021.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-021@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-021@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-021@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-021@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-022.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-022@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-022@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-022@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-022@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-023.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-023@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-023@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-023@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-023@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-024.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-024@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-024@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-024@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-024@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-025.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-025@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-025@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-025@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-025@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-026.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-026@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-026@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-026@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-026@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-027.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-027@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-027@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-027@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-027@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-028.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-028@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-028@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-028@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-028@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-029.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-029.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-029@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-029@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-029@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-029@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-030.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-030@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-030@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-030@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-030@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-031.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-031@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-031@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-031@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-031@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-032.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-032@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-032@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-032@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-032@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-033.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-033@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-033@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-033@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-033@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-034.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-034@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-034@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-034@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-034@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-035.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-035@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-035@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-035@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-035@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-036.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-036.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-036@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-036@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-036@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-036@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-037.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-037.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-037@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-037@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-037@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-037@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-038.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-038.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-038@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-038@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-038@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-038@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-039.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-039.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-039@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-039@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-039@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-039@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-040.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-040.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-040@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-040@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-040@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-040@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-041.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-041.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-041@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-041@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-041@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-041@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-042.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-042@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-042@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-042@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-042@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-043.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-043.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-043@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-043@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-043@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-043@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-044.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-044.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-044@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-044@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-044@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-044@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-045.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-045.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-045@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-045@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-045@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-045@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-046.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-046.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-046@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-046@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-046@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-046@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-047.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-047.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-047@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-047@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-047@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-047@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-048.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-048@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-048@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-048@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-048@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-049.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-049.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-049@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-049@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-049@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-049@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-050.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-050.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-050@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-050@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-050@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-050@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-051.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-051.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-051@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-051@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-051@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-051@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-052.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-052.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-052@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-052@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-052@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-052@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-053.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-053.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-053@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-053@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-053@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-053@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-054.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-054.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-054@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-054@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-054@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-054@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-055.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-055.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-055@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-055@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-055@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-055@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-056.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-056.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-056@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-056@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-056@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-056@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-057.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-057.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-057@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-057@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-057@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-057@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-058.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-058.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-058@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-058@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-058@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-058@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-059.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-059.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-059@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-059@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-059@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-059@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-060.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-060.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-060@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-060@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-060@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-060@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-061.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-061.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-061@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-061@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-061@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-061@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-062.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-062.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-062@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-062@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-062@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-062@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-063.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-063.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-063@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-063@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-063@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-063@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-064.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-064.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-064@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-064@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-064@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-064@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-065.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-065.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-065@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-065@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-065@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-065@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-066.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-066.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-066@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-066@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-066@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-066@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-067.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-067.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-067@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-067@2x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/logo-067@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/logo-067@3x.png -------------------------------------------------------------------------------- /UBERWelcome/rescorse/welcome_video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/welcome_video.mp4 -------------------------------------------------------------------------------- /UBERWelcome/rescorse/yyy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/rescorse/yyy.png -------------------------------------------------------------------------------- /UBERWelcome/welcome_video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nacker/WelcomeToUber/9592ab5b5345fda1e02d2899a91932a15152a154/UBERWelcome/welcome_video.mp4 --------------------------------------------------------------------------------