mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-05 09:39:09 +08:00
* Reorganized tests to accommodate split into Logic & Application. * Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest. * Pulled majority of testing support classes up into the library and documented them. * Introduced RKApplicationTests app for running the RKTableController UI tests
22 lines
334 B
Objective-C
22 lines
334 B
Objective-C
//
|
|
// RKSearchable.m
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 7/26/11.
|
|
// Copyright (c) 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import "RKSearchable.h"
|
|
|
|
|
|
@implementation RKSearchable
|
|
|
|
@dynamic title;
|
|
@dynamic body;
|
|
|
|
+ (NSArray*)searchableAttributes {
|
|
return [NSArray arrayWithObjects:@"title", @"body", nil];
|
|
}
|
|
|
|
@end
|