SearchOnlineService
public class SearchOnlineService
Class to add a key for a search service. The key must be injected before the GoSearchService can be used.
- Example:
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { SearchOnlineService.searchKey = "SEARCH_KEY" [...] return true }
-
Key for a search service.
Declaration
Swift
public static var searchKey: String? { get set }