Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

Added max & min method#45

Open
avalanched wants to merge 1 commit intorobb:developmentfrom
avalanched:development
Open

Added max & min method#45
avalanched wants to merge 1 commit intorobb:developmentfrom
avalanched:development

Conversation

@avalanched
Copy link

No description provided.

@robb
Copy link
Owner

robb commented Nov 11, 2013

👍 thanks for submitting!

I'm not sure we should assume that the array contains NSNumbers. Also, what if the passed in block was simply an NSComparator? That way, we could simply define a helper block that invokes -compare: on the elements.

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.

2 participants