-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathModel.h
74 lines (54 loc) · 1.54 KB
/
Model.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// Model.h
// Alchemic
//
// Created by Derek Clarkson on 11/10/16.
// Copyright © 2016 Derek Clarkson. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Singleton : NSObject
@end
@interface SingletonWithInit:NSObject
@property (nonatomic, strong, readonly) NSString *aString;
-(instancetype) initWithString:(NSString *) aString;
@end
@interface ClassWithString:NSObject
@property (nonatomic, strong, readonly) NSString *aString;
-(instancetype) initWithString:(NSString *) aString;
@end
@interface SingletonWithAcMethod:NSObject
-(ClassWithString *) createSingletonWithString:(NSString *) aString;
@end
@interface SingletonWithName:NSObject
@end
@interface SingletonWithInjection:NSObject
@property (nonatomic, strong, readonly) Singleton *singleton;
@property (nonatomic, assign, readonly) int aInt;
@end
@interface Template:NSObject
@property (nonatomic, assign, readonly) int counter;
@end
@protocol PrimaryProtocol
@end
@interface HiddenSingleton:NSObject<PrimaryProtocol>
@end
@interface PrimarySingleton:NSObject<PrimaryProtocol>
@end
@interface Reference:NSObject
@end
@interface NillableReference:NSObject
@end
@interface WeakReference:NSObject
@end
@interface TransientReference:NSObject
@end
@interface SingletonWithTransient:NSObject
@property (nonatomic, strong, readonly) TransientReference *transientDep;
@end
@interface SingletonWithAcMethodAcArg:NSObject
-(ClassWithString *) createSingletonWithString:(NSString *) aString;
@end
@interface EnableSpecialFeatures : NSObject
@end
@interface Injections : NSObject
@end