-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Category method names should be prefixed #130
Comments
here, here! and then you could do something like magic record where they add something that lets people use the category methods without a prefix, so you could add this and make it somewhat "backwards compatible", as long as existing users add the flag to remove the prefix. |
It's being taken into consideration. Alex and I have discussed it from time to time. The whole idea of BlocksKit is that Apple would never introduce As far as MagicalRecord, while I like the kit itself, I can't stand behind the auto/sort-of/not-really prefixing. It's a mangling of C. We swizzled base methods on |
I agree with @atomkirk @bdolman - I recently started prefixing categories as it makes it easier to find a particular category (couldn't resist) of categories. But yeah I'm not so much pro swizzling just to get rid of the prefixes. I don't use the MR shorthand, so I can't tell how properly it works, three additional characters isn't so bad :) (MR_) and makes it easier to find the selectors I'm looking for. MR_ |
Any take on this? EDIT: Just to clarify, I'm asking for your views on this if it would be feasible or if I should do a fork. I've been meaning to add some more stuff to BlocksKit as well. |
It's going to happen, just not during exam season. Sorry. But soon! Thanks for the support. |
I encourage you to fork if you have any extra features to have, but method prefixing of the whole shebang is on the roadmap for 2.0. We'll also intend to do a lot more safety checking for how A2DD's interference affects private uses (i.e., UIAlertView subclasses). |
Completed in next by #151. |
What happens if Apple introduces
-[NSDictionary map:]
in iOS 7?http://cocoamanifest.net/articles/2011/06/clash-of-the-categories.html
With such common method names, it's not unlikely that this could happen. Ideally you could name it
bk_map
instead of justmap
. Not as elegant, but 100x safer.The text was updated successfully, but these errors were encountered: