Differences From Artifact [e5fbce3936]:
- File src/Menu.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: 288) [annotate] [blame] [check-ins using]
To Artifact [106bd88ce2]:
- File
src/Menu.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: 291) [annotate] [blame] [check-ins using]
1 2 3 | #import "Menu.h" @implementation Menu | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #import "Menu.h" @implementation Menu + (instancetype)menuWithName: (OFString *)name { return [[self alloc] initWithName: name]; } - (instancetype)initWithName: (OFString *)name { self = [super init]; _name = [name copy]; _items = [[OFMutableArray alloc] init]; return self; |
︙ | ︙ |