foundationkit / FoundationKit

Everything that really should be in Foundation, but isn't. Future-proof with ARC
Other
80 stars 9 forks source link

NK prefix in shorthand functions hides purpose #25

Closed eaigner closed 13 years ago

eaigner commented 13 years ago

Have a look here: 5724a487e9ac940d4136584ecd3b496563b81263

I don't think this is a good idea since the NK prefix doesn't tell the programmer that the expected values are CFRange values, like a NSMaxRange tells him that it expects a NSRange struct.

I'd propose sticking with just e.g. CFMaxRange without the prefix. NKCF is kind of long.

steipete commented 13 years ago

I'm ok with that.

myell0w commented 13 years ago

This already got reverted, closing this issue.