mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-09 02:24:11 +08:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user