Search Agents

  • General search protocol for asynchronous string-based searches.

    See more

    Declaration

    Objective-C

    @protocol SearchAgent <NSObject>

    Swift

    protocol SearchAgent : NSObjectProtocol
  • GoogleImageSearchAgent follows the SearchAgent protocol to get image’s from Google Custom Search. In increments of 10, it will return 100 or less images on a successful search, depending on the maxSearchResult property of the PhotoPersonalizationOption. It searches with safeSearch set to high.

    See more

    Declaration

    Objective-C

    @interface GoogleImageSearchAgent : NSObject <SearchAgent>

    Swift

    class GoogleImageSearchAgent : NSObject, SearchAgent