Closed ghost closed 11 years ago
Hi @bavarious, please do feel free to submit a pull request for this if you have a fix. Unfortunately, I'm a bit short of time to work on MBTableGrid at the moment. I've added you as a collaborator on this repo though, so hopefully that will be of some use until I regain some free time.
MBTableGrid
overrides property setters in a category calledOverriddenPropertyAccessors
. When building MBTableGrid, two sets of property setters are generated: those synthesised by the compiler, and those inOverriddenPropertyAccessors
. For example:The Objective-C runtime makes no guarantee that
-[MBTableGrid(OverriddenPropertyAccessors) setDelegate:]
is executed when anMBTableGrid
instance receivessetDelegate:
. In fact, which of those two methods ends up being executed is undefined. The linker issues warnings for this case:Furthermore, there is no need to place those methods in a category.
I suggest removing the
OverriddenPropertyAccessors
category entirely and moving those property setters to the main@implementation
. Other categories in this project are probably unnecessary as well.@mikecsh Let me know if you want me to submit a pull request fixing this issue.