Skip to content

Commit

Permalink
[linear-gradient][ios] Rewrite entire module to Swift (expo#15168)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsapeta authored and DominickVale committed Nov 24, 2021
1 parent de00e12 commit 7bb12d6
Show file tree
Hide file tree
Showing 20 changed files with 174 additions and 293 deletions.
14 changes: 7 additions & 7 deletions apps/bare-expo/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ PODS:
- EXJSONUtils (0.2.0)
- EXKeepAwake (10.0.0):
- ExpoModulesCore
- EXLinearGradient (10.0.1):
- ExpoModulesCore
- EXLocalAuthentication (12.0.0):
- ExpoModulesCore
- EXLocalization (11.0.0):
Expand Down Expand Up @@ -211,6 +209,8 @@ PODS:
- ExpoModulesCore
- ExpoHaptics (11.0.1):
- ExpoModulesCore
- ExpoLinearGradient (10.0.1):
- ExpoModulesCore
- ExpoModulesCore (0.4.2):
- React-Core
- ReactCommon/turbomodule/core
Expand Down Expand Up @@ -802,7 +802,6 @@ DEPENDENCIES:
- EXInAppPurchases (from `../../../packages/expo-in-app-purchases/ios`)
- EXJSONUtils (from `../../../packages/expo-json-utils/ios`)
- EXKeepAwake (from `../../../packages/expo-keep-awake/ios`)
- EXLinearGradient (from `../../../packages/expo-linear-gradient/ios`)
- EXLocalAuthentication (from `../../../packages/expo-local-authentication/ios`)
- EXLocalization (from `../../../packages/expo-localization/ios`)
- EXLocation (from `../../../packages/expo-location/ios`)
Expand All @@ -823,6 +822,7 @@ DEPENDENCIES:
- expo-dev-menu/UITests (from `../../../packages/expo-dev-menu`)
- ExpoCellular (from `../../../packages/expo-cellular/ios`)
- ExpoHaptics (from `../../../packages/expo-haptics/ios`)
- ExpoLinearGradient (from `../../../packages/expo-linear-gradient/ios`)
- ExpoModulesCore (from `../../../packages/expo-modules-core/ios`)
- ExpoSystemUI (from `../../../packages/expo-system-ui/ios`)
- EXPrint (from `../../../packages/expo-print/ios`)
Expand Down Expand Up @@ -1041,9 +1041,6 @@ EXTERNAL SOURCES:
EXKeepAwake:
inhibit_warnings: false
:path: "../../../packages/expo-keep-awake/ios"
EXLinearGradient:
inhibit_warnings: false
:path: "../../../packages/expo-linear-gradient/ios"
EXLocalAuthentication:
inhibit_warnings: false
:path: "../../../packages/expo-local-authentication/ios"
Expand Down Expand Up @@ -1088,6 +1085,9 @@ EXTERNAL SOURCES:
ExpoHaptics:
inhibit_warnings: false
:path: "../../../packages/expo-haptics/ios"
ExpoLinearGradient:
inhibit_warnings: false
:path: "../../../packages/expo-linear-gradient/ios"
ExpoModulesCore:
inhibit_warnings: false
:path: "../../../packages/expo-modules-core/ios"
Expand Down Expand Up @@ -1290,7 +1290,6 @@ SPEC CHECKSUMS:
EXInAppPurchases: a981bef8aea038e9c4b036f75a6aef73cc723eca
EXJSONUtils: f515cf71710855d7ba5bfc6752af3b9a6f6aad01
EXKeepAwake: 8aa32396a5972d26e75e538603aad0f032396503
EXLinearGradient: cac7d90c8b8112736a7630cbd7d9dc242e7b075b
EXLocalAuthentication: 4c640e20a308d66224468661a0da434f86435283
EXLocalization: bb38414618b30a177482c9a6f5594ec6eb0898c1
EXLocation: 6d13fb1d4b65ed1b2d2bdd0b0f11417cc0a2656a
Expand All @@ -1307,6 +1306,7 @@ SPEC CHECKSUMS:
expo-dev-menu-interface: 273c68c2c30ecbc70af2903dfb3821f567ef9d78
ExpoCellular: 90940614d45df5b31f281d70a63d92a06fe44af4
ExpoHaptics: c0c014eabfdd1353a908f857f168b01fafd526db
ExpoLinearGradient: 841746b0ef9c771d1f37fa5463f39eb25b6aae77
ExpoModulesCore: daacb24b99b77ec28c0cbc877a574b1f8e6709c9
ExpoSystemUI: 3c969e3db290fcd5edb9c466d585f183d934b421
EXPrint: a224501bbb89072567c58a5127f2d125b8776ea2
Expand Down

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1909,8 +1909,6 @@ PODS:
- EXJSONUtils/Tests (0.2.0)
- EXKeepAwake (10.0.0):
- ExpoModulesCore
- EXLinearGradient (10.0.1):
- ExpoModulesCore
- EXLocalAuthentication (12.0.0):
- ExpoModulesCore
- EXLocalization (11.0.0):
Expand Down Expand Up @@ -1939,6 +1937,8 @@ PODS:
- ExpoModulesCore
- ExpoHaptics (11.0.1):
- ExpoModulesCore
- ExpoLinearGradient (10.0.1):
- ExpoModulesCore
- ExpoModulesCore (0.4.2):
- React-Core
- ReactCommon/turbomodule/core
Expand Down Expand Up @@ -2849,7 +2849,6 @@ DEPENDENCIES:
- EXJSONUtils (from `../packages/expo-json-utils/ios`)
- EXJSONUtils/Tests (from `../packages/expo-json-utils/ios`)
- EXKeepAwake (from `../packages/expo-keep-awake/ios`)
- EXLinearGradient (from `../packages/expo-linear-gradient/ios`)
- EXLocalAuthentication (from `../packages/expo-local-authentication/ios`)
- EXLocalization (from `../packages/expo-localization/ios`)
- EXLocation (from `../packages/expo-location/ios`)
Expand All @@ -2863,6 +2862,7 @@ DEPENDENCIES:
- Expo (from `../packages/expo/ios`)
- ExpoCellular (from `../packages/expo-cellular/ios`)
- ExpoHaptics (from `../packages/expo-haptics/ios`)
- ExpoLinearGradient (from `../packages/expo-linear-gradient/ios`)
- ExpoModulesCore (from `../packages/expo-modules-core/ios`)
- ExpoModulesCore/Tests (from `../packages/expo-modules-core/ios`)
- ExpoSystemUI (from `../packages/expo-system-ui/ios`)
Expand Down Expand Up @@ -3678,8 +3678,6 @@ EXTERNAL SOURCES:
:path: "../packages/expo-json-utils/ios"
EXKeepAwake:
:path: "../packages/expo-keep-awake/ios"
EXLinearGradient:
:path: "../packages/expo-linear-gradient/ios"
EXLocalAuthentication:
:path: "../packages/expo-local-authentication/ios"
EXLocalization:
Expand All @@ -3704,6 +3702,8 @@ EXTERNAL SOURCES:
:path: "../packages/expo-cellular/ios"
ExpoHaptics:
:path: "../packages/expo-haptics/ios"
ExpoLinearGradient:
:path: "../packages/expo-linear-gradient/ios"
ExpoModulesCore:
:path: "../packages/expo-modules-core/ios"
ExpoSystemUI:
Expand Down Expand Up @@ -4186,7 +4186,6 @@ SPEC CHECKSUMS:
EXImagePicker: cecd37aa68c3df69fc0599cae92523be84fe6a1d
EXJSONUtils: f515cf71710855d7ba5bfc6752af3b9a6f6aad01
EXKeepAwake: 8aa32396a5972d26e75e538603aad0f032396503
EXLinearGradient: cac7d90c8b8112736a7630cbd7d9dc242e7b075b
EXLocalAuthentication: 4c640e20a308d66224468661a0da434f86435283
EXLocalization: bb38414618b30a177482c9a6f5594ec6eb0898c1
EXLocation: 6d13fb1d4b65ed1b2d2bdd0b0f11417cc0a2656a
Expand All @@ -4199,6 +4198,7 @@ SPEC CHECKSUMS:
Expo: 23ed30f225511b93fa6a0c14d9a3208d6b749060
ExpoCellular: 90940614d45df5b31f281d70a63d92a06fe44af4
ExpoHaptics: c0c014eabfdd1353a908f857f168b01fafd526db
ExpoLinearGradient: 841746b0ef9c771d1f37fa5463f39eb25b6aae77
ExpoModulesCore: daacb24b99b77ec28c0cbc877a574b1f8e6709c9
ExpoSystemUI: 3c969e3db290fcd5edb9c466d585f183d934b421
EXPrint: a224501bbb89072567c58a5127f2d125b8776ea2
Expand Down
2 changes: 2 additions & 0 deletions packages/expo-linear-gradient/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### 💡 Others

- Rewrote code to Swift, removed legacy Objective-C module implementation and changed the pod name to `ExpoLinearGradient`. ([#15168](https://github.com/expo/expo/pull/15168) by [@tsapeta](https://github.com/tsapeta))

## 10.0.1 — 2021-10-01

_This version does not introduce any user-facing changes._
Expand Down
3 changes: 3 additions & 0 deletions packages/expo-linear-gradient/build/LinearGradient.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/expo-linear-gradient/build/LinearGradient.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7bb12d6

Please sign in to comment.