Refactor code structure for improved readability and maintainability

This commit is contained in:
catlog22
2025-12-12 11:19:58 +08:00
parent 77de8d857b
commit b74a90b416
169 changed files with 29206 additions and 369 deletions

View File

@@ -0,0 +1,14 @@
#import <Foundation/Foundation.h>
#import "Person.h"
@interface UserManager : NSObject
@property (nonatomic, strong) NSMutableArray<Person *> *users;
+ (UserManager *)sharedManager;
- (void)addUser:(Person *)user;
- (Person *)findUserByName:(NSString *)name;
- (void)removeUser:(Person *)user;
- (NSInteger)userCount;
@end