Repository navigation
Surpress "multiple methods named" error - #58
Conversation
I realize that `collection` won't always be an NSArray, but the cast will let the compiler know to expect a NSUInteger return type instead of `size_t` which is also a return type a method named `count` inside of JSONKit.
|
Well, actually, Technically, this is the I don't mind the pull request, but you should change it to |
|
Here's the error: |
|
Ah, well, that explains why I didn't find it, and why it never tickled a compiler warning for me. I usually make an effort to crank up the compiler warnings to crazy levels before committing something to the repo, but you can't catch them all. For practical reasons, I only test against the "common" frameworks, and CoreImage doesn't make the cut. :) |
Surpress "multiple methods named" error
|
Haha definitely. Thanks for merging :) |
I realize that
collectionwon't always be an NSArray, but the cast will let the compiler know to expect a NSUInteger return type instead ofsize_twhich is also a return type a method namedcountinside of JSONKit.