libextobjc
libextobjc copied to clipboard
idea: Abstract class and methods
In order to mark a class as abstract, I have to add the unavailable attribute to the +[Class alloc] and +[Class new] methods. I wonder if there is a better, faster way to achieve this with libextobjc?
As for methods, I simply add an exception or assertion.
Hmm, this is pretty tricky to do, especially if the class needs to define abstract constructors as well.
I'm mostly focused on Swift these days, so I doubt I'll get to this, but I'll leave it open for posterity. :smile:
+1