Clean up identifiers, use blocks for commands
FossilOrigin-Name: d7661be1b1dc8fda8e4de50f9a9d75907f498e6e07530241fb04be015ca3d9ae
This commit is contained in:
parent
e995b95a84
commit
daa4c19312
25 changed files with 391 additions and 535 deletions
|
@ -5,6 +5,9 @@ OF_ASSUME_NONNULL_BEGIN
|
|||
@interface Identifier: OFObject
|
||||
@property (readonly, copy, nonatomic) OFString *name;
|
||||
|
||||
+ (void)addIdentifier:(__kindof Identifier *)identifier;
|
||||
+ (__kindof Identifier *)identifierForName:(OFString *)name;
|
||||
+ (void)enumerateIdentifiersUsingBlock:(void (^)(__kindof Identifier *))block;
|
||||
- (instancetype)init OF_UNAVAILABLE;
|
||||
- (instancetype)initWithName:(OFString *)name;
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue