blob: f4f27170b614370a7e65396b4d521393692639b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import "Somefile.h"
@implementation ABC
- (id)a:(B)b {
return 1;
}
@end
@implementation ABC
- (void)xyz;
@end
NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
@"quattuor", @"four", @"quinque", @"five", @"sex", @"six", nil];
NSString *key;
for (key in dictionary) {
NSLog(@"English: %@, Latin: %@", key, [dictionary valueForKey:key]);
}
// Literals
NSArray *a = @[ @"1", @"2" ];
NSDictionary *d = @{ @"key": @"value" };
NSNumber *n1 = @( 1 );
NSNumber *n2 = @( [a length] );
+ (void)f1:(NSString *)s1;
+ (void)f2:(NSString *) s2;
|