SCSArticleQueryListViewControllerDelegate
@protocol SCSArticleQueryListViewControllerDelegate <
SCSCategoryViewControllerDelegate>
Delegate protocol to allow the receiver to interact with, and control the experience of, a category view controller.
-
Informs the delegate when a category is assigned and it begins to load.
Declaration
Objective-C
- (void)articleQueryListViewController: (nonnull SCSArticleQueryListViewController *)queryListViewController articleQueryDidChange:(nullable SCSArticleQuery *)newQuery fromOldQuery:(nullable SCSArticleQuery *)oldQuery;
Swift
optional func articleQueryListViewController(_ queryListViewController: SCSArticleQueryListViewController, articleQueryDidChange newQuery: SCSArticleQuery?, fromOldQuery oldQuery: SCSArticleQuery?)
Parameters
queryListViewController
The SCSArticleQueryListViewController instance.
newQuery
The new query being set.
oldQuery
The old query that is being replaced.