Commit Graph

12 Commits

Author SHA1 Message Date
Mel 0922e2b286
Move each example app into its own directory
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).
2021-03-23 15:53:40 -07:00
David Estes da3e2568c3 Add support for Swift Package Manager 2020-09-11 16:29:53 -07:00
Yuki a8fba702bc
Add ability to read/write shipping to a PaymentIntent (#1558)
* Add PaymentIntent shipping details

* Add shipping to STPPaymentIntent

* Add shipping to STPPaymentIntent confirm

* PR feedback

* Undo NS_UNAVAILABLE new

* Fix broken test b/c bad merge conflict
2020-04-28 16:31:30 -07:00
Yuki 771f778fcb
Update Examples w/ stripe-samples (#1437)
* 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.
2019-11-07 12:47:59 -08:00
Yuki 40fef932c2
Rename Standard Integration -> Basic Integration (#1431)
* Rename Standard Integration -> Basic Integration

* More renaming. Deleted setup.sh

* Delete Example/Carthage framework search path to clear warning
2019-10-30 16:18:20 -07:00
Cameron 7412ab16a8
Updates STYLEGUIDE (#1371)
* Removes elses on new lines

* Removes macro code

* Fixes inlined returns

* Remove extraneous debug logging. Remove a few more macros I found

* STYLEGUIDE cleanup
:
2019-09-16 16:44:09 -07:00
Yuki Tokuhiro fc317d866f Rename Standard Integration (Sources Only) -> Standard Integration 2019-06-05 16:13:32 -07:00
Yuki Tokuhiro 6765d9a945 Rename all the other instances of '(Swift)' to '(Sources Only)' 2019-05-13 14:25:01 -07:00
Yuki Tokuhiro 297b89eef7 Update Styleguide and property attributes to match 2019-03-12 13:45:08 -07:00
Dan Jackson 0a5c486410 Change Styleguide around acronym capitalization
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.
2018-11-07 16:21:30 -08:00
bg-stripe 5ac87d87dc Add note about ivar access to style guide 2017-09-05 18:31:39 -04:00
Joey Dong 529e7dd9fd Rename StyleGuide.md to STYLEGUIDE.md
This lines up the naming scheme with our other document files
2017-08-03 11:28:46 -07:00