iOS/AdvancedSamples/AdvancedSamples/UserInfo.m [23:74]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return self;
}

@end


@interface UserManager ()

@property (strong, nonatomic) NSMutableArray<UserInfo *> * userInfos;

@end

@implementation UserManager

- (instancetype)init {
    self = [super init];
    if (nil != self) {
        self.userInfos = [NSMutableArray arrayWithCapacity:10];
    }
    return self;
}

- (UserInfo *)addUser:(NSString *)userId withName:(NSString *)userName {
    UserInfo * userInfo = [[UserInfo alloc] initWithId:userId name:userName];
    [self.userInfos addObject:userInfo];
    return userInfo;
}

- (UserInfo *)removeUser:(NSString *)userId {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
        if ([userInfo.userId isEqualToString:userId]) {
            [self.userInfos removeObject:userInfo];
            break;
        }
    }
    return userInfo;
}

- (UserInfo *)findUser:(NSString *)userId {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
        if ([userInfo.userId isEqualToString:userId]) {
            break;
        }
    }
    return userInfo;
}

- (UserInfo *)findUserWithView:(UIView *)view {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



iOS/ScreenSharing/ScreenSharing/UserInfo.m [21:72]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return self;
}

@end


@interface UserManager ()

@property (strong, nonatomic) NSMutableArray<UserInfo *> * userInfos;

@end

@implementation UserManager

- (instancetype)init {
    self = [super init];
    if (nil != self) {
        self.userInfos = [NSMutableArray arrayWithCapacity:10];
    }
    return self;
}

- (UserInfo *)addUser:(NSString *)userId withName:(NSString *)userName {
    UserInfo * userInfo = [[UserInfo alloc] initWithId:userId name:userName];
    [self.userInfos addObject:userInfo];
    return userInfo;
}

- (UserInfo *)removeUser:(NSString *)userId {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
        if ([userInfo.userId isEqualToString:userId]) {
            [self.userInfos removeObject:userInfo];
            break;
        }
    }
    return userInfo;
}

- (UserInfo *)findUser:(NSString *)userId {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
        if ([userInfo.userId isEqualToString:userId]) {
            break;
        }
    }
    return userInfo;
}

- (UserInfo *)findUserWithView:(UIView *)view {
    UserInfo * userInfo = nil;
    for (userInfo in self.userInfos) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



