Long has Objective C annoyed me with its decision to use self
instead of this
. Now, I want to end that frustration by placing this code somewhere at or near the start of my program:
#define this self
I know this will compile, and likely will work as I expect. However, I can't help but think there are... unforeseen consequences to this. Is this a safe thing to do, or are there problems that will arise outside the simple problem I'm trying to solve?