Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed my README file #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Derek316x
Copy link

No description provided.

}

//check if the two decoded arrays have a common element
if ([decodedCipher1array intersectsSet:decodedCipher2array]){
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice approach! Nice use of a new class. Keep in mind that NSSet is not the same as NSArray. Main difference is that each entry in NSSet is guarenteed to be unique and NSSet is unordered. NSArray can have multiple instances of the same object and is ordered.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the tip on NSSet vs. NSArray!

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

Successfully merging this pull request may close these issues.

2 participants