-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SSDK-544] Replace supportSBS binary with expandable ApiType enum #162
Conversation
case .geocoding: | ||
return .geocoding | ||
case .SBS: | ||
return .SBS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the significance of the "." in ".SBS"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just Swift syntax for referencing an enum case, and the type of the enum is inferred from the return value of the function's signature.
…h arguments com.mapbox.mapboxsearch.enableSBS - Removed in beta.33 - More thoroughly parameterized in 2.0.0-rc.2 / SSDK-544 / PR #162
…h arguments com.mapbox.mapboxsearch.enableSBS (#195) ### Description - Removed in beta.33 - More thoroughly parameterized in 2.0.0-rc.2 / SSDK-544 / PR #162 #### Screenshots | Before | After | | -- | -- | | <img width="1254" alt="Screenshot 2024-03-20 at 13 47 09" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/ddd96362-00d9-4dba-b08a-697be1389124"> | <img width="1254" alt="Screenshot 2024-03-20 at 13 46 21" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/86be713e-5d44-4fe2-bca7-c102ba78a0d6"> |
…h arguments com.mapbox.mapboxsearch.enableSBS (#195) ### Description - Removed in beta.33 - More thoroughly parameterized in 2.0.0-rc.2 / SSDK-544 / PR #162 #### Screenshots | Before | After | | -- | -- | | <img width="1254" alt="Screenshot 2024-03-20 at 13 47 09" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/ddd96362-00d9-4dba-b08a-697be1389124"> | <img width="1254" alt="Screenshot 2024-03-20 at 13 46 21" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/86be713e-5d44-4fe2-bca7-c102ba78a0d6"> |
Description
Fixes SSDK-544
supportSBS: Bool = false
parameter toapiType: ApiType = .SBS
.Checklist
CHANGELOG