#import "SearchThingsAction.h" NS_ASSUME_NONNULL_BEGIN @implementation SearchThingsAction - (QSObject *)searchFor:(QSObject *)directObject { NSString *contents = [directObject displayName]; if (contents) { NSDictionary *parameters = @{@"query": contents}; [ThingsHelper callRoute:ThingsURLRouteSearch withParameters:parameters]; } else { NSLog(@"Could not get the text of the Things object."); } return directObject; } @end NS_ASSUME_NONNULL_END