Skip to content

Conversation

@fbriou
Copy link

@fbriou fbriou commented Mar 23, 2015

The views did not correspond to the right menu icons (The order was 0, 3, 2, 1 instead of 0, 1, 2, 3)

So checked your library and I found that it was because of the NSDictionary which was not in the right order when it contains 4 elements (I did not understand why)
I made a correction when browsing the dictionary, using keys instead of : enumerateKeysAndObjectsUsingBlock
I worked like this.

…to the right menu icons (The order was 0, 3, 2, 1 instead of 0, 1, 2, 3)

So checked your library and I found that it was because of the NSDictionary which was not in the right order when it contains 4 elements (I did not understand why)
I made a correction when browsing the dictionary, using keys instead of :  enumerateKeysAndObjectsUsingBlock
I worked like this.
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.

1 participant