My code blows up with an unrecognized selector when I ask for the path from a section header or any of it's superclasses.
It's already fully instantiated at the time... this method is triggered when I click on an actual section header in the gridview.
Do you know why I can't get the path. It's in the documentation that the path is a member of at least some of the classes I've tried querying.
Please see attached images.
Thanks
Wholly forehead slap... how did I miss that. Of course. Time for some remedial programming classes.
Hi David,
self.superclass returns an instance of the class, not base version of your self.
If you're a cell, you just need to call self.path, as that property will automatically be available because of inheritance.
Btw, in the screen shot of the error, notices how it says +[IGGridViewCellBase path], that "+" symbol means you're trying to access a static method called path off of the IGGridViewCellBase class.
Hope this helps clear things up.
-SteveZ