MBWhitelistCountryFilter
@objc
public class MBWhitelistCountryFilter : NSObject, MBCountryFilter
Class will return an array of countries that match the provided set of country codes.
-
Creates an instance of
MBWhitelistCountryFilter
that will filter out the countries not provided throughMBWhitelistCountryFilter.whitelistedCountryCodes
parameter.Declaration
Swift
@objc public required init(whitelistedCountryCodes: Set<String>)
Parameters
whitelistedCountryCodes
countries that won’t be removed.