NSIntersectionRange with a 0 length argument
In Object开发者_Python百科ive C, when using the function NSIntersectionRange with one of the arguments being zero length, does the result equal the other argument? Didn't see this when I searched so I wanted to clarify it for others.
Yes, it returns the argument that was not 0 length.
精彩评论