Make more use of convenience methods

FossilOrigin-Name: 89fbd7a1520ecb65809b4c1bd10006ce9bb3a662cb7e7804abaf85d1ee1da63a
This commit is contained in:
Jonathan Schleifer 2025-03-20 13:21:56 +00:00
parent 4bdb80410d
commit 34b31eb77f
44 changed files with 320 additions and 188 deletions

View file

@ -6,6 +6,9 @@ OF_ASSUME_NONNULL_BEGIN
@property (copy, nonatomic) OFString *action;
@property (readonly, nonatomic) bool persisted;
+ (instancetype)aliasWithName:(OFString *)name
action:(OFString *)action
persisted:(bool)persisted;
- (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE;
- (instancetype)initWithName:(OFString *)name
action:(OFString *)action