Updated the directory structure of our `Example/` folder such that each example app project + supporting files is contained in its own directory (e.g. `Example/UI Examples/UI Examples.xcodeproj`, `Example/UI Examples/UI Examples/*.swift`).
All example project README files are kept in the example's root directory (e.g. `Example/Basic Integration/README.md`). This means that we don't have to update the relative paths in any of our README files.
Additionally:
- Relocated `UIColorColor+Stripe.swift` into the Basic Integration project files folder since it was previously orphaned in a weird location.
- Relocated `Basic Integration.xcworkspace` into `Example/Basic Integration/` (it was previously in the root directory, which was also confusing fastlane a little)
- Fixed `Basic Integration.xcworkspace` and `UI Examples.xcworkspace` so they compile now (they weren't including the `Stripe` and/or `Stripe3DS2` projects).
* Buff up READMEs
- Add gif to Basic Integration README
- Delete duped examples
* Whoops. STPRedirectContext always returns the clientSecret. You need to check the error to determine if it errored
* Rename Custom Integration to Non-Card Payment Examples
* Fix typo, links
* Try again
* Move scheme to workspace container?
* Try again..
* Dangit.
* Removes elses on new lines
* Removes macro code
* Fixes inlined returns
* Remove extraneous debug logging. Remove a few more macros I found
* STYLEGUIDE cleanup
:
The capitalization recommendation it made is *not* being followed by the app. I
specifically checked URL vs `Url`, and it's overwhelmingly `URL`. `stripeID` beats
`stripeId` by about 2 to 1. You can see fully capitalized acronyms in class names too.
I believe this better matches the actual style of the codebase, and will enable new code
to be consistent with the old.