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