File: file1.mm

package info (click to toggle)
qtcreator 3.2.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 104,560 kB
  • sloc: cpp: 767,631; ansic: 108,468; python: 16,917; xml: 14,689; perl: 797; sh: 522; objc: 292; lex: 85; makefile: 62; sed: 12; asm: 5
file content (23 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright header to keep the Qt Insanity Bot happy.

@protocol NSObject
@end

@interface NSObject<NSObject>
@end

@protocol MyProtocol <NSObject>
- (void) someMethod;
@end

@interface MyClass: NSObject <MyProtocol>
@end

@implementation MyClass
- (void) someMethod {}
@end

@implementation MyClass(MyCategory)
- (void) anotherMethod;{}
- (void) anotherMethod:(NSObject*)withAnObject{}
@end