Differences From Artifact [dce3b067a2]:
- File src/Alias.m — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 568) [annotate] [blame] [check-ins using]
To Artifact [fe2a009013]:
- File
src/Alias.m
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 578) [annotate] [blame] [check-ins using]
1 2 3 | #import "Alias.h" @implementation Alias | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #import "Alias.h" @implementation Alias + (instancetype)aliasWithName: (OFString *)name action: (OFString *)action persisted: (bool)persisted; { return [[self alloc] initWithName: name action: action persisted: persisted]; } - (instancetype)initWithName: (OFString *)name action: (OFString *)action persisted: (bool)persisted { self = [super initWithName: name]; _action = [action copy]; _persisted = persisted; return self; } @end |