File: file1.mm

package info (click to toggle)
qtcreator 18.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 261,164 kB
  • sloc: cpp: 1,581,559; ansic: 528,781; python: 48,245; xml: 34,678; javascript: 15,495; sh: 2,670; asm: 2,049; perl: 1,039; lex: 737; java: 695; objc: 409; makefile: 111; yacc: 86; cs: 41; ruby: 33; sed: 22
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