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) { category
62 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
73 NSString *bar = @"Unlocalized string"; // no-note
77 NSString *other = @"Other unlocalized string."; // no-note
80 NSString *same = @"Unlocalized string"; // no-note
88 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
99 NSString *bar = NSLocalizedString(@"Hello", @"Comment");
119 - (NSString *)test1:(int)plural {
126 - (NSString *)test2:(int)numOfReminders {
128 …NSString stringWithFormat:@"%@, %@", @"Test", (numOfReminders != 1) ? [NSString stringWithFormat:N…
134 NSString *count;
143 - (NSString *)test4:(int)count {
146 …return [NSString stringWithFormat:KHLocalizedString(@"value.singular",nil), count]; // expected-wa…
148 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn…
152 - (NSString *)test5:(int)count {
156 …return [NSString stringWithFormat:KHLocalizedString(@"value.singular",nil), count]; // expected-wa…
158 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn…
164 - (NSString *)test6:(int)sectionIndex {
182 // - (NSString *)testNotAccountedFor:(int)sectionIndex {
195 // - (NSString *)test7:(int)count {
200 // - (NSString *)test8:(BOOL)plural {
201 // return KHLocalizedString(([NSString stringWithFormat:@"RELATIVE_DATE_%@_%@", ((1 == 1) ? @"F…
207 // NSString* localizedDescriptionKey;
216 // - (NSString *)test10 {
218 // NSString *title = [NSString stringWithFormat:@"%ld Problems", (long) count];
221 // title = [NSString stringWithFormat:@"No Problems Found"];
223 // title = [NSString stringWithFormat:@"%ld Problem", (long) count];