Vinted GO Picker for iOS
Vinted GO picker (PUDO picker)
Introduction
Library that helps to visualise PUDO points in map.
Installation
SPM
In Xcode File -> Add Packages -> https://github.com/vinted/vgo-picker-iOS
Usage
Programatic UIKit
Starting the picker
let picker = VintedGOPicker(rootViewController: self)
picker.start(pickupPointResponse: pickupPointResponseStub) { selectedPickupPointCode in
print(pickupPointCode)
}
Creating a IUViewController for embedding or presenting manually
let viewController = MapPickerFactory.makeViewController(pickupPointsResponse: pickupPointResponse) { shippingPointCode in
print(pickupPointCode)
}