Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

DNA project #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

DNA project #84

wants to merge 1 commit into from

Conversation

p-matvienko
Copy link

if (rnd == 3) randomValue = [NSString stringWithFormat:@"C"];

[self.DNA replaceObjectAtIndex:[[tempArray objectAtIndex:i] intValue] withObject:randomValue];
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не вижу проверки того, был ли уже заменяем данный элемент. а так же проверки того, был ли элемент, на который мы хотим изменить уже использован

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants