Lines Matching refs:NSString
22 @interface NSString : NSObject interface
23 - (NSString *)stringByAppendingFormat:(NSString *)format, ...; argument
24 + (instancetype)stringWithFormat:(NSString *)format, ...;
28 - (NSString *)localizedStringForKey:(NSString *)key
29 value:(NSString *)value
30 table:(NSString *)tableName;
33 @property(nullable, nonatomic, copy) NSString *text;
36 @property(strong) NSString *text;
47 NSString *KHLocalizedString(NSString* key, NSString* comment) { argument
62 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
73 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
84 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
97 - (NSString *)test1:(int)plural {
104 - (NSString *)test2:(int)numOfReminders {
106 …NSString stringWithFormat:@"%@, %@", @"Test", (numOfReminders != 1) ? [NSString stringWithFormat:N…
112 NSString *count;
121 - (NSString *)test4:(int)count {
124 …return [NSString stringWithFormat:KHLocalizedString(@"value.singular",nil), count]; // expected-wa…
126 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn…
130 - (NSString *)test5:(int)count {
134 …return [NSString stringWithFormat:KHLocalizedString(@"value.singular",nil), count]; // expected-wa…
136 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn…
142 - (NSString *)test6:(int)sectionIndex {
160 // - (NSString *)testNotAccountedFor:(int)sectionIndex {
173 // - (NSString *)test7:(int)count {
178 // - (NSString *)test8:(BOOL)plural {
179 // return KHLocalizedString(([NSString stringWithFormat:@"RELATIVE_DATE_%@_%@", ((1 == 1) ? @"F…
185 // NSString* localizedDescriptionKey;
194 // - (NSString *)test10 {
196 // NSString *title = [NSString stringWithFormat:@"%ld Problems", (long) count];
199 // title = [NSString stringWithFormat:@"No Problems Found"];
201 // title = [NSString stringWithFormat:@"%ld Problem", (long) count];