foundationkit / FoundationKit

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

Constant Definitions #2

Closed myell0w closed 13 years ago

myell0w commented 13 years ago

Constats should start with the Prefix "kNK", e.g. kNKDefaultColor

eaigner commented 13 years ago

+1

MSch commented 13 years ago

Why NK?

eaigner commented 13 years ago

We wanted to name it NSK (NS-Kit) but 3 letters where too long so we stuck to 2 and removed the S.

MSch commented 13 years ago

ah ok, is there some kind of discussion group for planning foundationkit?

eaigner commented 13 years ago

coding kitchen :)

MSch commented 13 years ago

ah wasn't there. too bad

MSch commented 13 years ago

Also shouldn't categories also be prefixed NK? Don't know how the objc runtime processes them but AFAIK if it's undefined for two categories with the same name?

Looking at you https://github.com/foundationkit/FoundationKit/blob/master/FoundationKit/Common/NSData+NKCrypto.m

eaigner commented 13 years ago

You mean the actual names (the ones in braces)? Can do that... np.

MSch commented 13 years ago

Done, thanks @eaigner